From 98fa92f684394f2e17809612b568663b5db65119 Mon Sep 17 00:00:00 2001 From: czaks Date: Fri, 9 Aug 2013 17:16:25 -0400 Subject: [PATCH] Fix boardlist bracketing issue --- inc/config.php | 3 --- inc/display.php | 2 -- 2 files changed, 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);