X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=functions%2Fdisplay_messages.php;h=f035a2014e7a0a8b174865bba30974766280285c;hp=090fc062ad04902be7fa8de8d43fcc5fecc989f6;hb=472e7acbb50c8496ec9ae730bb82d785add1ed96;hpb=4ee86d708f8f8e63044a59c583d76b99e3e735b8;ds=sidebyside diff --git a/functions/display_messages.php b/functions/display_messages.php index 090fc062..f035a201 100644 --- a/functions/display_messages.php +++ b/functions/display_messages.php @@ -34,25 +34,6 @@ function sqm_baseuri(){ return $base_uri; } -function error_username_password_incorrect() { - global $frame_top, $color; - /* XXX: Should really not start the HTML before this, or close off more - cleanly. */ - - if (!isset($frame_top)) { - $frame_top = '_top'; - } - $string = ''. - _("Unknown user or password incorrect.") . - ''. - '' . _("Click here to try again") . - '.'. - ''; - error_box($string,$color); -echo ''; -} - function error_message($message, $mailbox, $sort, $startMessage, $color) { $urlMailbox = urlencode($mailbox); @@ -154,7 +135,7 @@ function error_box($string, $color) { echo ' '; echo ' '; echo ' '; echo '
'; - echo ' ' . _("ERROR") . ':'; + echo ' ' . $err . ':'; echo '
'; echo ' ';