diff options
| author | czaks <marcin@6irc.net> | 2013-08-09 17:16:25 -0400 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-08-09 17:16:25 -0400 |
| commit | 98fa92f684394f2e17809612b568663b5db65119 (patch) | |
| tree | cfbecbe8b44fd8ad6b8e885a9e8c107124131d41 | |
| parent | efcec134390988ce55c2c8dba986f21672dc6cf7 (diff) | |
Fix boardlist bracketing issue
| -rw-r--r-- | inc/config.php | 3 | ||||
| -rw-r--r-- | inc/display.php | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/inc/config.php b/inc/config.php index 2406726e..440ce9aa 100644 --- a/inc/config.php +++ b/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; diff --git a/inc/display.php b/inc/display.php index b78639d6..2632ddb7 100644 --- a/inc/display.php +++ b/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); |
