diff options
Diffstat (limited to 'system/application/errors')
-rw-r--r-- | system/application/errors/error_404.php | 68 | ||||
-rw-r--r-- | system/application/errors/error_db.php | 66 | ||||
-rw-r--r-- | system/application/errors/error_general.php | 66 | ||||
-rw-r--r-- | system/application/errors/error_php.php | 18 |
4 files changed, 109 insertions, 109 deletions
diff --git a/system/application/errors/error_404.php b/system/application/errors/error_404.php index bfe9444b2..cad737596 100644 --- a/system/application/errors/error_404.php +++ b/system/application/errors/error_404.php @@ -1,35 +1,35 @@ -<?php header("HTTP/1.1 404 Not Found"); ?> -<html> -<head> -<title>404 Page Not Found</title> -<style type="text/css"> - -body { -background-color: #fff; -margin: 40px; -font-family: Lucida Grande, Verdana, Sans-serif; -font-size: 12px; -color: #000; -} - -#content { -border: #999 1px solid; -background-color: #fff; -padding: 20px 20px 12px 20px; -} - -h1 { -font-weight: normal; -font-size: 14px; -color: #990000; -margin: 0 0 4px 0; -} -</style> -</head> -<body> - <div id="content"> - <h1><?php echo $heading; ?></h1> - <?php echo $message; ?> - </div> -</body> +<?php header("HTTP/1.1 404 Not Found"); ?>
+<html>
+<head>
+<title>404 Page Not Found</title>
+<style type="text/css">
+
+body {
+background-color: #fff;
+margin: 40px;
+font-family: Lucida Grande, Verdana, Sans-serif;
+font-size: 12px;
+color: #000;
+}
+
+#content {
+border: #999 1px solid;
+background-color: #fff;
+padding: 20px 20px 12px 20px;
+}
+
+h1 {
+font-weight: normal;
+font-size: 14px;
+color: #990000;
+margin: 0 0 4px 0;
+}
+</style>
+</head>
+<body>
+ <div id="content">
+ <h1><?php echo $heading; ?></h1>
+ <?php echo $message; ?>
+ </div>
+</body>
</html>
\ No newline at end of file diff --git a/system/application/errors/error_db.php b/system/application/errors/error_db.php index 1ce52dfc9..71a4b98d8 100644 --- a/system/application/errors/error_db.php +++ b/system/application/errors/error_db.php @@ -1,34 +1,34 @@ -<html> -<head> -<title>Database Error</title> -<style type="text/css"> - -body { -background-color: #fff; -margin: 40px; -font-family: Lucida Grande, Verdana, Sans-serif; -font-size: 12px; -color: #000; -} - -#content { -border: #999 1px solid; -background-color: #fff; -padding: 20px 20px 12px 20px; -} - -h1 { -font-weight: normal; -font-size: 14px; -color: #990000; -margin: 0 0 4px 0; -} -</style> -</head> -<body> - <div id="content"> - <h1><?php echo $heading; ?></h1> - <?php echo $message; ?> - </div> -</body> +<html>
+<head>
+<title>Database Error</title>
+<style type="text/css">
+
+body {
+background-color: #fff;
+margin: 40px;
+font-family: Lucida Grande, Verdana, Sans-serif;
+font-size: 12px;
+color: #000;
+}
+
+#content {
+border: #999 1px solid;
+background-color: #fff;
+padding: 20px 20px 12px 20px;
+}
+
+h1 {
+font-weight: normal;
+font-size: 14px;
+color: #990000;
+margin: 0 0 4px 0;
+}
+</style>
+</head>
+<body>
+ <div id="content">
+ <h1><?php echo $heading; ?></h1>
+ <?php echo $message; ?>
+ </div>
+</body>
</html>
\ No newline at end of file diff --git a/system/application/errors/error_general.php b/system/application/errors/error_general.php index d8610702b..8545286f9 100644 --- a/system/application/errors/error_general.php +++ b/system/application/errors/error_general.php @@ -1,34 +1,34 @@ -<html> -<head> -<title>Error</title> -<style type="text/css"> - -body { -background-color: #fff; -margin: 40px; -font-family: Lucida Grande, Verdana, Sans-serif; -font-size: 12px; -color: #000; -} - -#content { -border: #999 1px solid; -background-color: #fff; -padding: 20px 20px 12px 20px; -} - -h1 { -font-weight: normal; -font-size: 14px; -color: #990000; -margin: 0 0 4px 0; -} -</style> -</head> -<body> - <div id="content"> - <h1><?php echo $heading; ?></h1> - <?php echo $message; ?> - </div> -</body> +<html>
+<head>
+<title>Error</title>
+<style type="text/css">
+
+body {
+background-color: #fff;
+margin: 40px;
+font-family: Lucida Grande, Verdana, Sans-serif;
+font-size: 12px;
+color: #000;
+}
+
+#content {
+border: #999 1px solid;
+background-color: #fff;
+padding: 20px 20px 12px 20px;
+}
+
+h1 {
+font-weight: normal;
+font-size: 14px;
+color: #990000;
+margin: 0 0 4px 0;
+}
+</style>
+</head>
+<body>
+ <div id="content">
+ <h1><?php echo $heading; ?></h1>
+ <?php echo $message; ?>
+ </div>
+</body>
</html>
\ No newline at end of file diff --git a/system/application/errors/error_php.php b/system/application/errors/error_php.php index f085c2037..f5941c96f 100644 --- a/system/application/errors/error_php.php +++ b/system/application/errors/error_php.php @@ -1,10 +1,10 @@ -<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;"> - -<h4>A PHP Error was encountered</h4> - -<p>Severity: <?php echo $severity; ?></p> -<p>Message: <?php echo $message; ?></p> -<p>Filename: <?php echo $filepath; ?></p> -<p>Line Number: <?php echo $line; ?></p> - +<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
+
+<h4>A PHP Error was encountered</h4>
+
+<p>Severity: <?php echo $severity; ?></p>
+<p>Message: <?php echo $message; ?></p>
+<p>Filename: <?php echo $filepath; ?></p>
+<p>Line Number: <?php echo $line; ?></p>
+
</div>
\ No newline at end of file |