- Timestamp:
- 02/08/12 20:01:56 (4 months ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
core/errorhandler.core.php (modified) (2 diffs)
-
core/exception.core.php (modified) (2 diffs)
-
themes/core/css/error.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/errorhandler.core.php
r6026 r6027 303 303 304 304 # Error Table 305 $html .= '<table ><tr><td>';305 $html .= '<table width="80%"><tr><td>'; 306 306 307 307 # The inner Error Table 308 $html .= '<div id="panel"'; 309 $html .= 'style="background: none repeat scroll 0 0 #FDF599; border: 1px solid #E03937; border-radius: 3px; padding: 0 0 15px 15px; margin-bottom: 10px; box-shadow: 0 1px 2px gray;">'; 310 $html .= '<h3>Error <span style="font-weight: normal; font-size: 11px;">'.$errorname . ' ('. $errornumber .')</span></h3><h4>'.$errorstring.'</h4>'; 308 $html .= '<div id="panel1" class="panel">'; 309 $html .= '<h3>Error <span class="small">'.$errorname . ' ('. $errornumber .')</span></h3><h4>'.$errorstring.'</h4>'; 311 310 $html .= '<strong>File: </strong>'.dirname($errorfile).DS; 312 311 $html .= '<strong>'.basename($errorfile).'</strong>'; … … 315 314 316 315 # Error Context 317 $html .= '<tr><td colspan="2"><h3>Context</h3>'; 318 $html .= self::getErrorContext($errorfile, $errorline, 8) . '</td></tr>'; 316 $html .= '<tr><td colspan="2">'; 317 $html .= '<div id="panel2" class="panel">'; 318 $html .= '<h3>Context</h3>'; 319 $html .= '<span class="smalltext">You are viewing the source code of '. $errorfile.' around line '. $errorline .'.</span>'; 320 $html .= self::getErrorContext($errorfile, $errorline, 8) . '</div></td></tr>'; 319 321 320 322 # Add Debug Backtracing -
trunk/core/exception.core.php
r6026 r6027 300 300 301 301 # Exception Table 302 $html .= '<table ><tr><td>';302 $html .= '<table width="80%"><tr><td>'; 303 303 304 304 /** … … 308 308 */ 309 309 310 $html .= '<div id="panel"'; 311 $html .= 'style="background: none repeat scroll 0 0 #FDF599; border: 1px solid #E03937; border-radius: 3px; padding: 0 0 15px 15px; margin-bottom: 10px; box-shadow: 0 1px 2px gray;">'; 310 $html .= '<div id="panel1" class="panel">'; 312 311 $html .= '<h3>Exception '.$code.'</h3><h4>'.$this->message.'</h4>'; 313 312 $html .= '<strong>File: </strong>'.dirname($this->file).DS; -
trunk/themes/core/css/error.css
r6007 r6027 20 20 color: #222222; 21 21 font-size:12px; 22 } 23 24 .panel { 25 background: none repeat scroll 0 0 #FDF599; 26 border: 1px solid #E03937; 27 border-radius: 3px 3px 3px 3px; 28 box-shadow: 0 1px 2px gray; 29 margin-bottom: 10px; 30 padding: 0 0 15px 15px; 31 } 32 33 .panel h3 { 34 border-bottom: 1px dotted #E03937; 35 padding-bottom: 0.6em; 36 width: 20%; 37 } 38 39 .panel smalltext { 40 font-weight: normal; 41 font-size: 10px; 22 42 } 23 43
Note: See TracChangeset
for help on using the changeset viewer.
