', $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 '
'; echo '

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

'; if ($context['has_filter']) echo ' '; echo ' '; // No errors, then show a message if (count($context['errors']) == 0) echo ' '; // we have some errors, must be some mods installed :P foreach ($context['errors'] as $error) { echo ' '; 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['applying_filter'], ': ', $context['filter']['entity'], ' ', $context['filter']['value']['html'], '  [', $txt['clear_filter'], ']
 
', $txt['errlog_no_entries'], '
', $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['pages'], ': ', $context['page_index'], '
'; echo '

'; if ($context['sort_direction'] == 'down') echo ' '; 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, '
'; } function template_attachment_errors() { global $context, $scripturl, $txt; echo '

', $txt['attach_error_title'], '

', $context['error_message'], '

', $txt['back'], ' ', $txt['attach_continue'], '
'; } ?>