aboutsummaryrefslogtreecommitdiffstats
path: root/mod/blocks.php
diff options
context:
space:
mode:
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'),