| ', $txt['parent_boards'], ' | |||
';
// Is this board itself new?
if ($board['new'])
echo ' ';
// Is one of this board's children new, then?
elseif ($board['children_new'])
echo ' ';
// I guess it's not new at all.
else
echo ' ';
echo ' |
', $board['name'], ' ', $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)
{
$child['link'] = '' . $child['name'] . '';
$children[] = $child['new'] ? '' . $child['link'] . '' : $child['link'];
}
echo '
', $txt['parent_boards'], ': ', implode(', ', $children), ' ';
}
echo '
|
', $board['posts'], ' ', $txt[21], ' ', $txt['smf88'], ' ', $board['topics'], ' ', $txt[330], ' |
';
if (!empty($board['last_post']['id']))
echo '
', $txt[22], ' ', $txt[30], ' ', $board['last_post']['time'], ' ', $txt['smf88'], ' ', $board['last_post']['link'], ' ', $txt[525], ' ', $board['last_post']['member']['link']; echo ' |
| ', $context['description'], ' |
|
|
| ', 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'] : '') . '
| ';
echo '
|
' : $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]) . '';
// Are they allowed to post new topics?
if ($context['can_post_new'])
$buttonArray[] = '' . ($settings['use_image_buttons'] ? '
' : $txt[33]) . '';
// How about new polls, can the user post those?
if ($context['can_post_poll'])
$buttonArray[] = '' . ($settings['use_image_buttons'] ? '
' : $txt['smf20']) . '';
return implode($context['menu_separator'], $buttonArray);
}
?>