summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2012-02-02 23:15:34 -0800
committerPatrick Davison <snapwilliam@gmail.com>2012-02-02 23:15:34 -0800
commit809c2e251ca9adfedf8d8fc43faafae4dad816c8 (patch)
treea2ac093b4682b5d4c20fd14c758396185a903c96
parent59f0f8bd425573d0a33e643bb07477fa0339d4b0 (diff)
downloadpathery-809c2e251ca9adfedf8d8fc43faafae4dad816c8.tar.xz
Achievement page added to links & achievement sound.
-rw-r--r--index.php7
-rw-r--r--sound-config.xml1
2 files changed, 7 insertions, 1 deletions
diff --git a/index.php b/index.php
index bdb2754..042acdc 100644
--- a/index.php
+++ b/index.php
@@ -11,7 +11,8 @@ if ($_SESSION['accepted'] <> 1)
$Links['home'] = "Home";
$Links['leaderboard'] = "Scoreboard";
//$Links['howtoplay'] = "How to Play";
-$Links['tutorial'] = "<i>New</i> Tutorial";
+$Links['tutorial'] = "Tutorial";
+$Links['achievements'] = "<i title='new!'>Achievements</i>";
//$Links['gallery'] = "Gallery";
if ($_SESSION['isAdmin'] == true) {
$Links['admin'] = 'Admin';
@@ -25,6 +26,10 @@ switch (strtolower($_GET[page])) {
require("pages/test.php");
break;
+ case "achievements":
+ require("pages/achievements.php");
+ break;
+
case "share":
require("pages/share.php");
break;
diff --git a/sound-config.xml b/sound-config.xml
index 9549d9a..25f197c 100644
--- a/sound-config.xml
+++ b/sound-config.xml
@@ -15,6 +15,7 @@
<sound id="click" href="click.mp3" />
<sound id="sc" href="transmission.mp3" />
<sound id="hologram" href="hologram.mp3" />
+ <sound id="achieve" href="achieve.mp3" />
</items> \ No newline at end of file