|
@ -41,6 +41,8 @@ |
|
|
if(!isset($config['boards'])) return Array('top'=>'','bottom'=>''); |
|
|
if(!isset($config['boards'])) return Array('top'=>'','bottom'=>''); |
|
|
|
|
|
|
|
|
$body = doBoardListPart($config['boards'], $mod?'?/':$config['root']); |
|
|
$body = doBoardListPart($config['boards'], $mod?'?/':$config['root']); |
|
|
|
|
|
if(!preg_match('/\]$/', $body)) |
|
|
|
|
|
$body = '[' . $body . ']'; |
|
|
|
|
|
|
|
|
return Array( |
|
|
return Array( |
|
|
'top' => '<div class="boardlist">' . $body . '</div>', |
|
|
'top' => '<div class="boardlist">' . $body . '</div>', |
|
|