diff options
author | Phil Davis <phil.davis@world.inf.org> | 2014-02-10 03:02:05 -0800 |
---|---|---|
committer | Phil Davis <phil.davis@world.inf.org> | 2014-02-10 03:02:05 -0800 |
commit | 2e769d69d060aa4eea721b333894adb1c88e645b (patch) | |
tree | c8b7ba9be72e73a51b677226a4d57a5b0b6641fc | |
parent | 50e10c80a28c9f9e88f8ac4522bac540e1570baf (diff) | |
download | pfsense-2e769d69d060aa4eea721b333894adb1c88e645b.zip pfsense-2e769d69d060aa4eea721b333894adb1c88e645b.tar.gz |
Standardise LAN net display
-rwxr-xr-x | usr/local/www/firewall_nat_edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/firewall_nat_edit.php b/usr/local/www/firewall_nat_edit.php index 1f5469d..61fef62 100755 --- a/usr/local/www/firewall_nat_edit.php +++ b/usr/local/www/firewall_nat_edit.php @@ -576,7 +576,7 @@ include("fbegin.inc"); ?> <?php foreach ($ifdisp as $ifent => $ifdesc): ?> <?php if(have_ruleint_access($ifent)): ?> - <option value="<?=$ifent;?>" <?php if ($pconfig['src'] == $ifent) { echo "selected=\"selected\""; } ?>><?=htmlspecialchars($ifdesc);?> <?=gettext("subnet"); ?></option> + <option value="<?=$ifent;?>" <?php if ($pconfig['src'] == $ifent) { echo "selected=\"selected\""; } ?>><?=htmlspecialchars($ifdesc);?> <?=gettext("net"); ?></option> <option value="<?=$ifent;?>ip"<?php if ($pconfig['src'] == $ifent . "ip") { echo "selected=\"selected\""; } ?>> <?=$ifdesc?> <?=gettext("address");?> </option> @@ -665,7 +665,7 @@ include("fbegin.inc"); ?> <?php foreach ($ifdisp as $if => $ifdesc): ?> <?php if(have_ruleint_access($if)): ?> - <option value="<?=$if;?>" <?php if ($pconfig['dst'] == $if) { echo "selected=\"selected\""; } ?>><?=htmlspecialchars($ifdesc);?> <?=gettext("subnet"); ?></option> + <option value="<?=$if;?>" <?php if ($pconfig['dst'] == $if) { echo "selected=\"selected\""; } ?>><?=htmlspecialchars($ifdesc);?> <?=gettext("net"); ?></option> <option value="<?=$if;?>ip"<?php if ($pconfig['dst'] == $if . "ip") { echo "selected=\"selected\""; } ?>> <?=$ifdesc;?> <?=gettext("address");?> </option> |