Browse Source

Fix boardlist bracketing issue

pull/40/head
czaks 11 years ago
parent
commit
98fa92f684
  1. 3
      inc/config.php
  2. 2
      inc/display.php

3
inc/config.php

@ -732,9 +732,6 @@
// )
// );
// Whether or not to put brackets around the whole board list
$config['boardlist_wrap_bracket'] = false;
// Automatically remove unnecessary whitespace when compiling HTML files from templates.
$config['minify_html'] = true;

2
inc/display.php

@ -46,8 +46,6 @@ function createBoardlist($mod=false) {
if (!isset($config['boards'])) return array('top'=>'','bottom'=>'');
$body = doBoardListPart($config['boards'], $mod?'?/':$config['root']);
if (!preg_match('/\] $/', $body) && $config['boardlist_wrap_bracket'])
$body = '[' . $body . ']';
$body = trim($body);

Loading…
Cancel
Save