for webpages, hide the mimetype selector unless in advanced mode. For pages that endless scroll and show blocky-block things, set the default items-per-page to 60. Why? It fits column-widths of 2,3,4,5,6,10,12,15, and 20 without leaving remaindered items dangling at the end. No other setting less than 100 has this much versatility.
This commit is contained in:
@@ -46,11 +46,16 @@ function webpages_content(&$a) {
|
||||
// }
|
||||
|
||||
|
||||
$mimetype = (($_REQUEST['mimetype']) ? $_REQUEST['mimetype'] : get_config('system','page_mimetype'));
|
||||
if(! $mimetype)
|
||||
$mimetype = 'choose';
|
||||
if(feature_enabled($owner,'expert_mode')) {
|
||||
$mimetype = (($_REQUEST['mimetype']) ? $_REQUEST['mimetype'] : get_pconfig($owner,'system','page_mimetype'));
|
||||
if(! $mimetype)
|
||||
$mimetype = 'choose';
|
||||
}
|
||||
else {
|
||||
$mimetype = 'text/bbcode';
|
||||
}
|
||||
|
||||
$layout = (($_REQUEST['layout']) ? $_REQUEST['layout'] : get_config('system','page_layout'));
|
||||
$layout = (($_REQUEST['layout']) ? $_REQUEST['layout'] : get_pconfig($owner,'system','page_layout'));
|
||||
if(! $layout)
|
||||
$layout = 'choose';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user