diff options
author | mrjive <mrjive@mrjive.it> | 2015-04-15 11:19:25 +0200 |
---|---|---|
committer | mrjive <mrjive@mrjive.it> | 2015-04-15 11:19:25 +0200 |
commit | 7b467d6ca7a27bd83388627f16df96b47963c42f (patch) | |
tree | 76c7ba2286bb8cb3c031137f394cc3bd02b84c73 /mod/webpages.php | |
parent | 865b602cf8b4eff5e7da00362df95e52e2fe4f77 (diff) | |
parent | 834044b15bf4cd3f436f065449cbc0ed76b4de93 (diff) | |
download | volse-hubzilla-7b467d6ca7a27bd83388627f16df96b47963c42f.tar.gz volse-hubzilla-7b467d6ca7a27bd83388627f16df96b47963c42f.tar.bz2 volse-hubzilla-7b467d6ca7a27bd83388627f16df96b47963c42f.zip |
Merge pull request #1 from redmatrix/master
2015-04-15_1
Diffstat (limited to 'mod/webpages.php')
-rw-r--r-- | mod/webpages.php | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/mod/webpages.php b/mod/webpages.php index b4c4e6e4e..e2b5eb3a4 100644 --- a/mod/webpages.php +++ b/mod/webpages.php @@ -70,13 +70,10 @@ function webpages_content(&$a) { return; } - if(feature_enabled($owner,'expert') || $a->is_sys) { - $mimetype = (($_REQUEST['mimetype']) ? $_REQUEST['mimetype'] : get_pconfig($owner,'system','page_mimetype')); - if(! $mimetype) - $mimetype = 'choose'; - } - else { - $mimetype = 'text/bbcode'; + $mimetype = (($_REQUEST['mimetype']) ? $_REQUEST['mimetype'] : get_pconfig($owner,'system','page_mimetype')); + + if(! $mimetype) { + $mimetype = 'choose'; } $layout = (($_REQUEST['layout']) ? $_REQUEST['layout'] : get_pconfig($owner,'system','page_layout')); |