make weblink and attach button hideable and some minor fixes

This commit is contained in:
Mario Vavti
2016-05-01 15:45:42 +02:00
parent 84d93cca6e
commit fa80a5c113
4 changed files with 24 additions and 5 deletions

View File

@@ -114,6 +114,9 @@ class Editlayout extends \Zotlabs\Web\Controller {
'hide_voting' => true,
'hide_future' => true,
'hide_expire' => true,
'hide_location' => true,
'hide_weblink' => true,
'hide_attach' => true,
'hide_preview' => true,
'ptyp' => $itm[0]['obj_type'],
'body' => undo_post_tagging($itm[0]['body']),

View File

@@ -117,11 +117,13 @@ class Layouts extends \Zotlabs\Web\Controller {
'is_owner' => true,
'nickname' => \App::$profile['channel_address'],
'showacl' => false,
'visitor' => false,
'hide_voting' => true,
'hide_future' => true,
'hide_expire' => true,
'hide_preview'=> true,
'hide_location' => true,
'hide_weblink' => true,
'hide_attach' => true,
'hide_preview' => true,
'ptlabel' => t('Layout Name'),
'profile_uid' => intval($owner),
'expanded' => true,