From: ebullient Date: Wed, 11 Jun 2003 18:30:37 +0000 (+0000) Subject: update error_box, use more echos rather than big concat, X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=36ec6865435cae4ac4fc916b89ff0dfd7569cfb9;p=squirrelmail.git update error_box, use more echos rather than big concat, ensure header check in both stable and devel git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5001 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/display_messages.php b/functions/display_messages.php index e5520ffa..090fc062 100644 --- a/functions/display_messages.php +++ b/functions/display_messages.php @@ -150,18 +150,19 @@ function error_box($string, $color) { echo "\n\n"; } - echo ' ' - . ' ' - . '
' - . ' ' - . ' ' - . '
' - . ' ' . $err . ':' - . '
' - . ' ' - . ' ' . html_tag( 'td', $string."\n", 'left') . '' - . '
' - . '
' - . ' '; + echo ' '; + echo ' '; + echo '
'; + echo ' '; + echo ' '; + echo '
'; + echo ' ' . _("ERROR") . ':'; + echo '
'; + echo ' '; + echo ' ' . html_tag( 'td', $string."\n", 'left') + . ''; + echo '
'; + echo '
'; + echo ' '; } ?>