start on mod interface rewrite

This commit is contained in:
Michael Save 2012-04-13 02:11:41 +10:00
parent 51675e7a9b
commit 9649550463
11 changed files with 3724 additions and 3411 deletions

View file

@ -277,10 +277,13 @@ function setupBoard($array) {
$board = array(
'uri' => $array['uri'],
'name' => $array['title'],
'title' => $array['subtitle']
'title' => $array['title'],
'subtitle' => $array['subtitle']
);
// older versions
$board['name'] = &$board['title'];
$board['dir'] = sprintf($config['board_path'], $board['uri']);
$board['url'] = sprintf($config['board_abbreviation'], $board['uri']);