summaryrefslogtreecommitdiffstats
path: root/stats.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2007-12-14 12:07:39 +0100
committerArun Persaud <arun@nubati.net>2007-12-14 12:07:39 +0100
commit3db5eb27624bf78817a69da847af22f3986f20fe (patch)
tree069ceff8bdd50e093ef5997ed386caad21525fd5 /stats.php
parentc7f38cf790f4fa7b5ded66377dc9d79577a93c4e (diff)
downloade-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.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/stats.php b/stats.php
index 21b67ed..5bbca26 100644
--- a/stats.php
+++ b/stats.php
@@ -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();