diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-05-07 23:05:48 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-05-07 23:05:48 +0200 |
commit | 75128e8f68e829ad9e3670dac82f075d9632dba4 (patch) | |
tree | d78696df4c56398ae0b3f2ca165b70e9d33211db /Zotlabs/Module/Blocks.php | |
parent | b08fc746d81e9e486988439ae9a51918e9f9ee37 (diff) | |
download | volse-hubzilla-75128e8f68e829ad9e3670dac82f075d9632dba4.tar.gz volse-hubzilla-75128e8f68e829ad9e3670dac82f075d9632dba4.tar.bz2 volse-hubzilla-75128e8f68e829ad9e3670dac82f075d9632dba4.zip |
make editblock use status_editor()
Diffstat (limited to 'Zotlabs/Module/Blocks.php')
-rw-r--r-- | Zotlabs/Module/Blocks.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Zotlabs/Module/Blocks.php b/Zotlabs/Module/Blocks.php index 192a4aded..ed702befb 100644 --- a/Zotlabs/Module/Blocks.php +++ b/Zotlabs/Module/Blocks.php @@ -82,11 +82,7 @@ class Blocks extends \Zotlabs\Web\Controller { } $mimetype = (($_REQUEST['mimetype']) ? $_REQUEST['mimetype'] : get_pconfig($owner,'system','page_mimetype')); - - if(! $mimetype) { - $mimetype = 'choose'; - } - + $x = array( 'webpage' => ITEM_TYPE_BLOCK, 'is_owner' => true, @@ -96,6 +92,8 @@ class Blocks extends \Zotlabs\Web\Controller { 'showacl' => false, 'visitor' => true, 'mimetype' => $mimetype, + 'mimeselect' => true, + 'hide_location' => true, 'ptlabel' => t('Block Name'), 'profile_uid' => intval($owner), 'expanded' => true, |