From fe9a8a1074c7a8aba4a92086a95c92bb20e60af3 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Thu, 17 Mar 2011 23:49:28 +1100 Subject: Custom links in the board list --- inc/display.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'inc/display.php') diff --git a/inc/display.php b/inc/display.php index 7f10a597..086171c4 100644 --- a/inc/display.php +++ b/inc/display.php @@ -27,7 +27,11 @@ if(is_array($board)) $body .= ' [' . doBoardListPart($board, $root) . '] '; else { - $body .= ' ' . $board . ' /'; + if(($key = array_search($board, $list)) && gettype($key) == 'string') { + $body .= ' ' . $key . ' /'; + } else { + $body .= ' ' . $board . ' /'; + } } } $body = preg_replace('/\/$/', '', $body); -- cgit v1.3