summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-01-05 17:09:49 +0000
committerErmal Luçi <eri@pfsense.org>2009-01-05 17:09:49 +0000
commita077b4790c03979ccca373f426dbf97f9e8e0815 (patch)
tree6d676e6e120054902096f04a53949932d96a8d11 /usr/local/www/system.php
parent9cf4883207c9f7b7765d55951cdd2ed5ac846190 (diff)
downloadpfsense-a077b4790c03979ccca373f426dbf97f9e8e0815.zip
pfsense-a077b4790c03979ccca373f426dbf97f9e8e0815.tar.gz
Show interface/gateway selection on dns list configuration only if we are on multiwan. This avoids some confusion on why the lists are blank.
Diffstat (limited to 'usr/local/www/system.php')
-rwxr-xr-xusr/local/www/system.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/system.php b/usr/local/www/system.php
index 3f42f22..fe466da 100755
--- a/usr/local/www/system.php
+++ b/usr/local/www/system.php
@@ -277,9 +277,9 @@ include("head.inc");
<input name="dns<?php echo $dnscounter;?>" type="text" class="formfld unknown" id="dns<?php echo $dnscounter;?>" size="20" value="<?php echo $pconfig['dns'.$dnscounter];?>">
</td>
<td>
+<?php if ($multiwan): ?>
<select name='<?=$fldname;?>'>
<?php
- if ($multiwan) {
$interface = "none";
$dnsgw = "dns{$dnscounter}gwint";
if($pconfig[$dnsgw] == $interface) {
@@ -298,9 +298,9 @@ include("head.inc");
echo "<option value='$interface' $selected>". ucwords($interface) ."</option>\n";
}
}
- }
?>
</select>
+<?php endif; ?>
</td>
</tr>
<?php endfor; ?>
OpenPOWER on IntegriCloud