diff options
Diffstat (limited to 'forum/htdocs/index.php')
-rw-r--r-- | forum/htdocs/index.php | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/forum/htdocs/index.php b/forum/htdocs/index.php index d4547e9..99169ab 100644 --- a/forum/htdocs/index.php +++ b/forum/htdocs/index.php @@ -38,10 +38,13 @@ include_once($UTIL_DIR . "/clientinfo.php"); <body> <div class="menu"> <a href="?mode=forum">Forum</a> -<?php /* <a href="?mode=filehandler">Filehandler</a> */ ?> + <a href="?mode=filehandler">Filehandler</a> <a href="?mode=calendar">Calendar</a> - <a href="?mode=profile">Profile</a> -</div> + <a href="?mode=profile">Profile</a><?php + if($current_user->uid == 0) { +?> <a href="?mode=diagnostics">Diagnostics</a><?php + } +?></div> <?php @@ -75,6 +78,10 @@ if($current_user) { include_once($UTIL_DIR. "/filehandler.php"); break; + case "diagnostics": + include_once($UTIL_DIR. "/diagnostics.php"); + break; + case "view": default: include_once($UTIL_DIR. "/view.php"); |