aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-12-19 01:48:47 -0800
committerfriendica <info@friendica.com>2014-12-19 01:48:47 -0800
commit6d8214f96bfc8b981fae7c0ffe0cba68206dd86b (patch)
tree10d9af3cbe2e4999068649d4e01e1124a48c35b2
parent26105b53d4ce5fcbacfe8d10d540121a89849d34 (diff)
downloadvolse-hubzilla-6d8214f96bfc8b981fae7c0ffe0cba68206dd86b.tar.gz
volse-hubzilla-6d8214f96bfc8b981fae7c0ffe0cba68206dd86b.tar.bz2
volse-hubzilla-6d8214f96bfc8b981fae7c0ffe0cba68206dd86b.zip
provide link to help for channel permission roles when creating a channel
-rw-r--r--mod/new_channel.php2
-rw-r--r--view/css/mod_new_channel.css4
-rwxr-xr-xview/tpl/new_channel.tpl1
3 files changed, 7 insertions, 0 deletions
diff --git a/mod/new_channel.php b/mod/new_channel.php
index 8329f0ec3..185fc7c28 100644
--- a/mod/new_channel.php
+++ b/mod/new_channel.php
@@ -116,6 +116,8 @@ function new_channel_content(&$a) {
'$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'),
'$nickname' => $nickname,
diff --git a/view/css/mod_new_channel.css b/view/css/mod_new_channel.css
index 068f4f3a5..397601635 100644
--- a/view/css/mod_new_channel.css
+++ b/view/css/mod_new_channel.css
@@ -22,6 +22,10 @@ h2 {
width: 275px;
}
+.newchannel-role-morehelp {
+ float: left;
+ width: 32px;
+}
.newchannel-input {
float: left;
width: 275px;
diff --git a/view/tpl/new_channel.tpl b/view/tpl/new_channel.tpl
index ee07ce1df..241846eb4 100755
--- a/view/tpl/new_channel.tpl
+++ b/view/tpl/new_channel.tpl
@@ -8,6 +8,7 @@
<label for="newchannel-role" id="label-newchannel-role" class="newchannel-label" >{{$label_role}}</label>
{{$role_select}}
+ <div class="newchannel-role-morehelp"><a href="help/roles" title="{{$what_is_role}}" target="_blank">{{$questionmark}}</a></div>
<div id="newchannel-role-end" class="newchannel-field-end"></div>