From d43c7603bff9553283b111934b36412bd8721b0e Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 30 Apr 2016 22:21:00 +0200 Subject: more work on layout editors --- Zotlabs/Module/Editlayout.php | 6 +++--- Zotlabs/Module/Layouts.php | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'Zotlabs') diff --git a/Zotlabs/Module/Editlayout.php b/Zotlabs/Module/Editlayout.php index de3117e57..2d20de52d 100644 --- a/Zotlabs/Module/Editlayout.php +++ b/Zotlabs/Module/Editlayout.php @@ -113,17 +113,17 @@ class Editlayout extends \Zotlabs\Web\Controller { 'button' => t('Edit'), 'hide_voting' => true, 'hide_future' => true, - 'hide_location' => true, + 'hide_expire' => true, 'hide_preview' => true, 'ptyp' => $itm[0]['obj_type'], 'body' => undo_post_tagging($itm[0]['body']), 'post_id' => $post_id, 'title' => htmlspecialchars($itm[0]['title'],ENT_COMPAT,'UTF-8'), 'pagetitle' => $layout_title, + 'ptlabel' => t('Layout Name'), + 'placeholdertitle' => t('Layout Description (Optional)'), 'showacl' => false, 'profile_uid' => intval($owner), - 'catsenabled' => $catsenabled, - 'hide_expire' => true, ); $editor = status_editor($a, $x); diff --git a/Zotlabs/Module/Layouts.php b/Zotlabs/Module/Layouts.php index 50cb401bc..ce84b6bf1 100644 --- a/Zotlabs/Module/Layouts.php +++ b/Zotlabs/Module/Layouts.php @@ -118,10 +118,12 @@ class Layouts extends \Zotlabs\Web\Controller { 'webpage' => ITEM_TYPE_PDL, 'is_owner' => true, 'nickname' => \App::$profile['channel_address'], - 'bang' => '', 'showacl' => false, 'visitor' => false, - 'nopreview' => 1, + 'hide_voting' => true, + 'hide_future' => true, + 'hide_expire' => true, + 'hide_preview'=> true, 'ptlabel' => t('Layout Name'), 'profile_uid' => intval($owner), 'expanded' => true, -- cgit v1.2.3