diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-04-24 22:37:22 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-04-24 22:37:22 +0200 |
commit | b7f6cceaea464df81fac872d2d7b863bd02746de (patch) | |
tree | a321a4c6082329e947361fcd597bb5ea498dd704 /mod/blocks.php | |
parent | 2583cab469561cc910001196fbbbbafc5c1920ef (diff) | |
download | volse-hubzilla-b7f6cceaea464df81fac872d2d7b863bd02746de.tar.gz volse-hubzilla-b7f6cceaea464df81fac872d2d7b863bd02746de.tar.bz2 volse-hubzilla-b7f6cceaea464df81fac872d2d7b863bd02746de.zip |
provide block titles in blocklist
Diffstat (limited to 'mod/blocks.php')
-rw-r--r-- | mod/blocks.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/blocks.php b/mod/blocks.php index 5df6aa1bc..23a66f8d9 100644 --- a/mod/blocks.php +++ b/mod/blocks.php @@ -128,7 +128,8 @@ function blocks_content(&$a) { ); $pages[$rr['iid']][] = array( 'url' => $rr['iid'], - 'title' => $rr['sid'], + 'name' => $rr['sid'], + 'title' => $rr['title'], 'created' => $rr['created'], 'edited' => $rr['edited'], 'bb_element' => '[element]' . base64url_encode(json_encode($element_arr)) . '[/element]' @@ -143,6 +144,7 @@ function blocks_content(&$a) { '$baseurl' => $url, '$title' => t('Blocks'), '$name' => t('Block Name'), + '$blocktitle' => t('Block Title'), '$created' => t('Created'), '$edited' => t('Edited'), '$create' => t('Create'), |