summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorChristian Pointner <equinox@ffgraz.net>2008-12-07 01:49:13 +0000
committerChristian Pointner <equinox@ffgraz.net>2008-12-07 01:49:13 +0000
commit9ca59f0e400038b2d33e06ea255334b4f71c7600 (patch)
treefa7a535af1d14f8e005bdefeeff497af434fe344 /index.php
parentc93f7d666d312e79c3163c309a1d082e21685bb8 (diff)
removed uncomplete visible arguments
Diffstat (limited to 'index.php')
-rw-r--r--index.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/index.php b/index.php
index 8d381df..296c94a 100644
--- a/index.php
+++ b/index.php
@@ -2,16 +2,11 @@
if(isset($_REQUEST['lat'])) $lat = mysql_escape_string($_REQUEST['lat']);
if(isset($_REQUEST['lng'])) $lng = mysql_escape_string($_REQUEST['lng']);
if(isset($_REQUEST['res'])) $res = $_REQUEST['res'];
-if(isset($_REQUEST['marker']))
- $marker = $_REQUEST['marker'];
-else
- $marker = 'all';
//default values
if(empty($lat)) $lat=47.07102;
if(empty($lng)) $lng=15.440;
if(empty($res)) $res=15;
-if(empty($marker)) $marker="online";
?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
@@ -52,7 +47,7 @@ if(empty($marker)) $marker="online";
<form name="visibleform" action="#" onsubmit="return false">
<table class="legend">
<tr>
- <td><input type="checkbox" name="offline" value="true" onclick="javascript:toggleVisible('offline')" <?php if($marker == "online") printf(' checked="checked"'); ?> ></td>
+ <td><input type="checkbox" name="offline" value="true" onclick="javascript:toggleVisible('offline')" checked="checked"></td>
<td>&nbsp;</td><td align="center"><img src="./img/marker_offline.png" /></td><td>Offline</td>
</tr>
<tr>