]> git.entuzijast.net Git - freeradius-dialup-admin.git/commitdiff
Show date in the user/server test page
authorkkalev <kkalev>
Sun, 1 Sep 2002 09:55:32 +0000 (09:55 +0000)
committerkkalev <kkalev>
Sun, 1 Sep 2002 09:55:32 +0000 (09:55 +0000)
Changelog
htdocs/user_test.php3

index d03cb449eecce2bdcc6ba3428894a48071f5d62c..f8756b591fd1e1f09a70c57f007026b81f9064d5 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -1,6 +1,7 @@
 Ver 1.56:
 * Small html fixes in user_edit.php3 and password.php3
 * Show number of failed logins in the last 7 days in the user admin page
+* Show date in the user/server test page
 Ver 1.55:
 * Update the FAQ about missing attributes from the user/group edit pages and add a few comments
   in the configuration files
index 93da0a844463f4e8451c189aaabf7eb929f0d2c5..d2219602ae0ecf976aecf41a280786f9a3baa374 100644 (file)
@@ -90,14 +90,15 @@ if ($test_user == 1){
                }
                $reply = file($tmp_file);
                unlink($tmp_file);
+               $msg = "<b>" . strftime('%A, %e %B %Y, %T %Z') . "</b><br><br>\n";
                if (ereg('code 2', $reply[0]))
-                       $msg = "<b>Authentication was <font color=green>successful</font>";
+                       $msg .= "<b>Authentication was <font color=green>successful</font>";
                else if (ereg('code 3',$reply[0]))
-                       $msg = "<b>Authentication <font color=red>failed</font>";
+                       $msg .= "<b>Authentication <font color=red>failed</font>";
                else if (ereg('no response from server', $reply[0]))
-                       $msg = "<b><font color=red>No response from server</font>";
+                       $msg .= "<b><font color=red>No response from server</font>";
                else if (ereg('Connection refused',$reply[0]))
-                       $msg = "<b><font color=red>Connection was refused</font>";
+                       $msg .= "<b><font color=red>Connection was refused</font>";
                if ($test_login)
                        $msg .= "</b><i> (test user $login)</i><br>\n";
                else