Initial revision

This commit is contained in:
Jeremy Newman
2004-03-15 16:22:00 +00:00
commit 8f28ae10c4
122 changed files with 8116 additions and 0 deletions

28
include/sidebar_login.php Normal file
View File

@@ -0,0 +1,28 @@
<?
/*
* Login SideBar
*
*/
function global_sidebar_login() {
global $apidb_root;
$g = new htmlmenu("User Menu");
if(loggedin())
{
$g->add("Logout", $apidb_root."account.php?cmd=logout");
$g->add("Preferences", $apidb_root."preferences.php");
}
else
{
$g->add("Login", $apidb_root."account.php?cmd=login");
}
$g->done();
}
?>