Merge branch 'master' of http://nubati.net/git/e-DoKo
[e-DoKo.git] / include / output.php
index 2f846be70badcabaf4b5eb930efc2c4e168f141e..81f01c5dc3fe95f72ad07dee1036c2c5cd60899a 100644 (file)
@@ -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;
 }