css fixes and remove expert mode for block page content type
This commit is contained in:
@@ -78,16 +78,11 @@ function blocks_content(&$a) {
|
||||
return;
|
||||
}
|
||||
|
||||
$mimetype = (($_REQUEST['mimetype']) ? $_REQUEST['mimetype'] : get_pconfig($owner,'system','page_mimetype'));
|
||||
|
||||
if(feature_enabled($owner,'expert')) {
|
||||
$mimetype = (($_REQUEST['mimetype']) ? $_REQUEST['mimetype'] : get_pconfig($owner,'system','page_mimetype'));
|
||||
if(! $mimetype)
|
||||
$mimetype = 'choose';
|
||||
if(! $mimetype) {
|
||||
$mimetype = 'choose';
|
||||
}
|
||||
else {
|
||||
$mimetype = 'text/bbcode';
|
||||
}
|
||||
|
||||
|
||||
$x = array(
|
||||
'webpage' => ITEM_BUILDBLOCK,
|
||||
|
||||
@@ -75,9 +75,6 @@ function webpages_content(&$a) {
|
||||
if(! $mimetype) {
|
||||
$mimetype = 'choose';
|
||||
}
|
||||
else {
|
||||
$mimetype = 'text/bbcode';
|
||||
}
|
||||
|
||||
$layout = (($_REQUEST['layout']) ? $_REQUEST['layout'] : get_pconfig($owner,'system','page_layout'));
|
||||
if(! $layout)
|
||||
|
||||
Reference in New Issue
Block a user