summaryrefslogtreecommitdiffstats
path: root/include/output.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/output.php')
-rw-r--r--include/output.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/output.php b/include/output.php
index 2f846be..81f01c5 100644
--- a/include/output.php
+++ b/include/output.php
@@ -372,7 +372,13 @@ function output_status()
date_default_timezone_set($zone);
echo "<div class=\"lastlogin\">last login: ".date("r",$unixtime)."</div>\n";
- };
+ }
+ else
+ {
+ echo "\n<div class=\"status\">\n";
+ echo "<a href=\"".$INDEX."\">login</a>\n";
+ echo "</div>\n";
+ }
return;
}