diff options
author | Mario <mario@mariovavti.com> | 2022-01-07 19:14:14 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-01-07 19:14:14 +0000 |
commit | 5e811819e2738bd4de2869c9b99601219631ff0d (patch) | |
tree | 037e3e96c7792c021aa4c551c3a20678855885e3 /Zotlabs/Widget | |
parent | f1c0034a18482ff85a1979fce94f3abd8622af0b (diff) | |
download | volse-hubzilla-5e811819e2738bd4de2869c9b99601219631ff0d.tar.gz volse-hubzilla-5e811819e2738bd4de2869c9b99601219631ff0d.tar.bz2 volse-hubzilla-5e811819e2738bd4de2869c9b99601219631ff0d.zip |
add link to create new contact roles
Diffstat (limited to 'Zotlabs/Widget')
-rw-r--r-- | Zotlabs/Widget/Permcats.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Zotlabs/Widget/Permcats.php b/Zotlabs/Widget/Permcats.php index 97ae6cba2..a908f6220 100644 --- a/Zotlabs/Widget/Permcats.php +++ b/Zotlabs/Widget/Permcats.php @@ -31,6 +31,12 @@ class Permcats { if($active_role) { + $roles[] = [ + 'name' => '<i class="fa fa-plus"></i> ' . t('Add new role'), + 'url' => z_root() . '/permcats', + 'active' => '' + ]; + /* get role members based on permissions $test = $pcatlist[$active]['perms']; |