'; // 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']) || !empty($board['moderator_groups'])) echo '', count($board['link_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), ' |
|||
'; if (!empty($options['show_board_desc']) && $context['description'] != '') echo ' ', $context['description'], ' '; if (!empty($context['moderators'])) echo ' ', count($context['moderators']) === 1 ? $txt['moderator'] : $txt['moderators'], ': ', implode(', ', $context['link_moderators']), '.'; echo '
'; if (!$context['no_topic_listing']) echo '
', !empty($modSettings['enableParticipation']) && $context['user']['is_logged'] ? '
' . $txt['participation_caption'] . '
' : '', '
'. ($modSettings['pollMode'] == '1' ? ' ' . $txt['poll'] : '') . '
' . $txt['moved_topic'] . '
' . $txt['locked_topic'] . '
' . $txt['sticky_topic'] . '