kopia lustrzana https://github.com/jprochazka/adsb-receiver
Fixed true false check.
rodzic
1a8a06e284
commit
c28c0dce67
|
@ -426,7 +426,7 @@
|
|||
<div class="panel-body">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" name="useDump1090FaMap" value="TRUE"<?php ($useDump1090FaMap == 1 ? print ' checked' : ''); ?> Use dump1090-fa map instead of the dump1090-mutability map.
|
||||
<input type="checkbox" name="useDump1090FaMap" value="TRUE"<?php ($useDump1090FaMap == 1 ? print ' checked' : ''); ?>> Use dump1090-fa map instead of the dump1090-mutability map. <em>(dump1090-fa must be installed in order for the map to display)</em>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
$pageData['title'] = "Live Dump1090 Map";
|
||||
|
||||
// Decide which dump1090 map to display.
|
||||
if ($common->getSetting('useDump1090FaMap')) {
|
||||
if ($common->getSetting('useDump1090FaMap') == 1) {
|
||||
$pageData['dump1090Map'] = "/dump1090-fa/";
|
||||
} else {
|
||||
$pageData['dump1090Map'] = "/dump1090/gmap.html";
|
||||
|
|
Ładowanie…
Reference in New Issue