From 38bf9d3b71067a51ffc9a915ea288929d1fb08e4 Mon Sep 17 00:00:00 2001 From: yllar <yllar.pajus@gmail.com> Date: Thu, 14 Dec 2006 15:44:42 -0500 Subject: [PATCH] updated Spanish translation --- program/steps/error.inc | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/program/steps/error.inc b/program/steps/error.inc index 9e5757d..8ba39d3 100644 --- a/program/steps/error.inc +++ b/program/steps/error.inc @@ -34,6 +34,7 @@ » Safari 1.2+<br /> <br /> » JavaScript enabled<br /> +» Support for XMLHTTPRequest<br /> <p><i>Your configuration:</i><br /> $user_agent</p> @@ -52,7 +53,7 @@ else if ($ERROR_CODE==404) { $__error_title = "REQUEST FAILED/FILE NOT FOUND"; - $request_url = $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; + $request_url = htmlentities($_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']); $__error_text = <<<EOF The requested page was not found!<br /> Please contact your server-administrator. @@ -68,11 +69,11 @@ { $__error_title = "SERVICE CURRENTLY NOT AVAILABLE!"; $__error_text = "Please contact your server-administrator."; - + if (($CONFIG['debug_level'] & 4) && $ERROR_MESSAGE) $__error_text = $ERROR_MESSAGE; else - $__error_text = 'Error No. '.dechex($ERROR_CODE).')'; + $__error_text = sprintf('Error No. [0x%04X]', $ERROR_CODE); } -- Gitblit v1.9.1