|
@ -121,27 +121,31 @@ |
|
|
'<li><a class="system" href="javascript:parent.removeFrames()">[Remove Frames]</a></li>' . |
|
|
'<li><a class="system" href="javascript:parent.removeFrames()">[Remove Frames]</a></li>' . |
|
|
'</ul></fieldset>'; |
|
|
'</ul></fieldset>'; |
|
|
|
|
|
|
|
|
for($cat = 0; $cat < count($config['categories']); $cat++) { |
|
|
if(isset($config['categories'])) { |
|
|
$body .= '<fieldset><legend>' . $config['categories'][$cat] . '</legend><ul>'; |
|
|
for($cat = 0; $cat < count($config['categories']); $cat++) { |
|
|
|
|
|
$body .= '<fieldset><legend>' . $config['categories'][$cat] . '</legend><ul>'; |
|
|
|
|
|
|
|
|
foreach($config['boards'][$cat] as &$board) { |
|
|
foreach($config['boards'][$cat] as &$board) { |
|
|
$body .= '<li><a href="' . |
|
|
$body .= '<li><a href="' . |
|
|
sprintf($config['board_path'], $board) . |
|
|
sprintf($config['board_path'], $board) . |
|
|
'">' . boardTitle($board) . '</a></li>'; |
|
|
'">' . boardTitle($board) . '</a></li>'; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
$body .= '</ul></fieldset>'; |
|
|
$body .= '</ul></fieldset>'; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
foreach($config['custom_categories'] as $name => &$group) { |
|
|
if(isset($config['custom_categories'])) { |
|
|
$body .= '<fieldset><legend>' . $name . '</legend><ul>'; |
|
|
foreach($config['custom_categories'] as $name => &$group) { |
|
|
|
|
|
$body .= '<fieldset><legend>' . $name . '</legend><ul>'; |
|
|
|
|
|
|
|
|
foreach($group as $title => &$url) { |
|
|
foreach($group as $title => &$url) { |
|
|
$body .= '<li><a href="' . $url . |
|
|
$body .= '<li><a href="' . $url . |
|
|
'">' . $title . '</a></li>'; |
|
|
'">' . $title . '</a></li>'; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
$body .= '</ul></fieldset>'; |
|
|
$body .= '</ul></fieldset>'; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Finish page |
|
|
// Finish page |
|
|