<commit_before><?php defined('SYSPATH') OR die('No direct script access allowed.'); ?>

<div class="help">
	<?php _e('Here shows the complete information about current entry from the System log.'); ?>
</div>

<?php echo HTML::anchor($delete_url, '<i class="icon-trash"></i> '.__('Delete'), array('class' => 'btn btn-danger pull-right', 'title' => __('Delete this entry from log'))) ?>
<div class="clearfix"></div><br>

<table id="log-admin-view" class="table table-striped table-bordered table-highlight">
	<colgroup><col class="oce-first"></colgroup>
	<thead>
	<tr>
		<th><?php _e('Field')?></th>
		<th><?php _e('Value')?></th>
	</tr>
	</thead>
	<tbody>
	<tr>
		<td><?php _e('ID'); ?></td>
		<td><?php echo $log['_id']; ?></td>
	</tr>
	<tr>
		<td><?php _e('Type')?></td>
		<td>
			<?php echo HTML::label($log['level'], $log['level']); ?>
		</td>
	</tr>
	<tr>
		<td><?php _e('Date')?></td>
		<td>
			<?php echo Date::formatted_time($log['time']->sec, Config::get('site.date_time_format', 'l, F j, Y - H:i'), Config::get('site.timezone', 'UTC')); ?>
		</td>
	</tr>
	<tr>
		<td><?php _e('Host')?></td>
		<td><?php echo $log['hostname']; ?></td>
	</tr>
	<tr>
		<td><?php _e('User Agent')?></td>
		<td><?php echo ($log['user_agent']) ? $log['user_agent'] : '&mdash;' ?></td>
	</tr>
	<tr>
		<td><?php _e('File')?></td>
		<td><?php echo Text::plain($log['file']) ?></td>
	</tr>
	<tr>
		<td><?php _e('Line')?></td>
		<td><?php echo Text::plain($log['line']) ?></td>
	</tr>
	<tr>
		<td><?php _e('Class')?></td>
		<td><?php echo Text::plain($log['class']) ?></td>
	</tr>
	<tr>
		<td><?php _e('Function')?></td>
		<td><?php echo Text::plain($log['function']) ?></td>
	</tr>
	<tr>
		<td><?php _e('URL')?></td>
		<td><?php echo Text::plain($log['url']) ?></td>
	</tr>
	<?php if (isset($log['refer'])): ?>
		<tr>
			<td><?php _e('Refer')?></td>
			<td><?php echo Text::plain($log['refer']) ?></td>
		</tr>
	<?php endif; ?>
	<tr>
		<td><?php _e('Message')?></td>
		<td><?php echo Text::plain($log['body']) ?></td>
	</tr>
	</tbody>
</table><commit_msg>Fixed issue: Fixed indentation<commit_after><?php defined('SYSPATH') OR die('No direct script access allowed.'); ?>

<div class="help">
	<?php _e('Here shows the complete information about current entry from the System log.'); ?>
</div>

<?php echo HTML::anchor($delete_url, '<i class="icon-trash"></i> '.__('Delete'), array('class' => 'btn btn-danger pull-right', 'title' => __('Delete this entry from log'))) ?>
<div class="clearfix"></div><br>

<table id="log-admin-view" class="table table-striped table-bordered table-highlight">
	<colgroup><col class="oce-first"></colgroup>
	<thead>
	<tr>
		<th><?php _e('Field')?></th>
		<th><?php _e('Value')?></th>
	</tr>
	</thead>
	<tbody>
		<tr>
			<td><?php _e('ID'); ?></td>
			<td><?php echo $log['_id']; ?></td>
		</tr>
		<tr>
			<td><?php _e('Type')?></td>
			<td>
				<?php echo HTML::label($log['level'], $log['level']); ?>
			</td>
		</tr>
		<tr>
			<td><?php _e('Date')?></td>
			<td>
				<?php echo Date::formatted_time($log['time']->sec, Config::get('site.date_time_format', 'l, F j, Y - H:i'), Config::get('site.timezone', 'UTC')); ?>
			</td>
		</tr>
		<tr>
			<td><?php _e('Host')?></td>
			<td><?php echo $log['hostname']; ?></td>
		</tr>
		<tr>
			<td><?php _e('User Agent')?></td>
			<td><?php echo ($log['user_agent']) ? $log['user_agent'] : '&mdash;' ?></td>
		</tr>
		<tr>
			<td><?php _e('File')?></td>
			<td><?php echo Text::plain($log['file']) ?></td>
		</tr>
		<tr>
			<td><?php _e('Line')?></td>
			<td><?php echo Text::plain($log['line']) ?></td>
		</tr>
		<tr>
			<td><?php _e('Class')?></td>
			<td><?php echo Text::plain($log['class']) ?></td>
		</tr>
		<tr>
			<td><?php _e('Function')?></td>
			<td><?php echo Text::plain($log['function']) ?></td>
		</tr>
		<tr>
			<td><?php _e('URL')?></td>
			<td><?php echo Text::plain($log['url']) ?></td>
		</tr>
		<?php if (isset($log['refer'])): ?>
			<tr>
				<td><?php _e('Refer')?></td>
				<td><?php echo Text::plain($log['refer']) ?></td>
			</tr>
		<?php endif; ?>
		<tr>
			<td><?php _e('Message')?></td>
			<td><?php echo Text::plain($log['body']) ?></td>
		</tr>
	</tbody>
</table>
{'fraction_non_alphanumeric': 0.31387213510253315, 'fraction_numerical': 0.0, 'mean_word_length': 4.4267015706806285, 'pattern_counts': {'":': 0, '<': 253, '<?xml version=': 0, '>': 259, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '780670', 'n_tokens_mistral': 1824, 'n_tokens_neox': 1768, 'n_words': 356}