// ', $txt['members'], ': ', $context['common_stats']['total_members'], '  •  ', $txt['posts_made'], ': ', $context['common_stats']['total_posts'], '  •  ', $txt['topics'], ': ', $context['common_stats']['total_topics'], '
// ', ($settings['show_latest_member'] ? ' ' . $txt['welcome_member'] . ' ' . $context['common_stats']['latest_member']['link'] . '' . $txt['newest_member'] : '') , ' // '; // Show the news fader? (assuming there are things to show...) if ($settings['show_newsfader'] && !empty($context['fader_news_lines'])) { echo '

', $txt['news'], '

'; } echo ' '; /* Each category in categories is made up of: id, href, link, name, is_collapsed (is it collapsed?), can_collapse (is it okay if it is?), new (is it new?), collapse_href (href to collapse/expand), collapse_image (up/down image), and boards. (see below.) */ foreach ($context['categories'] as $category) { // If theres no parent boards we can see, avoid showing an empty category (unless its collapsed) if (empty($category['boards']) && !$category['is_collapsed']) continue; echo '

'; // If this category even can collapse, show a link to collapse it. if ($category['can_collapse']) echo ' ', $category['collapse_image'], ''; if (!$context['user']['is_guest'] && !empty($category['show_unread'])) echo ' ', $category['name'], ''; else echo ' ', $category['name']; echo ' ', $category['link'], '

'; // Assuming the category hasn't been collapsed... if (!$category['is_collapsed']) { echo ' '; } echo '
'; } if ($context['user']['is_logged']) { echo '
'; // Mark read button. $mark_read_button = array( 'markread' => array('text' => 'mark_as_read', 'image' => 'markread.png', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=all;' . $context['session_var'] . '=' . $context['session_id']), ); echo '
'; } else { echo '
'; } template_info_center(); } function template_info_center() { global $context, $settings, $options, $txt, $scripturl, $modSettings; // Here's where the "Info Center" starts... echo '

', sprintf($txt['info_center_title'], $context['forum_name_html_safe']), '

'; // Info center collapse object. echo ' '; } ?>