summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorChristian Pointner <equinox@ffgraz.net>2013-12-20 15:05:24 +0000
committerChristian Pointner <equinox@ffgraz.net>2013-12-20 15:05:24 +0000
commit4d3aecf6be519a48a78485be2cf9f35c60d6a3bc (patch)
treee55b19abec0f906dfb012af3e995ba8b2673d055 /index.php
parent1a179692f733831e5bb7b521495f0769e29eb887 (diff)
yet another white space cleanup
Diffstat (limited to 'index.php')
-rw-r--r--index.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/index.php b/index.php
index 03c4577..ff0174c 100644
--- a/index.php
+++ b/index.php
@@ -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>&nbsp;</td><td>!Default</td>
- </tr>
+ </tr>
<tr>
<td><input type="checkbox" name="offline" value="true" onclick="javascript:toggleVisible('offline')"></td>
<td>&nbsp;</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>&nbsp;</td><td>Kanaele undef.</td>
+ <td>&nbsp;</td><td>Kanaele undef.</td>
</table>
<table class="5channel">
<tr>
<td><input type="checkbox" name="5channel" value="true" onclick="javascript:toggleVisible('5channel')"></td>
<td>&nbsp;</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>&nbsp;</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>&nbsp;</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 {