aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-28 17:48:42 -0700
committerfriendica <info@friendica.com>2013-10-28 17:48:42 -0700
commit1380bee82caad1dce6ffda7c35cb4ce3e94911f2 (patch)
treebfdd2d502202111c2216ad8ece2a223abc005526 /mod
parent1bf6591e1b98ef6704ee1bab72bad7dca7ab301f (diff)
downloadvolse-hubzilla-1380bee82caad1dce6ffda7c35cb4ce3e94911f2.tar.gz
volse-hubzilla-1380bee82caad1dce6ffda7c35cb4ce3e94911f2.tar.bz2
volse-hubzilla-1380bee82caad1dce6ffda7c35cb4ce3e94911f2.zip
Comanche documentation and some cleanup of layout page (including link to doco) and a few other webpage related cleanups
Diffstat (limited to 'mod')
-rw-r--r--mod/blocks.php1
-rw-r--r--mod/layouts.php15
2 files changed, 15 insertions, 1 deletions
diff --git a/mod/blocks.php b/mod/blocks.php
index 170d37256..4604790c3 100644
--- a/mod/blocks.php
+++ b/mod/blocks.php
@@ -62,6 +62,7 @@ require_once ('include/conversation.php');
'bang' => (($group || $cid) ? '!' : ''),
'visitor' => 'block',
'mimetype' => 'choose',
+ 'ptlabel' => t('Block Name'),
'profile_uid' => intval($owner),
);
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),
);