summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-16 23:02:23 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-16 23:02:23 +0000
commit9cba3649402184febfa0d4f5e6f7c192eee0df29 (patch)
treeb48ad1b36ca58b0ff2aa42f54be7c8bf533902ac /usr/local
parent19f09ae12749935168bf7818a49bf3f885ff382c (diff)
downloadpfsense-9cba3649402184febfa0d4f5e6f7c192eee0df29.zip
pfsense-9cba3649402184febfa0d4f5e6f7c192eee0df29.tar.gz
Eliminate duplicate queue name on pull down menu.
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/system_advanced.php16
1 files changed, 4 insertions, 12 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php
index c46e354..5f9c29a 100755
--- a/usr/local/www/system_advanced.php
+++ b/usr/local/www/system_advanced.php
@@ -135,7 +135,7 @@ if ($_POST) {
} else {
unset($config['system']['alt_pkgconfig_url']);
}
-
+
$config['system']['webgui']['expanddiags'] = $_POST['expanddiags'] ? true : false;
$config['system']['optimization'] = $_POST['optimization'];
$config['system']['disablerendevouz'] = $_POST['disablerendevouz'];
@@ -425,17 +425,9 @@ function enable_altpkgconfigurl(enable_over) {
<td width="22%" valign="top" class="vncell">Traffic Shaper Scheduler</td>
<td width="78%" class="vtable">
<select id="schedulertype" name="schedulertype" <?= $style ?>>
- <?php
- if($pconfig['schedulertype'] == 'priq')
- echo "<option value=\"priq\">Priority based queueing</option>";
- if($pconfig['schedulertype'] == 'cbq')
- echo "<option value=\"cbq\">Class based queueing</option>";
- if($pconfig['schedulertype'] == 'hfsc')
- echo "<option value=\"hfsc\">Hierarchical Fair Service Curve queueing</option>";
- ?>
- <option value="priq">Priority based queueing</option>
- <option value="cbq">Class based queueing</option>
- <option value="hfsc">Hierarchical Fair Service Curve queueing</option>
+ <option value="priq"<?php if($pconfig['schedulertype'] == 'priq') echo " SELECTED"; ?>>Priority based queueing</option>
+ <option value="cbq"<?php if($pconfig['schedulertype'] == 'cbq') echo " SELECTED"; ?>>Class based queueing</option>
+ <option value="hfsc"<?php if($pconfig['schedulertype'] == 'hfsc') echo " SELECTED"; ?>>Hierarchical Fair Service Curve queueing</option>
</select>
<br> <span class="vexpl"><b>Select which type of queueing you would like to use</b>
<?php if (is_array($config['shaper']['queue']) > 0): ?>
OpenPOWER on IntegriCloud