', $context['page_index'], '
', $txt['apply_filter_of_type'], ':';
$error_types = array();
foreach ($context['error_types'] as $type => $details)
$error_types[] = ($details['is_selected'] ? ' ' : '') . '' . $details['label'] . '';
echo '
', implode(' | ', $error_types), '
|
';
if ($context['has_filter'])
echo '
', $txt['applying_filter'], ': ', $context['filter']['entity'], ' ', $context['filter']['value']['html'], ' [', $txt['clear_filter'], ']
|
';
echo '
|
';
// No errors, then show a message
if (count($context['errors']) == 0)
echo '
', $txt['errlog_no_entries'], ' |
';
// we have some errors, must be some mods installed :P
foreach ($context['errors'] as $error)
{
echo '
';
if ($error['member']['session'] != '')
echo '
', $error['member']['session'], '
', $txt['error_type'], ': ', $error['error_type']['name'], '
', $error['message']['html'], '';
echo '
';
if (!empty($error['file']))
echo '
', $txt['file'], ': ', $error['file']['link'], '
', $txt['line'], ': ', $error['file']['line'], '
';
echo '
|
|
';
}
echo '
|