Changeset 3421 for trunk/system/views

Show
Ignore:
Timestamp:
09/09/2008 11:06:57 AM (3 months ago)
Author:
Shadowhand
Message:

Re-enabled the core.display_errors setting

Location:
trunk/system/views/kohana
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/views/kohana/error_disabled.php

    r3345 r3421  
    33<head> 
    44        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> 
    5         <title><?php echo $error ?></title> 
     5        <title><?php echo $code ?></title> 
    66        <style type="text/css"> 
    7         <?php include Kohana::find_file('views', 'kohana/error_style', FALSE, 'css') ?> 
     7        body { font-size: 90%; font-family: sans-serif; line-height: 160%; background: #eee; } 
     8        #framework_error { text-align: center; background: #fff; } 
     9        #framework_error h1 { padding: 0.2em 1em; margin: 0; font-size: 0.9em; font-weight: normal; text-transform: uppercase; background: #cff292; color: #911; } 
     10        #framework_error p { padding: 1em; margin: 0; } 
    811        </style> 
    912</head> 
    1013<body> 
    1114        <div id="framework_error" style="width:24em;margin:50px auto;"> 
    12                 <h3><?php echo html::specialchars($error) ?></h3> 
    13                 <p style="text-align:center"><?php echo $message ?></p> 
     15                <h1><?php echo html::specialchars($code) ?></h1> 
     16                <p style="text-align:center"><?php echo $error ?></p> 
    1417        </div> 
    1518</body> 
  • trunk/system/views/kohana/error_style.css

    r3366 r3421  
    1313        div.kohana_trace ul.trace { list-style: none; padding: 0; margin: 0; line-height: 120%; } 
    1414                div.kohana_trace ul.trace li { display: list-item; font-family: monospace; } 
     15        div.kohana_trace .logged { padding: 0.6em; margin: 0; background: #fff; font-size: 1.2em; color: #711; text-align: center; }