From c5175d4a06c993ff7f42c16178b6d4db49b7387e Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Mon, 18 Mar 2013 01:32:14 -0700 Subject: Wall orientation achievements - huge commit. --- includes/header.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'includes/header.php') diff --git a/includes/header.php b/includes/header.php index 3965357..71c2a5c 100644 --- a/includes/header.php +++ b/includes/header.php @@ -153,7 +153,7 @@ function htmlFooter() { } function topbar($links) { - global $accepted, $wallColor, $wallEmblem, $request; + global $accepted, $wallColor, $wallEmblem, $wallOrientation, $request; @@ -191,7 +191,7 @@ function topbar($links) { echo " Update your name | "; echo " Logout"; echo " "; - echo "
+ echo "
"; @@ -207,9 +207,9 @@ function topbar($links) { } function userDataToJS() { - global $wallColor, $wallEmblem, $accepted; + global $wallColor, $wallEmblem, $wallOrientation, $accepted; if (!$accepted) { - $r = 'var userObj = {"wallColor":false,"wallEmblem":false,'; + $r = 'var userObj = {"wallColor":false,"wallEmblem":false,"wallOrientation":false,'; $r .= '"ID":"-1","accepted":false,"hasInsaneSpeed":false};'; } else { $userID = $_SESSION['userID']; @@ -220,6 +220,7 @@ function userDataToJS() { $json['ID'] = $userID; $json['wallColor'] = $wallColor; $json['wallEmblem'] = $wallEmblem; + $json['wallOrientation'] = $wallOrientation; $json['hasInsaneSpeed'] = $hasInsaneSpeed; $json['accepted'] = 'true'; -- cgit v1.2.3