aboutsummaryrefslogtreecommitdiffstats
path: root/mod/webpages.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/webpages.php')
-rw-r--r--mod/webpages.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/webpages.php b/mod/webpages.php
index 081297eb9..559b176fc 100644
--- a/mod/webpages.php
+++ b/mod/webpages.php
@@ -41,6 +41,10 @@ function webpages_content(&$a) {
return;
}
+ $mimetype = get_config('system','page_mimetype');
+ if(! $mimetype)
+ $mimetype = 'choose';
+
// Create a status editor (for now - we'll need a WYSIWYG eventually) to create pages
// Nickname is set to the observers xchan, and profile_uid to the owners. This lets you post pages at other people's channels.
require_once ('include/conversation.php');
@@ -52,8 +56,7 @@ require_once ('include/conversation.php');
'bang' => (($group || $cid) ? '!' : ''),
'visitor' => 'block',
'profile_uid' => intval($owner),
- 'plaintext' => 1,
- 'mimeselect' => 1,
+ 'mimetype' => $mimetype,
);
$o .= status_editor($a,$x);