diff options
Diffstat (limited to 'mod/editwebpage.php')
-rw-r--r-- | mod/editwebpage.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/editwebpage.php b/mod/editwebpage.php index 6ce5a9493..66137c474 100644 --- a/mod/editwebpage.php +++ b/mod/editwebpage.php @@ -71,8 +71,11 @@ function editwebpage_content(&$a) { if($mimetype != 'text/bbcode') $plaintext = true; - $mimeselect = '<input type="hidden" name="mimetype" value="' . $mimetype . '" />'; - + + if(get_config('system','page_mimetype')) + $mimeselect = '<input type="hidden" name="mimetype" value="' . $mimetype . '" />'; + else + $mimeselect = mimetype_select($item[0]['uid'],$mimetype); $layout = get_config('system','page_layout'); if($layout) |