Refactor exception view.

This commit is contained in:
Taylor Otwell 2011-07-11 08:40:11 -07:00
parent 4fc4d04028
commit 4b25d9e4d2
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@
margin: 0; padding: 0; margin: 0; padding: 0;
} }
.strong { pre.highlight {
font-weight: bold; font-weight: bold;
color: #990000; color: #990000;
} }
@ -90,7 +90,7 @@
<?php if (count($contexts) > 0): ?> <?php if (count($contexts) > 0): ?>
<?php foreach($contexts as $num => $context): ?> <?php foreach($contexts as $num => $context): ?>
<pre class="context <?php echo ($line == $num) ? 'strong' : ''; ?>"><?php echo htmlentities($num.': '.$context); ?></pre> <pre class="context <?php echo ($line == $num) ? 'highlight' : ''; ?>"><?php echo htmlentities($num.': '.$context); ?></pre>
<?php endforeach; ?> <?php endforeach; ?>
<?php else: ?> <?php else: ?>