From 3d11ea75aaa71cc3e83f1c9121f2ba59369204ef Mon Sep 17 00:00:00 2001 From: raylu Date: Wed, 14 Sep 2011 23:54:16 -0700 Subject: hide login link, change case on 'About Us' --- index.php | 9 ++------- pages/home.php | 2 -- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/index.php b/index.php index 7ae7bd8..6005fe1 100644 --- a/index.php +++ b/index.php @@ -12,16 +12,11 @@ $Links['home'] = "Home"; $Links['leaderboard'] = "Scoreboard"; $Links['howtoplay'] = "How to Play"; //$Links['gallery'] = "Gallery"; -if ($_SESSION['accepted'] <> 1) { - $Links['login'] = "Log In"; -} else { - //$Links['logout'] = "Logout"; -} if ($_SESSION['isAdmin'] == true) { $Links['admin'] = 'Admin'; } $Links['faq'] = "FAQ"; -$Links['about'] = "About us"; +$Links['about'] = "About Us"; switch (strtolower($_GET[page])) { @@ -95,4 +90,4 @@ switch (strtolower($_GET[page])) { require("pages/home.php"); } -?> \ No newline at end of file +?> diff --git a/pages/home.php b/pages/home.php index 3d3a371..8bd7d11 100644 --- a/pages/home.php +++ b/pages/home.php @@ -11,8 +11,6 @@ include('./includes/mapoftheday.php'); include('./includes/datas.php'); - - //Get the current day as int. $numday = date('w'); $numday = intval($numday); -- cgit v1.2.3