<?php

/**
 * Debug Bar: panel "error" template.
 *
 * This file is part of the Tracy (http://tracy.nette.org)
 * Copyright (c) 2004 David Grudl (http://davidgrudl.com)
 */

namespace Tracy;

use Tracy;
?>
<h1>Errors</h1>

<div class="tracy-inner">
<table>
<?php $i = 0 ?>
<?php foreach ($this->data as $item => $count): list($file, $line, $message) = explode('|', $item, 3) ?>
<tr class="<?php echo $i++ % 2 ? 'tracy-alt' : '' ?>">
	<td class="tracy-right"><?php echo $count ? "$count\xC3\x97" : '' ?></td>
	<td><pre><?php echo htmlspecialchars($message, ENT_IGNORE), ' in ', Helpers::editorLink($file, $line) ?></pre></td>
</tr>
<?php endforeach ?>
</table>
</div>
