From 74586665ab1c59b5097342cd380cda9728cdec18 Mon Sep 17 00:00:00 2001 From: kkalev Date: Sun, 1 Sep 2002 09:55:32 +0000 Subject: [PATCH] Show date in the user/server test page --- Changelog | 1 + htdocs/user_test.php3 | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Changelog b/Changelog index d03cb44..f8756b5 100644 --- 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 diff --git a/htdocs/user_test.php3 b/htdocs/user_test.php3 index 93da0a8..d221960 100644 --- a/htdocs/user_test.php3 +++ b/htdocs/user_test.php3 @@ -90,14 +90,15 @@ if ($test_user == 1){ } $reply = file($tmp_file); unlink($tmp_file); + $msg = "" . strftime('%A, %e %B %Y, %T %Z') . "

\n"; if (ereg('code 2', $reply[0])) - $msg = "Authentication was successful"; + $msg .= "Authentication was successful"; else if (ereg('code 3',$reply[0])) - $msg = "Authentication failed"; + $msg .= "Authentication failed"; else if (ereg('no response from server', $reply[0])) - $msg = "No response from server"; + $msg .= "No response from server"; else if (ereg('Connection refused',$reply[0])) - $msg = "Connection was refused"; + $msg .= "Connection was refused"; if ($test_login) $msg .= " (test user $login)
\n"; else -- 2.39.5