aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Editlayout.php6
-rw-r--r--Zotlabs/Module/Layouts.php6
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,