diff options
-rw-r--r-- | mod/new_channel.php | 14 | ||||
-rwxr-xr-x | view/tpl/new_channel.tpl | 2 |
2 files changed, 4 insertions, 12 deletions
diff --git a/mod/new_channel.php b/mod/new_channel.php index 89a03714b..577137c37 100644 --- a/mod/new_channel.php +++ b/mod/new_channel.php @@ -8,7 +8,6 @@ function new_channel_init(&$a) { $cmd = ((argc() > 1) ? argv(1) : ''); - if($cmd === 'autofill.json') { require_once('library/urlify/URLify.php'); $result = array('error' => false, 'message' => ''); @@ -59,7 +58,6 @@ function new_channel_init(&$a) { } - function new_channel_post(&$a) { $arr = $_POST; @@ -94,12 +92,6 @@ function new_channel_post(&$a) { } - - - - - - function new_channel_content(&$a) { $acc = $a->get_account(); @@ -136,9 +128,9 @@ function new_channel_content(&$a) { $role = array('permissions_role' , t('Channel role and privacy'), ($privacy_role) ? $privacy_role : 'social', t('Select a channel role with your privacy requirements.') . ' <a href="help/roles" target="_blank">' . t('Read more about roles') . '</a>',get_roles()); $o = replace_macros(get_markup_template('new_channel.tpl'), array( - '$title' => t('Create a Channel'), - '$desc' => t('A channel is your identity on the grid. It can represent a person, a blog, or a forum to name a few. Channels can make connections with other channels to share information with highly detailed permissions.'), - '$label_import' => t('Or <a href="import">import an existing channel</a> from another location'), + '$title' => t('Create Channel'), + '$desc' => t('A channel is your identity on this network. It can represent a person, a blog, or a forum to name a few. Channels can make connections with other channels to share information with highly detailed permissions.'), + '$label_import' => t('or <a href="import">import an existing channel</a> from another location.'), '$name' => $name, '$role' => $role, '$default_role' => $default_role, diff --git a/view/tpl/new_channel.tpl b/view/tpl/new_channel.tpl index 9383e0902..f5e97ff27 100755 --- a/view/tpl/new_channel.tpl +++ b/view/tpl/new_channel.tpl @@ -26,7 +26,7 @@ <div id="newchannel-nickname-feedback" class="newchannel-feedback"></div> <div id="nick-spinner"></div> - <input type="submit" name="submit" id="newchannel-submit-button" value="{{$submit}}" /> + <button class="btn btn-primary" type="submit" name="submit" id="newchannel-submit-button" value="{{$submit}}">{{$submit}}</button> <div id="newchannel-submit-end" class="clear"></div> <div id="newchannel-import-link" class="descriptive-paragraph" >{{$label_import}}</div> |