diff options
author | raylu <raylu@mixpanel.com> | 2011-09-14 23:54:16 -0700 |
---|---|---|
committer | raylu <raylu@mixpanel.com> | 2011-09-14 23:54:16 -0700 |
commit | 3d11ea75aaa71cc3e83f1c9121f2ba59369204ef (patch) | |
tree | 74e0a10a11c352733f94a92436fa437fe9a8687c | |
parent | 7b715e81e7507a3590947c2e48a4511ceed673ed (diff) | |
download | pathery-3d11ea75aaa71cc3e83f1c9121f2ba59369204ef.tar.xz |
hide login link, change case on 'About Us'
-rw-r--r-- | index.php | 9 | ||||
-rw-r--r-- | pages/home.php | 2 |
2 files changed, 2 insertions, 9 deletions
@@ -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);
|