diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-02-19 20:16:13 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-02-19 20:16:13 +1100 |
| commit | c5aa3fdcc19fa9d845676307c8fc0e9270e628ae (patch) | |
| tree | a794e41859b04aeef94b742e06a224982864cdc3 /inc/functions.php | |
| parent | 9443c0f234731a92579dbe992d13034eead764e4 (diff) | |
Added boardlinks
Diffstat (limited to 'inc/functions.php')
| -rw-r--r-- | inc/functions.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php index 2cb55016..ed50731c 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -476,7 +476,14 @@ $body .= $thread->build(true); } - return Array('button'=>$config['button_newtopic'], 'board'=>$board, 'body'=>$body, 'post_url' => $config['post_url'], 'index' => $config['root']); + return Array( + 'button'=>$config['button_newtopic'], + 'board'=>$board, + 'body'=>$body, + 'post_url' => $config['post_url'], + 'index' => $config['root'], + 'boardlist' => createBoardlist($mod) + ); } function getPageButtons($pages, $mod=false) { @@ -967,6 +974,7 @@ 'index' => $config['root'], 'id' => $id, 'mod' => $mod, + 'boardlist' => createBoardlist($mod), 'hidden_inputs' => $content['hidden_inputs'] = createHiddenInputs(), 'return' => ($mod ? '?' . $board['url'] . $config['file_index'] : $config['root'] . $board['uri'] . '/' . $config['file_index']) )); |
