diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-04-14 12:52:31 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-04-14 12:52:31 +0200 |
commit | 953819e7da8152f959f04c733ce617cc34cf8c7d (patch) | |
tree | f44e693f963672548083432b5b072aa996fef594 | |
parent | 2001ad94bd16c283b2cc79d8e48646d61acb5a77 (diff) | |
download | volse-hubzilla-953819e7da8152f959f04c733ce617cc34cf8c7d.tar.gz volse-hubzilla-953819e7da8152f959f04c733ce617cc34cf8c7d.tar.bz2 volse-hubzilla-953819e7da8152f959f04c733ce617cc34cf8c7d.zip |
css fixes and remove expert mode for block page content type
-rw-r--r-- | mod/blocks.php | 11 | ||||
-rw-r--r-- | mod/webpages.php | 3 | ||||
-rw-r--r-- | view/css/mod_webpages.css | 2 | ||||
-rw-r--r-- | view/tpl/webpagelist.tpl | 2 |
4 files changed, 5 insertions, 13 deletions
diff --git a/mod/blocks.php b/mod/blocks.php index 1b7a3588f..e0f32f4f1 100644 --- a/mod/blocks.php +++ b/mod/blocks.php @@ -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, diff --git a/mod/webpages.php b/mod/webpages.php index 2b284813a..e2b5eb3a4 100644 --- a/mod/webpages.php +++ b/mod/webpages.php @@ -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) diff --git a/view/css/mod_webpages.css b/view/css/mod_webpages.css index 29cd1e803..32291adc7 100644 --- a/view/css/mod_webpages.css +++ b/view/css/mod_webpages.css @@ -7,12 +7,12 @@ } #webpage-list-table th:nth-child(1){ + padding: 7px 3px 7px 10px; white-space: nowrap; } #webpage-list-table td:nth-child(1){ padding: 7px 3px 7px 10px; - word-wrap: break-word; } #webpage-list-table th:nth-child(5), diff --git a/view/tpl/webpagelist.tpl b/view/tpl/webpagelist.tpl index 4e5b3e0e4..9d440eb64 100644 --- a/view/tpl/webpagelist.tpl +++ b/view/tpl/webpagelist.tpl @@ -13,7 +13,7 @@ </div> {{/if}} {{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"> <tr> <th width="1%">{{$pagelink_txt}}</th> |