diff options
author | Arun Persaud <arun@nubati.net> | 2008-05-01 20:15:35 -0700 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2008-05-01 20:22:08 -0700 |
commit | 64f953012ebda0912a4e92ff3301f09957019477 (patch) | |
tree | 5bb859db378c58565331d557b9a503c7fc09c4ac /include/functions.php | |
parent | 5aa7d5dd2d0b487188fef191c6e5ef38f13e38f7 (diff) | |
download | e-DoKo-64f953012ebda0912a4e92ff3301f09957019477.tar.gz e-DoKo-64f953012ebda0912a4e92ff3301f09957019477.tar.bz2 e-DoKo-64f953012ebda0912a4e92ff3301f09957019477.zip |
CLEANUP: moved the statistics page into the include directory
added action=stats and moved the stats.php page to the include directory. Now we
have a nice small index.php. Also moved the session_start in front of the includes,
since it gave me an error on the mac otherwise?!
Signed-off-by: Arun Persaud <arun@nubati.net>
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions.php b/include/functions.php index 28e5937..4abaf93 100644 --- a/include/functions.php +++ b/include/functions.php @@ -808,7 +808,7 @@ function display_table () function display_user_menu() { - global $WIKI,$myid,$INDEX,$STATS; + global $WIKI,$myid,$INDEX; echo "<div class=\"usermenu\">\n". "<a href=\"".$INDEX."\"> Go to my user page </a>"; @@ -828,7 +828,7 @@ function display_user_menu() echo "<hr /> <a href=\"".$INDEX."?action=new\">Start a new game</a>\n"; - echo "<hr /> <a href=\"".$STATS."\">Statistics</a>\n"; + echo "<hr /> <a href=\"".$INDEX."?action=stats\">Statistics</a>\n"; echo "<hr />Report bugs in the <a href=\"".$WIKI."\">wiki</a>\n"; |