aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-04-25 22:35:24 +0200
committerMario Vavti <mario@mariovavti.com>2015-04-25 22:35:24 +0200
commit31b5b06e42415ffaf98ca09ca8641ae64e67280f (patch)
tree1b7e0ea2df7bc55c8e23458f38a3f2ec64afe726 /mod
parente01873b4cf3c217f7ee0baafbee1ba9dd42e0408 (diff)
downloadvolse-hubzilla-31b5b06e42415ffaf98ca09ca8641ae64e67280f.tar.gz
volse-hubzilla-31b5b06e42415ffaf98ca09ca8641ae64e67280f.tar.bz2
volse-hubzilla-31b5b06e42415ffaf98ca09ca8641ae64e67280f.zip
Provide webpage layout description
Diffstat (limited to 'mod')
-rw-r--r--mod/layouts.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/layouts.php b/mod/layouts.php
index 57300777a..b1e4cd345 100644
--- a/mod/layouts.php
+++ b/mod/layouts.php
@@ -120,7 +120,8 @@ function layouts_content(&$a) {
'nopreview' => 1,
'ptlabel' => t('Layout Name'),
'profile_uid' => intval($owner),
- 'expanded' => true
+ 'expanded' => true,
+ 'placeholdertitle' => t('Layout Description')
);
if($_REQUEST['title'])
@@ -154,7 +155,8 @@ function layouts_content(&$a) {
);
$pages[$rr['iid']][] = array(
'url' => $rr['iid'],
- 'title' => $rr['sid'],
+ 'title' => $rr['sid'],
+ 'descr' => $rr['title'],
'mid' => $rr['mid'],
'created' => $rr['created'],
'edited' => $rr['edited'],
@@ -173,6 +175,7 @@ function layouts_content(&$a) {
'$editor' => $editor,
'$baseurl' => $url,
'$name' => t('Layout Name'),
+ '$descr' => t('Layout Description'),
'$created' => t('Created'),
'$edited' => t('Edited'),
'$edit' => t('Edit'),