diff options
author | Arun Persaud <arun@nubati.net> | 2007-12-14 12:07:39 +0100 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2007-12-14 12:07:39 +0100 |
commit | 3db5eb27624bf78817a69da847af22f3986f20fe (patch) | |
tree | 069ceff8bdd50e093ef5997ed386caad21525fd5 /stats.php | |
parent | c7f38cf790f4fa7b5ded66377dc9d79577a93c4e (diff) | |
download | e-DoKo-3db5eb27624bf78817a69da847af22f3986f20fe.tar.gz e-DoKo-3db5eb27624bf78817a69da847af22f3986f20fe.tar.bz2 e-DoKo-3db5eb27624bf78817a69da847af22f3986f20fe.zip |
LAYOUT: made login/logout message in stats.php look nicer
title says it all ;)
Diffstat (limited to 'stats.php')
-rw-r--r-- | stats.php | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -28,7 +28,8 @@ if(myisset("logout")) session_unset(); session_destroy(); $_SESSION = array(); - echo "you are now logged out!"; + echo "<div class=\"message\"><span class=\"bigger\">You are now logged out!</span><br />\n". + "(<a href=\"$host\">This will take you back to the home-page</a>)</div>"; } /* user status page */ else if( isset($_SESSION["name"]) ) @@ -233,7 +234,8 @@ else if( isset($_SESSION["name"]) ) else { /* send them back to the login page */ - echo "<p>Please log in</p>"; + echo "<div class=\"message\"><span class=\"bigger\">You need to log in!</span><br />\n". + "(<a href=\"$host\">This will take you back to the login-page</a>)</div>"; } output_footer(); |