aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Permcats.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-01-07 19:14:14 +0000
committerMario <mario@mariovavti.com>2022-01-07 19:14:14 +0000
commit5e811819e2738bd4de2869c9b99601219631ff0d (patch)
tree037e3e96c7792c021aa4c551c3a20678855885e3 /Zotlabs/Widget/Permcats.php
parentf1c0034a18482ff85a1979fce94f3abd8622af0b (diff)
downloadvolse-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/Permcats.php')
-rw-r--r--Zotlabs/Widget/Permcats.php6
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>&nbsp;' . t('Add new role'),
+ 'url' => z_root() . '/permcats',
+ 'active' => ''
+ ];
+
/* get role members based on permissions
$test = $pcatlist[$active]['perms'];