From 31b5b06e42415ffaf98ca09ca8641ae64e67280f Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 25 Apr 2015 22:35:24 +0200 Subject: Provide webpage layout description --- mod/layouts.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mod') 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'), -- cgit v1.2.3