Facilitate styling of subboard listings
This commit is contained in:
parent
22556f43f5
commit
7e0cec3d9d
@ -25,7 +25,7 @@ function doBoardListPart($list, $root) {
|
|||||||
$body = '';
|
$body = '';
|
||||||
foreach ($list as $board) {
|
foreach ($list as $board) {
|
||||||
if (is_array($board))
|
if (is_array($board))
|
||||||
$body .= ' [' . doBoardListPart($board, $root) . '] ';
|
$body .= ' <span class="sub">[' . doBoardListPart($board, $root) . ']</span> ';
|
||||||
else {
|
else {
|
||||||
if (($key = array_search($board, $list)) && gettype($key) == 'string') {
|
if (($key = array_search($board, $list)) && gettype($key) == 'string') {
|
||||||
$body .= ' <a href="' . $board . '">' . $key . '</a> /';
|
$body .= ' <a href="' . $board . '">' . $key . '</a> /';
|
||||||
|
Loading…
Reference in New Issue
Block a user