|
@@ -6,8 +6,8 @@ discard block |
|
|
block discarded – undo |
|
6
|
6
|
if (!isset($globalJsonCompress)) $compress = true; |
|
7
|
7
|
else $compress = $globalJsonCompress; |
|
8
|
8
|
|
|
9
|
|
-if (isset($_GET['ident'])) $ident = filter_input(INPUT_GET,'ident',FILTER_SANITIZE_STRING); |
|
10
|
|
-if (isset($_GET['flightaware_id'])) $flightaware_id = filter_input(INPUT_GET,'flightaware_id',FILTER_SANITIZE_STRING); |
|
|
9
|
+if (isset($_GET['ident'])) $ident = filter_input(INPUT_GET, 'ident', FILTER_SANITIZE_STRING); |
|
|
10
|
+if (isset($_GET['flightaware_id'])) $flightaware_id = filter_input(INPUT_GET, 'flightaware_id', FILTER_SANITIZE_STRING); |
|
11
|
11
|
$archive = false; |
|
12
|
12
|
if (isset($_COOKIE['archive_begin']) && $_COOKIE['archive_begin'] != '') $archive = true; |
|
13
|
13
|
?> |
|
@@ -215,7 +215,7 @@ discard block |
|
|
block discarded – undo |
|
215
|
215
|
if (typeof props != 'undefined') { |
|
216
|
216
|
var thedate = new Date(props); |
|
217
|
217
|
$("#thedate").html(thedate.toUTCString()); |
|
218
|
|
- // $("#archivebox").html('<h4><?php echo str_replace("'","\'",_("Archive Date & Time")); ?></h4>' + '<b><i class="fa fa-spinner fa-pulse fa-2x fa-fw margin-bottom"></i></b>'); |
|
|
218
|
+ // $("#archivebox").html('<h4><?php echo str_replace("'", "\'", _("Archive Date & Time")); ?></h4>' + '<b><i class="fa fa-spinner fa-pulse fa-2x fa-fw margin-bottom"></i></b>'); |
|
219
|
219
|
} |
|
220
|
220
|
} |
|
221
|
221
|
<?php |
|
@@ -366,7 +366,7 @@ discard block |
|
|
block discarded – undo |
|
366
|
366
|
<?php |
|
367
|
367
|
} else { |
|
368
|
368
|
?> |
|
369
|
|
- var movingtime = Math.round(<?php if (isset($archiveupdatetime)) print $archiveupdatetime*1000; else print $globalMapRefresh*1000+20000; ?>+feature.properties.sqt*1000); |
|
|
369
|
+ var movingtime = Math.round(<?php if (isset($archiveupdatetime)) print $archiveupdatetime*1000; else print $globalMapRefresh*1000 + 20000; ?>+feature.properties.sqt*1000); |
|
370
|
370
|
return new L.Marker.movingMarker([latLng, feature.properties.nextlatlon],[movingtime],{ |
|
371
|
371
|
<?php |
|
372
|
372
|
} |
|
@@ -383,7 +383,7 @@ discard block |
|
|
block discarded – undo |
|
383
|
383
|
/* |
|
384
|
384
|
shadowUrl: iconURLShadowpath, |
|
385
|
385
|
shadowSize: [<?php print $globalAircraftSize; ?>, <?php print $globalAircraftSize; ?>], |
|
386
|
|
- shadowAnchor: [<?php print ($globalAircraftSize/2)+1; ?>, <?php print $globalAircraftSize; ?>] |
|
|
386
|
+ shadowAnchor: [<?php print ($globalAircraftSize/2) + 1; ?>, <?php print $globalAircraftSize; ?>] |
|
387
|
387
|
*/ |
|
388
|
388
|
}) |
|
389
|
389
|
}) |
|
@@ -416,7 +416,7 @@ discard block |
|
|
block discarded – undo |
|
416
|
416
|
<?php |
|
417
|
417
|
} else { |
|
418
|
418
|
?> |
|
419
|
|
- var movingtime = Math.round(<?php if (isset($archiveupdatetime)) print $archiveupdatetime*1000; else print $globalMapRefresh*1000+20000; ?>+feature.properties.sqt*1000); |
|
|
419
|
+ var movingtime = Math.round(<?php if (isset($archiveupdatetime)) print $archiveupdatetime*1000; else print $globalMapRefresh*1000 + 20000; ?>+feature.properties.sqt*1000); |
|
420
|
420
|
return new L.Marker.movingMarker([latLng, feature.properties.nextlatlon],[movingtime],{ |
|
421
|
421
|
<?php |
|
422
|
422
|
} |
|
@@ -463,7 +463,7 @@ discard block |
|
|
block discarded – undo |
|
463
|
463
|
<?php |
|
464
|
464
|
} else { |
|
465
|
465
|
?> |
|
466
|
|
- var movingtime = Math.round(<?php if (isset($archiveupdatetime)) print $archiveupdatetime*1000; else print $globalMapRefresh*1000+20000; ?>+feature.properties.sqt*1000); |
|
|
466
|
+ var movingtime = Math.round(<?php if (isset($archiveupdatetime)) print $archiveupdatetime*1000; else print $globalMapRefresh*1000 + 20000; ?>+feature.properties.sqt*1000); |
|
467
|
467
|
return new L.Marker.movingMarker([latLng, feature.properties.nextlatlon],[movingtime],{ |
|
468
|
468
|
<?php |
|
469
|
469
|
} |