kopia lustrzana https://github.com/jprochazka/adsb-receiver
Merge pull request #263 from jdwall/24-hour-option
Added 24 hour time option in admin/index.phppull/270/head
commit
fd1137bd6f
|
@ -359,18 +359,31 @@
|
|||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="defaultPage">Date Format</label>
|
||||
<label for="defaultPage">Date Format - 12 Hour Format</label>
|
||||
<div class="radio">
|
||||
<label><input type="radio" name="dateFormatSlelection" value="F jS, Y g:i A"<?php ($dateFormat == "F jS, Y g:i A" ? print ' checked' : ''); ?>>October 16, 2015 12:00 PM</label>
|
||||
<label><input type="radio" name="dateFormatSlelection" value="F jS, Y g:i A"<?php ($dateFormat == "F jS, Y g:i A" ? print ' checked' : ''); ?>>October 16, 2015 5:00 PM</label>
|
||||
</div>
|
||||
<div class="radio">
|
||||
<label><input type="radio" name="dateFormatSlelection" value="Y-m-d g:i A"<?php ($dateFormat == "Y-m-d g:i A" ? print ' checked' : ''); ?>>2015-10-16 12:00 PM</label>
|
||||
<label><input type="radio" name="dateFormatSlelection" value="Y-m-d g:i A"<?php ($dateFormat == "Y-m-d g:i A" ? print ' checked' : ''); ?>>2015-10-16 5:00 PM</label>
|
||||
</div>
|
||||
<div class="radio">
|
||||
<label><input type="radio" name="dateFormatSlelection" value="m/d/Y g:i A"<?php ($dateFormat == "m/d/Y g:i A" ? print ' checked' : ''); ?>>16/10/2015 12:00 PM</label>
|
||||
<label><input type="radio" name="dateFormatSlelection" value="m/d/Y g:i A"<?php ($dateFormat == "m/d/Y g:i A" ? print ' checked' : ''); ?>>16/10/2015 5:00 PM</label>
|
||||
</div>
|
||||
<div class="radio">
|
||||
<label><input type="radio" name="dateFormatSlelection" value="d/m/Y g:i A"<?php ($dateFormat == "d/m/Y g:i A" ? print ' checked' : ''); ?>>10/16/2015 12:00 PM</label>
|
||||
<label><input type="radio" name="dateFormatSlelection" value="d/m/Y g:i A"<?php ($dateFormat == "d/m/Y g:i A" ? print ' checked' : ''); ?>>10/16/2015 5:00 PM</label>
|
||||
</div>
|
||||
<label for="defaultPage">Date Format - 24 Hour Format</label>
|
||||
<div class="radio">
|
||||
<label><input type="radio" name="dateFormatSlelection" value="F jS, Y G:i"<?php ($dateFormat == "F jS, Y G:i" ? print ' checked' : ''); ?>>October 16, 2015 17:00</label>
|
||||
</div>
|
||||
<div class="radio">
|
||||
<label><input type="radio" name="dateFormatSlelection" value="Y-m-d G:i"<?php ($dateFormat == "Y-m-d G:i" ? print ' checked' : ''); ?>>2015-10-16 17:00</label>
|
||||
</div>
|
||||
<div class="radio">
|
||||
<label><input type="radio" name="dateFormatSlelection" value="m/d/Y G:i"<?php ($dateFormat == "m/d/Y G:i" ? print ' checked' : ''); ?>>16/10/2015 17:00</label>
|
||||
</div>
|
||||
<div class="radio">
|
||||
<label><input type="radio" name="dateFormatSlelection" value="d/m/Y G:i"<?php ($dateFormat == "d/m/Y G:i" ? print ' checked' : ''); ?>>10/16/2015 17:00</label>
|
||||
</div>
|
||||
<input type="text" class="form-control" id="dateFormat" name="dateFormat" value="<?php echo $dateFormat; ?>">
|
||||
</div>
|
||||
|
@ -660,4 +673,3 @@
|
|||
<?php
|
||||
require_once('includes/footer.inc.php');
|
||||
?>
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue