diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-04-30 22:21:00 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-04-30 22:21:00 +0200 |
commit | d43c7603bff9553283b111934b36412bd8721b0e (patch) | |
tree | d33952663bb99efb3b480a9f290674a1ae40ac64 /Zotlabs | |
parent | c96b20c55969f96ba191d40908cf005b7f6a58da (diff) | |
download | volse-hubzilla-d43c7603bff9553283b111934b36412bd8721b0e.tar.gz volse-hubzilla-d43c7603bff9553283b111934b36412bd8721b0e.tar.bz2 volse-hubzilla-d43c7603bff9553283b111934b36412bd8721b0e.zip |
more work on layout editors
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Editlayout.php | 6 | ||||
-rw-r--r-- | Zotlabs/Module/Layouts.php | 6 |
2 files changed, 7 insertions, 5 deletions
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, |