diff options
Diffstat (limited to 'kohana/views')
| -rw-r--r-- | kohana/views/kohana_error_disabled.php | 6 | ||||
| -rw-r--r-- | kohana/views/kohana_error_page.php | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/kohana/views/kohana_error_disabled.php b/kohana/views/kohana_error_disabled.php index ed44b396..cd911328 100644 --- a/kohana/views/kohana_error_disabled.php +++ b/kohana/views/kohana_error_disabled.php @@ -2,13 +2,13 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> +<style type="text/css"> +<?php include Kohana::find_file('views', 'kohana_errors', FALSE, 'css') ?> +</style> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title><?php echo $error ?></title> </head> <body> -<style type="text/css"> -<?php include Kohana::find_file('views', 'kohana_errors', FALSE, 'css') ?> -</style> <div id="framework_error" style="width:24em;margin:50px auto;"> <h3><?php echo html::specialchars($error) ?></h3> <p style="text-align:center"><?php echo $message ?></p> diff --git a/kohana/views/kohana_error_page.php b/kohana/views/kohana_error_page.php index 572e057d..944064cc 100644 --- a/kohana/views/kohana_error_page.php +++ b/kohana/views/kohana_error_page.php @@ -2,14 +2,14 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> +<style type="text/css"> +<?php include Kohana::find_file('views', 'kohana_errors', FALSE, 'css') ?> +</style> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title><?php echo $error ?></title> <base href="http://php.net/" /> </head> <body> -<style type="text/css"> -<?php include Kohana::find_file('views', 'kohana_errors', FALSE, 'css') ?> -</style> <div id="framework_error" style="width:42em;margin:20px auto;"> <h3><?php echo html::specialchars($error) ?></h3> <p><?php echo html::specialchars($description) ?></p> |
