';
// If the board or children is new, show an indicator.
if ($board['new'] || $board['children_new'])
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'], '
'; // They can only mark read if they are logged in and it's enabled! if (!$context['user']['is_logged'] || !$settings['show_mark_read']) unset($context['normal_buttons']['markread']); if (!$context['no_topic_listing']) { 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'] : '') . '