', $context['error_title'], '

', $context['error_message'], '
'; // Show a back button (using javascript.) echo '
', $txt['back'], '
'; } function template_error_log() { global $context, $settings, $options, $scripturl, $txt, $modSettings; echo '

', $txt['help'], ' ', $txt['errlog'], '

'; if ($context['has_filter']) echo ' '; if (!empty($context['errors'])) echo ' '; foreach ($context['errors'] as $error) { echo ' '; } if (!empty($context['errors'])) echo ' '; else echo ' '; echo '
  ', $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), '
  ', $txt['pages'], ': ', $context['page_index'], '
', $txt['applying_filter'], ': ', $context['filter']['entity'], ' ', $context['filter']['value']['html'], ' (', $txt['clear_filter'], ')
', $txt['apply_filter'], ': ', $txt['filter_only_member'], ' ', $error['member']['link'], '
', $txt['apply_filter'], ': ', $txt['filter_only_ip'], ' ', $error['member']['ip'], '  
 
', $txt['reverse_direction'], ' ', $error['time'], '
'; if ($error['member']['session'] != '') echo ' ', $txt['apply_filter'], ': ', $txt['filter_only_session'], ' ', $error['member']['session'], '
'; echo ' ', $txt['apply_filter'], ': ', $txt['filter_only_type'], ' ', $txt['error_type'], ': ', $error['error_type']['name'], '
', $txt['apply_filter'], ': ', $txt['filter_only_url'], '
', $txt['apply_filter'], ': ', $txt['filter_only_message'], '
', $error['message']['html'], '
'; if (!empty($error['file'])) echo '
', $txt['apply_filter'], ': ', $txt['filter_only_file'], '
', $txt['file'], ': ', $error['file']['link'], '
', $txt['line'], ': ', $error['file']['line'], '
'; echo '
 
', $txt['errlog_no_entries'], '
  ', $txt['pages'], ': ', $context['page_index'], '

'; if ($context['sort_direction'] == 'down') echo ' '; echo '
'; } function template_show_file() { global $context, $settings; echo ' ', $context['file_data']['file'], ' '; foreach ($context['file_data']['contents'] as $index => $line) { $line_num = $index+$context['file_data']['min']; $is_target = $line_num == $context['file_data']['target']; echo ' '; } echo '
==>' : '>', $line_num , ': ', $line, '
'; } ?>