'; // If the board or children is new, show an indicator. if ($board['new'] || $board['children_new']) echo ' '; // Is it a redirection board? elseif ($board['is_redirect']) echo ' '; // No new posts at all! The agony!! else echo ' '; echo ' |
', $board['name'], '';
// Has it outstanding posts for approval?
if ($board['can_approve_posts'] && ($board['unapproved_posts'] || $board['unapproved_topics']))
echo '
(!)';
echo '
', $board['description'] , ' '; // Show the "Moderators: ". Each has name, href, link, and id. (but we're gonna use link_moderators.) if (!empty($board['moderators'])) echo '', count($board['moderators']) === 1 ? $txt['moderator'] : $txt['moderators'], ': ', implode(', ', $board['link_moderators']), ' '; // Show some basic information about the number of posts, etc. echo ' |
', comma_format($board['posts']), ' ', $board['is_redirect'] ? $txt['redirects'] : $txt['posts'], ' |
';
if (!empty($board['last_post']['id']))
echo '
', $board['last_post']['last_post_message'], ' '; echo ' |
', $txt['parent_boards'], ': ', implode(', ', $children), ' |
|||
', $context['description'], '
';
else
echo '
'; if (!empty($context['moderators'])) echo ' ', count($context['moderators']) === 1 ? $txt['moderator'] : $txt['moderators'], ': ', implode(', ', $context['link_moderators']), '. '; if (!empty($settings['display_who_viewing'])) { if ($settings['display_who_viewing'] == 1) echo count($context['view_members']), ' ', count($context['view_members']) === 1 ? $txt['who_member'] : $txt['members']; else echo empty($context['view_members_list']) ? '0 ' . $txt['members'] : implode(', ', $context['view_members_list']) . (empty($context['view_num_hidden']) || $context['can_moderate_forum'] ? '' : ' (+ ' . $context['view_num_hidden'] . ' ' . $txt['hidden'] . ')'); echo $txt['who_and'], $context['view_num_guests'], ' ', $context['view_num_guests'] == 1 ? $txt['guest'] : $txt['guests'], $txt['who_viewing_board'], ''; } echo '
'; // If Quick Moderation is enabled start the form. if (!empty($context['can_quick_mod']) && $options['display_quick_mod'] > 0 && !empty($context['topics'])) echo ' '; echo ''; if (!$context['no_topic_listing']) echo '
', !empty($modSettings['enableParticipation']) && $context['user']['is_logged'] ? '
' . $txt['participation_caption'] . '
' : '', '
' . $txt['normal_topic'] . '
' . sprintf($txt['hot_topics'], $modSettings['hotTopicPosts']) . '
' . sprintf($txt['very_hot_topics'], $modSettings['hotTopicVeryPosts']) . '
' . $txt['locked_topic'] . '
' . ($modSettings['enableStickyTopics'] == '1' ? '
' . $txt['sticky_topic'] . '
' : '') . ($modSettings['pollMode'] == '1' ? '
' . $txt['poll'] : '') . '