diff options
author | Christian Pointner <equinox@ffgraz.net> | 2013-12-20 15:05:24 +0000 |
---|---|---|
committer | Christian Pointner <equinox@ffgraz.net> | 2013-12-20 15:05:24 +0000 |
commit | 4d3aecf6be519a48a78485be2cf9f35c60d6a3bc (patch) | |
tree | e55b19abec0f906dfb012af3e995ba8b2673d055 /index.php | |
parent | 1a179692f733831e5bb7b521495f0769e29eb887 (diff) |
yet another white space cleanup
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -2,11 +2,11 @@ session_start(); if(isset($_REQUEST['lat'])) $lat = mysql_escape_string($_REQUEST['lat']); -if(isset($_REQUEST['lng'])) $lng = mysql_escape_string($_REQUEST['lng']); +if(isset($_REQUEST['lng'])) $lng = mysql_escape_string($_REQUEST['lng']); if(isset($_REQUEST['res'])) $res = $_REQUEST['res']; //default values -if(empty($lat)) $lat=47.07102; +if(empty($lat)) $lat=47.07102; if(empty($lng)) $lng=15.440; if(empty($res)) $res=15; @@ -28,7 +28,7 @@ if($_SERVER['HTTP_HOST'] == 'dev-karte.ffgraz.net') { <script src="map3.js" type="text/javascript"></script> <script type="text/javascript"> function onLoad() { -<?php +<?php printf(" initialize(" . $lat . ", " . $lng . ", " . $res . ");\n"); ?> } @@ -62,7 +62,7 @@ if($_SERVER['HTTP_HOST'] == 'dev-karte.ffgraz.net') { <tr> <td><input type="checkbox" name="defaultroute" value="true" onclick="javascript:toggleVisible('defaultroute')"></td> <td> </td><td>!Default</td> - </tr> + </tr> <tr> <td><input type="checkbox" name="offline" value="true" onclick="javascript:toggleVisible('offline')"></td> <td> </td><td align="center"><img src="./img/marker_offline.png" /></td> @@ -90,19 +90,19 @@ if($_SERVER['HTTP_HOST'] == 'dev-karte.ffgraz.net') { </table> <table class="undef"> <td><input type="checkbox" name="undef" value="true" onclick="javascript:toggleVisible('undef')"></td> - <td> </td><td>Kanaele undef.</td> + <td> </td><td>Kanaele undef.</td> </table> <table class="5channel"> <tr> <td><input type="checkbox" name="5channel" value="true" onclick="javascript:toggleVisible('5channel')"></td> <td> </td><td>Alle 5GHz Kanaele</td> - </tr> + </tr> </table> <table class="2.4channel"> <tr> <td><input type="checkbox" name="2.4channel" value="true" onclick="javascript:toggleVisible('2.4channel')"></td> <td> </td><td>Alle 2.4GHz Kanaele</td> - </tr> + </tr> </table> <table class="channel"> <tr> @@ -141,7 +141,7 @@ if($_SERVER['HTTP_HOST'] == 'dev-karte.ffgraz.net') { <tr> <td><input type="checkbox" name="channel13" value="true" onclick="javascript:toggleVisible('channel13')"></td> <td> </td><td>13</td> - </tr> + </tr> </table> </form> </div> @@ -149,7 +149,7 @@ if($_SERVER['HTTP_HOST'] == 'dev-karte.ffgraz.net') { <div id="southeastcontainer"> <div id="loginbox" class="box"> <script type="text/javascript"> - <?php + <?php if (!isset($_SESSION['logged_in']) || !$_SESSION['logged_in']) { echo 'showFFLogin();'; } else { |