From 36ec6865435cae4ac4fc916b89ff0dfd7569cfb9 Mon Sep 17 00:00:00 2001 From: ebullient Date: Wed, 11 Jun 2003 18:30:37 +0000 Subject: [PATCH] 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 --- functions/display_messages.php | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) 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 ' '; } ?> -- 2.25.1