From 226acff4a350c4550b4b5696df7853b58e2bdd09 Mon Sep 17 00:00:00 2001 From: Jonathan Byrne Date: Wed, 16 Apr 2008 07:54:27 +0000 Subject: [PATCH] KTS-3221 "Custom Error Page text needs rework" Fixed. Changed layout of custom error page. --- config/config.ini | 2 +- customerrorpage.php | 9 +++++---- resources/css/errors.css | 7 ++++--- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/config/config.ini b/config/config.ini index e150a1d..46ce257 100644 --- a/config/config.ini +++ b/config/config.ini @@ -399,7 +399,7 @@ urgentThreshold=5 [CustomErrorMessages] ;Turn custom error messages on or off here. -customerrormessages=off +customerrormessages=on ;name or url of custom error page. customerrorpagepath=customerrorpage.php ;Turn custom error handler on or off. diff --git a/customerrorpage.php b/customerrorpage.php index e2f7397..ca3b253 100644 --- a/customerrorpage.php +++ b/customerrorpage.php @@ -45,7 +45,7 @@ function Click() var open = document.getElementById('exp'); open.style.display = 'block'; var border = document.getElementById('error-container'); - border.style.height = '250px'; + border.style.height = '220px'; } @@ -58,9 +58,10 @@ function Click()
-

Error!! - You have encountered a problem starting your document management system.

-

Please contact your systems administrator

-

For more details, click here

+

An Has Error Occurred

+

You have encountered a problem with your document management system.

+

Please contact your systems administrator.

+

For more information on the error click here:

diff --git a/resources/css/errors.css b/resources/css/errors.css index ac4bc70..15494e6 100644 --- a/resources/css/errors.css +++ b/resources/css/errors.css @@ -5,17 +5,18 @@ div#error-container { font-family: Verdana, Arial, sans-serif; margin:2em auto; padding:10px; - width:470px; + width:600px; } div#error-container div { height: 150px; } div#error-container h1 { - font-weight: lighter; - font-size: 22px; + + font-size: 18px; margin-left: 100px; } div#error-container p { + font-size: 12px; margin-left: 100px; } -- libgit2 0.21.4