aboutsummaryrefslogtreecommitdiffstats
path: root/mod/blocks.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-04-22 10:31:36 +0200
committerMario Vavti <mario@mariovavti.com>2015-04-22 10:31:36 +0200
commitb4dff3a9ff16811ea0310f5dbf4d7559c97835b0 (patch)
tree420f90afab7724b60128e2e8df5233b17e3a4a05 /mod/blocks.php
parente807231e9192ff43ff2ee4ec96260dbb44a25cd2 (diff)
downloadvolse-hubzilla-b4dff3a9ff16811ea0310f5dbf4d7559c97835b0.tar.gz
volse-hubzilla-b4dff3a9ff16811ea0310f5dbf4d7559c97835b0.tar.bz2
volse-hubzilla-b4dff3a9ff16811ea0310f5dbf4d7559c97835b0.zip
provide headings for blocks and layouts
Diffstat (limited to 'mod/blocks.php')
-rw-r--r--mod/blocks.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/mod/blocks.php b/mod/blocks.php
index e0f32f4f1..b74b034e5 100644
--- a/mod/blocks.php
+++ b/mod/blocks.php
@@ -95,6 +95,7 @@ function blocks_content(&$a) {
'mimetype' => $mimetype,
'ptlabel' => t('Block Name'),
'profile_uid' => intval($owner),
+ 'expanded' => true,
);
if($_REQUEST['title'])
@@ -106,7 +107,7 @@ function blocks_content(&$a) {
- $o .= status_editor($a,$x);
+ $editor = status_editor($a,$x);
$r = q("select * from item_id where uid = %d and service = 'BUILDBLOCK' order by sid asc",
intval($owner)
@@ -126,7 +127,10 @@ function blocks_content(&$a) {
$o .= replace_macros(get_markup_template('blocklist.tpl'), array(
'$baseurl' => $url,
+ '$title' => t('Blocks'),
+ '$create' => t('Create'),
'$edit' => t('Edit'),
+ '$editor' => $editor,
'$pages' => $pages,
'$channel' => $which,
'$view' => t('View'),