', $txt['pages'], ': ', $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 '
', $error['member']['link'], '
', $error['member']['ip'], '
|
', $error['time'], '
';
if ($error['member']['session'] != '')
echo '
', $error['member']['session'], '
';
echo '
', $txt['error_type'], ': ', $error['error_type']['name'], '
| ';
echo '
|
', $error['message']['html'], ' ';
if (!empty($error['file']))
echo '
', $txt['file'], ': ', $error['file']['link'], '
', $txt['line'], ': ', $error['file']['line'], '
';
echo '
|
';
}
echo '
|
', $txt['pages'], ': ', $context['page_index'], '
';
echo '