From 9462f29413dc1320b3899f7fbbbb75be64fbaede Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Sat, 9 Feb 2013 14:16:37 -0800 Subject: Huge changes; started deprecation of PHP's displayMap() New JS function 'mapAsHTML(mapAsObject)' getScores() will now return solutions if the map has expired. Homepage now uses mapAsHTML. Removed some padding on scoreboard. scoresFormatPage() supports solutions if available. (This can be row-specific) And tons of CSS - deprecating old CSS. --- pages/home.php | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) (limited to 'pages/home.php') diff --git a/pages/home.php b/pages/home.php index 7898a3c..f8841b5 100644 --- a/pages/home.php +++ b/pages/home.php @@ -1,6 +1,7 @@ -
12/12/12 - We're introducing a new map & mechanic! -I'd like to hear what you think about it! -
Send me a line at the Feedback Page. -
Wir führen eine neue Map und einen neün Mechanismus ein! -Ich wüsste gern, was du davon hältst! -Schick mir einfach eine Zeile auf der Feedback-Seite. +
+Tutorial, FAQ, and Challenge maps are broken. ^_^. +
Still working on The Scores Page. +
Leave feedback in The Chat as per usual.

@@ -228,7 +227,20 @@ function displayMaze($motd, $mapType) { $r .= "
"; $r .= "
"; $r .= " Load your best solution
"; - $r .= DisplayMap($map, $mapID); + //TMP + + $mapObj = new map(getMapCode($mapID), $mapID); + $mapJSON = json_encode($mapObj); + + $r .= "
"; + $r .= "
"; + $r .= ""; + + + + //$r .= DisplayMap($map, $mapID); $r .= "
"; $r .= "
"; -- cgit v1.2.3