X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fdisplay_messages.php;h=a517984af2b2871d07d38f0a705835d5177687f5;hb=40f200abbb548b1eb40a437ce70b32ee7ae867bb;hp=9fd589676b5c5b243bc405eef99c3a856fee6ce6;hpb=90d3887ef115a853c2996caecb1c414d68169035;p=squirrelmail.git
diff --git a/functions/display_messages.php b/functions/display_messages.php
index 9fd58967..a517984a 100644
--- a/functions/display_messages.php
+++ b/functions/display_messages.php
@@ -3,7 +3,7 @@
/**
* display_messages.php
*
- * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Copyright (c) 1999-2003 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This contains all messages, including information, error, and just
@@ -28,8 +28,8 @@ function sqm_baseuri(){
if (isset($base_uri)){
return $base_uri;
}
- $dirs = array("|src/.*|", "|plugins/.*|", "|functions/.*|");
- $repl = array("", "", "");
+ $dirs = array('|src/.*|', '|plugins/.*|', '|functions/.*|');
+ $repl = array('', '', '');
$base_uri = preg_replace($dirs, $repl, $PHP_SELF);
return $base_uri;
}
@@ -42,70 +42,51 @@ function error_username_password_incorrect() {
if (!isset($frame_top)) {
$frame_top = '_top';
}
-
- echo '
'.
- '
' . _("ERROR") . ' | '. - '|
---|---|
'.
- ' ' . _("Unknown user or password incorrect.") . - ' '.
+ _("Unknown user or password incorrect.") .
+ ' | |
'. + '' . _("Click here to try again") . - '.'. - ' |