css fixes and remove expert mode for block page content type
This commit is contained in:
parent
2001ad94bd
commit
953819e7da
@ -78,16 +78,11 @@ function blocks_content(&$a) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$mimetype = (($_REQUEST['mimetype']) ? $_REQUEST['mimetype'] : get_pconfig($owner,'system','page_mimetype'));
|
||||||
|
|
||||||
if(feature_enabled($owner,'expert')) {
|
if(! $mimetype) {
|
||||||
$mimetype = (($_REQUEST['mimetype']) ? $_REQUEST['mimetype'] : get_pconfig($owner,'system','page_mimetype'));
|
$mimetype = 'choose';
|
||||||
if(! $mimetype)
|
|
||||||
$mimetype = 'choose';
|
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
$mimetype = 'text/bbcode';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
$x = array(
|
$x = array(
|
||||||
'webpage' => ITEM_BUILDBLOCK,
|
'webpage' => ITEM_BUILDBLOCK,
|
||||||
|
@ -75,9 +75,6 @@ function webpages_content(&$a) {
|
|||||||
if(! $mimetype) {
|
if(! $mimetype) {
|
||||||
$mimetype = 'choose';
|
$mimetype = 'choose';
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
$mimetype = 'text/bbcode';
|
|
||||||
}
|
|
||||||
|
|
||||||
$layout = (($_REQUEST['layout']) ? $_REQUEST['layout'] : get_pconfig($owner,'system','page_layout'));
|
$layout = (($_REQUEST['layout']) ? $_REQUEST['layout'] : get_pconfig($owner,'system','page_layout'));
|
||||||
if(! $layout)
|
if(! $layout)
|
||||||
|
@ -7,12 +7,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#webpage-list-table th:nth-child(1){
|
#webpage-list-table th:nth-child(1){
|
||||||
|
padding: 7px 3px 7px 10px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
#webpage-list-table td:nth-child(1){
|
#webpage-list-table td:nth-child(1){
|
||||||
padding: 7px 3px 7px 10px;
|
padding: 7px 3px 7px 10px;
|
||||||
word-wrap: break-word;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#webpage-list-table th:nth-child(5),
|
#webpage-list-table th:nth-child(5),
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $pages}}
|
{{if $pages}}
|
||||||
<div id="pagelist-content-wrapper" class="generic-content-wrapper-styled">
|
<div id="pagelist-content-wrapper" class="section-content-wrapper-np">
|
||||||
<table id="webpage-list-table">
|
<table id="webpage-list-table">
|
||||||
<tr>
|
<tr>
|
||||||
<th width="1%">{{$pagelink_txt}}</th>
|
<th width="1%">{{$pagelink_txt}}</th>
|
||||||
|
Reference in New Issue
Block a user