blob: 511dc265f0b837418f698cff3b12cc5b5a1ae675 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<script type="text/javascript">
var G=google.maps;
<?php //echo"startsearch='".$search."';\n";?>
<?php //echo"startmenu='".$menu."';\n";?>
<?php //echo"startmarkers='".$markers."';\n";?>
//security flags for js
<?php echo "EDITABLE=".$editable.";\n";?>
<?php echo "DEBUG=".$debug.";\n";?>
<?php echo "STARTPOS=new G.LatLng(".$startlat.",".$startlng.");\n";?>
// Pass any POST variables to Javascript, which are then used in maps-extra.js
var search_posted = '<?php echo (isset($_GET['q']) ? str_replace("'", "\'", htmlspecialchars($_GET['q'])) : ''); // DS added htmlspecialchars 2013 May 8 and single quote escaping 2013 May 9 ?>';
var building_posted = '<?php echo (isset($_GET['b']) ? str_replace("'", "\'", htmlspecialchars($_GET['b'])) : ''); ?>';
var quicklinks_posted = '<?php //echo $quicklinks_posted; ?>';
var submit_the_query_form = false;
</script>
|