diff options
Diffstat (limited to 'mod/layouts.php')
-rw-r--r-- | mod/layouts.php | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/mod/layouts.php b/mod/layouts.php index cd6e61f88..b1f53d4d8 100644 --- a/mod/layouts.php +++ b/mod/layouts.php @@ -47,6 +47,17 @@ function layouts_content(&$a) { $a->set_widget('design',design_tools()); } + $tabs = array( + array( + 'label' => t('Layout Help'), + 'url' => 'help/Comanche', + 'sel' => '', + 'title' => t('Help with this feature'), + 'id' => 'layout-help-tab', + )); + + + $o .= replace_macros(get_markup_template('common_tabs.tpl'),array('$tabs' => $tabs)); // Create a status editor (for now - we'll need a WYSIWYG eventually) to create pages @@ -58,7 +69,9 @@ require_once ('include/conversation.php'); 'nickname' => $a->profile['channel_address'], 'lockstate' => (($group || $cid || $channel['channel_allow_cid'] || $channel['channel_allow_gid'] || $channel['channel_deny_cid'] || $channel['channel_deny_gid']) ? 'lock' : 'unlock'), 'bang' => (($group || $cid) ? '!' : ''), - 'visitor' => 'block', + 'visitor' => 'none', + 'nopreview' => 1, + 'ptlabel' => t('Layout Name'), 'profile_uid' => intval($owner), ); |