Fixed default page setting when blog selected.

pull/73/head
Joe Prochazka 2016-01-29 10:29:07 -05:00
rodzic e07a398b65
commit 4c9671d98d
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -159,7 +159,7 @@
<div class="form-group">
<label for="defaultPage">Default Page</label>
<select class="form-control" id="defaultPage" name="defaultPage">
<option value="blog.php"<?php ($defaultPage == "blog.php" ? print ' selected' : ''); ?>>Blog</option>
<option value="blog"<?php ($defaultPage == "blog" ? print ' selected' : ''); ?>>Blog</option>
<option value="system.php"<?php ($defaultPage == "system.php" ? print ' selected' : ''); ?>>System Information</option>
<option value="graphs.php"<?php ($defaultPage == "graphs.php" ? print ' selected' : ''); ?>>Performance Graphs</option>
<option value="dump1090.php"<?php ($defaultPage == "dump1090.php" ? print ' selected' : ''); ?>>Live Dump1090 Map</option>

Wyświetl plik

@ -10,7 +10,7 @@
</setting>
<setting>
<name>defaultPage</name>
<value>blog.php</value>
<value>blog</value>
</setting>
<setting>
<name>enableBlog</name>