', theme_linktree(), ''; if (!empty($settings['display_who_viewing'])) { echo ' '; if ($settings['display_who_viewing'] == 1) echo count($context['view_members']), ' ', count($context['view_members']) == 1 ? $txt['who_member'] : $txt[19]; else echo empty($context['view_members_list']) ? '0 ' . $txt[19] : 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 (isset($context['boards']) && (!empty($options['show_children']) || $context['start'] == 0)) { echo ' '; foreach ($context['boards'] as $board) { echo ' '; } echo '
', $txt[20], ' ', $txt[330], ' ', $txt[21], ' ', $txt[22], '
', $board['new'] ? '' . $txt[333] . '' : '' . $txt[334] . '', ' ' . $board['link'] . '
' . $board['description']; if (!empty($board['moderators'])) echo '
', count($board['moderators']) == 1 ? $txt[298] : $txt[299], ': ', implode(', ', $board['link_moderators']), ''; if (!empty($board['children'])) { $children = array(); foreach ($board['children'] as $child) { if ($child['new']) $children[] = '' . $child['link'] . ''; else $children[] = $child['link']; } echo '

', $txt['parent_boards'], ': ', implode(', ', $children), ''; } echo '
', $board['topics'], ' ', $board['posts'], ' ', $board['last_post']['time'], '
', $txt['smf88'], ' ', $board['last_post']['link'], '
', $txt[525], ' ', $board['last_post']['member']['link'], '

'; } if (!empty($options['show_board_desc']) && $context['description'] != '') { echo '
', $context['description'], '
'; } if (!$context['no_topic_listing']) { echo '
', $txt[139], ': ', $context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . '' . ($settings['use_image_buttons'] ? '' . $txt['topbottom5'] . '' : $txt['topbottom5']) . '' : '', ' ', theme_show_buttons(), '
'; // If Quick Moderation is enabled (and set to checkboxes - 1) start the form. if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && !empty($context['topics'])) echo '
'; echo ' '; if (!empty($context['topics'])) { echo ' '; if (!empty($options['display_quick_mod'])) echo ' '; } else echo ' '; echo ' '; foreach ($context['topics'] as $topic) { echo ' '; // Show the quick moderation options? if (!empty($options['display_quick_mod'])) { echo ' '; } echo ' '; } if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && !empty($context['topics'])) { echo ' '; } echo '
', $txt[70], $context['sort_by'] == 'subject' ? ' ' : '', ' ', $txt[109], $context['sort_by'] == 'starter' ? ' ' : '', ' ', $txt[110], $context['sort_by'] == 'replies' ? ' ' : '', ' ', $txt[301], $context['sort_by'] == 'views' ? ' ' : '', ' ', $txt[111], $context['sort_by'] == 'last_post' ? ' ' : '', '', $options['display_quick_mod'] != 1 ? ' ' : ' ', '', $txt[151], '
', $topic['first_post']['link'], ' ', $topic['new'] && $context['user']['is_logged'] ? '' . $txt[302] . '' : '', ' ', $topic['pages'], ' ', $topic['first_post']['member']['link'], ' ', $topic['replies'], ' ', $topic['views'], ' ', $topic['last_post']['time'], '
', $txt[525], ' ', $topic['last_post']['member']['link'], '
'; if ($options['display_quick_mod'] == 1) echo ' '; else { if ($topic['quick_mod']['remove']) echo '', $txt[63], ''; if ($topic['quick_mod']['lock']) echo '', $txt['smf279'], ''; if ($topic['quick_mod']['lock'] || $topic['quick_mod']['remove']) echo '
'; if ($topic['quick_mod']['sticky']) echo '', $txt['smf277'], ''; if ($topic['quick_mod']['move']) echo '', $txt[132], ''; } echo '
'; if ($context['can_move']) { echo ' '; } echo '
'; // Finish off the form - again, if Quick Moderation is being done with checkboxes. (1) if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && !empty($context['topics'])) echo '
'; echo '
', $txt[139], ': ', $context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . '' . ($settings['use_image_buttons'] ? '' . $txt['topbottom4'] . '' : $txt['topbottom4']) . '' : '', ' ', theme_show_buttons(), '
'; } echo ' '; if ($settings['linktree_inline']) echo ' '; echo ' '; if (!$context['no_topic_listing']) { echo ' '; } echo '
', theme_linktree(), '

', !empty($modSettings['enableParticipation']) ? ' ' . $txt['participation_caption'] . '
' : '', ' ' . $txt[457] . '
' . $txt[454] . '
' . $txt[455] . '
' . $txt[456] . '
' . ($modSettings['enableStickyTopics'] == '1' ? ' ' . $txt['smf96'] . '
' : '') . ($modSettings['pollMode'] == '1' ? ' ' . $txt['smf43'] : '') . '
:  
'; } function theme_show_buttons() { global $context, $settings, $options, $txt, $scripturl; $buttonArray = array(); // If they are logged in, and the mark read buttons are enabled.. if ($context['user']['is_logged'] && $settings['show_mark_read']) $buttonArray[] = '' . ($settings['use_image_buttons'] ? '' . $txt[300] . '' : $txt[300]) . ''; // If the user has permission to show the notification button... ask them if they're sure, though. if ($context['can_mark_notify']) $buttonArray[] = '' . ($settings['use_image_buttons'] ? '' . $txt[131] . '' : $txt[131]) . ''; // Are they allowed to post new topics? if ($context['can_post_new']) $buttonArray[] = '' . ($settings['use_image_buttons'] ? '' . $txt[33] . '' : $txt[33]) . ''; // How about new polls, can the user post those? if ($context['can_post_poll']) $buttonArray[] = '' . ($settings['use_image_buttons'] ? '' . $txt['smf20'] . '' : $txt['smf20']) . ''; return implode($context['menu_separator'], $buttonArray); } ?>