aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Blocks.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-05-07 23:05:48 +0200
committerMario Vavti <mario@mariovavti.com>2016-05-07 23:05:48 +0200
commit75128e8f68e829ad9e3670dac82f075d9632dba4 (patch)
treed78696df4c56398ae0b3f2ca165b70e9d33211db /Zotlabs/Module/Blocks.php
parentb08fc746d81e9e486988439ae9a51918e9f9ee37 (diff)
downloadvolse-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.php8
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,