aboutsummaryrefslogtreecommitdiffstats
path: root/mod/settings.php
diff options
context:
space:
mode:
authorStefan Parviainen <saparvia@caterva.eu>2015-01-01 15:54:16 +0100
committerStefan Parviainen <saparvia@caterva.eu>2015-01-01 15:54:16 +0100
commit85e76773a04995884e798a89cc285f48377bcb62 (patch)
treec1ead5390bc85fda87a406971a5efe6191ca0785 /mod/settings.php
parent686b6ee1182c09969e2817b53825a78975c75bf5 (diff)
downloadvolse-hubzilla-85e76773a04995884e798a89cc285f48377bcb62.tar.gz
volse-hubzilla-85e76773a04995884e798a89cc285f48377bcb62.tar.bz2
volse-hubzilla-85e76773a04995884e798a89cc285f48377bcb62.zip
Use grouped select field for role selection
Diffstat (limited to 'mod/settings.php')
-rw-r--r--mod/settings.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/mod/settings.php b/mod/settings.php
index bce04e436..6f5c4287b 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -1042,9 +1042,7 @@ function settings_content(&$a) {
'$aclselect' => populate_acl($perm_defaults,false),
'$suggestme' => $suggestme,
'$group_select' => $group_select,
- '$role_lbl' => t('Channel permissions category:'),
-
- '$role_select' => role_selector($permissions_role),
+ '$role' => array('permissions_role' , t('Channel permissions category:'), $permissions_role, '', get_roles()),
'$profile_in_dir' => $profile_in_dir,
'$hide_friends' => $hide_friends,