diff --git a/Sources/Subs.php b/Sources/Subs.php index 57b651b..6876e86 100644 --- a/Sources/Subs.php +++ b/Sources/Subs.php @@ -3969,12 +3969,14 @@ function setupMenuContext() ), 'is_last' => $context['right_to_left'], ), - //xxx show archived boards + //xxx show archived boards, commented out for Tom :) + /* 'show_archived' => array( 'title' => ($show_archived ? 'Hide' : 'Show').' Archived Boards', 'href' => $scripturl . '?show_archived='.($show_archived ? 0 : 1), 'show' => isset($show_archived), ), + */ 'help' => array( 'title' => $txt['help'], 'href' => $scripturl . '?action=help', diff --git a/Themes/core/BoardIndex.template.php b/Themes/core/BoardIndex.template.php index ba242d1..32e64c2 100644 --- a/Themes/core/BoardIndex.template.php +++ b/Themes/core/BoardIndex.template.php @@ -242,7 +242,7 @@ function template_main() function template_info_center() { - global $context, $settings, $options, $txt, $scripturl, $modSettings; + global $context, $settings, $options, $txt, $scripturl, $modSettings, $show_archived; // Here's where the "Info Center" starts... echo ' @@ -350,6 +350,7 @@ function template_info_center() // Show statistical style information... if ($settings['show_stats_index']) { + //xxx show archived boards echo '