diff options
Diffstat (limited to 'forum/htdocs')
-rw-r--r-- | forum/htdocs/index.php | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/forum/htdocs/index.php b/forum/htdocs/index.php index f4d2ed7..d4547e9 100644 --- a/forum/htdocs/index.php +++ b/forum/htdocs/index.php @@ -17,7 +17,7 @@ if($current_user) { case "file": include_once($UTIL_DIR. "/file.php"); - getFile($filename); + getFile($fid); return; } } @@ -38,7 +38,7 @@ include_once($UTIL_DIR . "/clientinfo.php"); <body> <div class="menu"> <a href="?mode=forum">Forum</a> -<?php /* <a href="?mode=files">Filehandler</a> */ ?> +<?php /* <a href="?mode=filehandler">Filehandler</a> */ ?> <a href="?mode=calendar">Calendar</a> <a href="?mode=profile">Profile</a> </div> @@ -55,11 +55,6 @@ if($current_user) { echo "<p>Logged in as: " . $current_user->name . " - <a href=\"?action=logout\">Logout</a></p>"; switch($mode) { - case "test": - // include_once($UTIL_DIR. "/notify.php"); - // notify("Test", "Test"); - break; - case "profile": include_once($UTIL_DIR. "/profile.php"); break; |