aboutsummaryrefslogtreecommitdiffstats
path: root/mod/new_channel.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/new_channel.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/new_channel.php')
-rw-r--r--mod/new_channel.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/mod/new_channel.php b/mod/new_channel.php
index 185fc7c28..047048f0a 100644
--- a/mod/new_channel.php
+++ b/mod/new_channel.php
@@ -115,11 +115,8 @@ function new_channel_content(&$a) {
'$nick_desc' => t('Your nickname will be used to create an easily remembered channel address (like an email address) which you can share with others.'),
'$label_import' => t('Or <a href="import">import an existing channel</a> from another location'),
'$name' => $name,
- '$label_role' => t('Channel Type'),
- '$questionmark' => t('?'),
- '$what_is_role' => t('What is this?'),
- '$help_role' => t('Please choose a channel type (such as social networking or community forum) and privacy requirements so we can select the best permissions for you'),
- '$role_select' => role_selector(($privacy_role) ? $privacy_role : 'social'),
+ '$help_role' => t('Please choose a channel type (such as social networking or community forum) and privacy requirements so we can select the best permissions for you'),
+ '$role' => array('permissions_role' , t('Channel Type'), ($privacy_role) ? $privacy_role : 'social', '<a href="help/roles" target="_blank">'.t('Read more about roles').'</a>',get_roles()),
'$nickname' => $nickname,
'$submit' => t('Create')
));