Skip to content

Commit

Permalink
[FrameworkBundle] changed exception template to show class abbreviations
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Sep 1, 2010
1 parent 48b6057 commit 8bdb9c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -16,7 +16,7 @@
<ul>
<?php foreach ($exception->getPreviouses() as $i => $previous): ?>
<li>
<?php echo $previous->getClass() ?> <a href="#traces_link_<?php echo $i + 1 ?>" onclick="toggle('traces_<?php echo $i + 1 ?>', 'traces');">&raquo;</a>
<?php echo $view['code']->abbrClass($previous->getClass()) ?> <a href="#traces_link_<?php echo $i + 1 ?>" onclick="toggle('traces_<?php echo $i + 1 ?>', 'traces');">&raquo;</a>
</li>
<?php endforeach; ?>
</ul>
Expand Down
Expand Up @@ -2,7 +2,7 @@
<?php if ($count > 0): ?>
<h3>
<span><?php echo $count - $position + 1 ?>/<?php echo $count + 1 ?></span>
<?php echo $exception->getClass() ?>: <?php echo str_replace("\n", '<br />', htmlspecialchars($exception->getMessage(), ENT_QUOTES, $view->getCharset())) ?>
<?php echo $view['code']->abbrClass($exception->getClass()) ?>: <?php echo str_replace("\n", '<br />', htmlspecialchars($exception->getMessage(), ENT_QUOTES, $view->getCharset())) ?>
<a href="#" onclick="toggle('traces_<?php echo $position ?>', 'traces'); return false;">&raquo;</a><br />
</h3>
<?php else: ?>
Expand Down

0 comments on commit 8bdb9c1

Please sign in to comment.