| 8 | | |
| 9 | | <style type="text/css"> |
| 10 | | /* <![CDATA[ */ |
| 11 | | * {padding:0;margin:0;border:0;} |
| 12 | | body {background:#eee;font-family:sans-serif;font-size:85%;} |
| 13 | | h1,h2,h3,h4 {margin-bottom:0.5em;padding:0.2em 0;border-bottom:solid 1px #ccc;color:#911;} |
| 14 | | h1 {font-size:2em;} |
| 15 | | h2 {font-size:1.5em;} |
| 16 | | p,pre {margin-bottom:0.5em;} |
| 17 | | strong {color:#700;} |
| 18 | | #wrap {width:600px;margin:2em auto;padding:0.5em 1em;background:#fff;border:solid 1px #ddd;border-bottom:solid 2px #aaa;} |
| 19 | | #stats {margin:0;padding-top: 0.5em;border-top:solid 1px #ccc;font-size:0.8em;text-align:center;color:#555;} |
| 20 | | .message {margin:1em;padding:0.5em;background:#dfdfdf;border:solid 1px #999;} |
| 21 | | .detail {text-align:center;} |
| 22 | | .backtrace {margin:0 2em 1em;} |
| 23 | | .backtrace pre {background:#eee;} |
| 24 | | /* ]]> */ |
| 25 | | </style> |
| 26 | | <!-- |
| 27 | | This is a little <script> does two things: |
| 28 | | 1. Prevents a strange bug that can happen in IE when using the <style> tag |
| 29 | | 2. Accounts for PHP's relative anchors in errors |
| 30 | | --> |
| 31 | | <script type="text/javascript">document.write('<base href="http://php.net/" />')</script> |
| | 6 | <base href="http://php.net/" /> |
| 37 | | <p class="message"><?php echo $message ?></p> |
| 38 | | <?php if ($line != FALSE AND $file != FALSE): ?> |
| 39 | | <p class="detail"><?php echo Kohana::lang('core.error_message', $line, $file) ?></p> |
| 40 | | <?php endif; ?> |
| 41 | | <?php if (isset($trace)): ?> |
| 42 | | <h2><?php echo Kohana::lang('core.stack_trace') ?></h2> |
| | 15 | <?php if ( ! empty($line) AND ! empty($file)): ?> |
| | 16 | <p><?php echo Kohana::lang('core.error_file_line', $file, $line) ?></p> |
| | 17 | <?php endif ?> |
| | 18 | <p><code class="block"><?php echo $message ?></code></p> |
| | 19 | <?php if ( ! empty($trace)): ?> |
| | 20 | <h3><?php echo Kohana::lang('core.stack_trace') ?></h3> |