From c53c6eb6476ab7f9ef1f080eaa34ec0d076d5ea3 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Tue, 13 Dec 2011 15:09:31 -0800 Subject: Clean URL's --- pages/cp.php | 2 +- pages/embed.php | 8 ++++---- pages/home.php | 18 +++++++++--------- pages/howtoplay.php | 2 +- pages/leaderboard.php | 6 +++--- pages/tutorial.php | 2 +- 6 files changed, 19 insertions(+), 19 deletions(-) (limited to 'pages') diff --git a/pages/cp.php b/pages/cp.php index 7658d13..f5fd566 100644 --- a/pages/cp.php +++ b/pages/cp.php @@ -48,7 +48,7 @@ $displayName = htmlspecialchars($_SESSION['displayName'], ENT_COMPAT | ENT_HTML5

Change your display name

-
+
diff --git a/pages/embed.php b/pages/embed.php index 4c1ca68..7d7e615 100644 --- a/pages/embed.php +++ b/pages/embed.php @@ -90,10 +90,10 @@ $mergesolution = $map; ?>
Easy | "; -echo "Normal | "; -echo "Hard | "; -echo "Special"; +echo "$date: Easy | "; +echo "Normal | "; +echo "Hard | "; +echo "Special"; echo DisplayMap($mergesolution, $mapID); diff --git a/pages/home.php b/pages/home.php index 815f8fd..e347d54 100644 --- a/pages/home.php +++ b/pages/home.php @@ -36,34 +36,34 @@ switch ($numday) { break; } -$easy = 'Simple'; -$normal = 'Normal'; -$hard = 'Complex'; +$easy = 'Simple'; +$normal = 'Normal'; +$hard = 'Complex'; $today = date('l') . "'s"; -$special = "$today $mapstyle"; +$special = "$today $mapstyle"; switch ($_GET['maptype']) { case "easy": case "1": default: $maptype = 1; - $easy = 'Simple'; + $easy = 'Simple'; break; case "normal": case "2": $maptype = 2; - $normal = 'Normal'; + $normal = 'Normal'; break; case "hard": case "3": $maptype = 3; - $hard = 'Complex'; + $hard = 'Complex'; break; case "day": case "4": $maptype = 4; - $special = "$today $mapstyle"; + $special = "$today $mapstyle"; break; } @@ -106,7 +106,7 @@ $mergesolution = $map; if ($_SESSION['accepted'] != 1) { echo "
- Sign in to have your best solution saved. + Sign in to have your best solution saved.
"; } diff --git a/pages/howtoplay.php b/pages/howtoplay.php index a1e07c4..b600fd8 100644 --- a/pages/howtoplay.php +++ b/pages/howtoplay.php @@ -102,7 +102,7 @@ $tpmap = displaymap(GenerateMapByCode($tpcode), 3, 'example');


That should be enough information to get you started. -
Now go try it out! +
Now go try it out!

diff --git a/pages/leaderboard.php b/pages/leaderboard.php index 211422d..2c057a6 100644 --- a/pages/leaderboard.php +++ b/pages/leaderboard.php @@ -94,11 +94,11 @@ function getStat ($type, $daysago = 1) { 1) { $nextday = $daysago - 1; - echo "Current Day"; - echo "Next Day"; + echo "Current Day"; + echo "Next Day"; } $prevday = $daysago + 1; - echo "Previous Day"; + echo "Previous Day"; ?> diff --git a/pages/tutorial.php b/pages/tutorial.php index 9b472ff..782485f 100644 --- a/pages/tutorial.php +++ b/pages/tutorial.php @@ -41,7 +41,7 @@ challenge4.complete = "Well done!
Teleports add extra intrigue to the game."; challenge4.help = "Let's use that teleport to block the way to the A!
We can make the path take longer to get to A in the process."; challenge5.start = "Now for a difficult one. The goal for this one is 75 moves.
Press Go! to check your path."; -challenge5.complete = "Look at you, so pro.
Go play the game!"; +challenge5.complete = "Look at you, so pro.
Go play the game!"; challenge5.help = "Try placing the walls as highlighted."; function challengeGo(mapid) { -- cgit v1.2.3