diff options
author | Arun Persaud <arun@nubati.net> | 2008-06-15 23:43:19 -0700 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2008-06-16 23:50:20 -0700 |
commit | 27cbc14d28d072c37474ac1e96d677b88dde27ba (patch) | |
tree | f42e40d934677469f8686f6864b33907eb52aa9e /include/output.php | |
parent | 11429eb9238bb0ba7a10a783d293d9051b146795 (diff) | |
download | e-DoKo-27cbc14d28d072c37474ac1e96d677b88dde27ba.tar.gz e-DoKo-27cbc14d28d072c37474ac1e96d677b88dde27ba.tar.bz2 e-DoKo-27cbc14d28d072c37474ac1e96d677b88dde27ba.zip |
NEW FEATURE: login button
added a login button to the top right, in case you were not logged in. output_status can now be called in only one place, ie index.php and all pages will get the menu...
Signed-off-by: Arun Persaud <arun@nubati.net>
Diffstat (limited to 'include/output.php')
-rw-r--r-- | include/output.php | 8 |
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; } |