mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Merge pull request #902 from phil-davis/master
Standardise LAN net display
This commit is contained in:
commit
db58ccd0f3
@ -381,7 +381,7 @@ if ($input_errors)
|
||||
if(have_ruleint_access($ifent)):
|
||||
?>
|
||||
<option value="<?=$ifent;?>" <?php if ($pconfig['src'] == $ifent) { echo "selected=\"selected\""; } ?>>
|
||||
<?=htmlspecialchars($ifdesc);?> <?=gettext("subnet"); ?>
|
||||
<?=htmlspecialchars($ifdesc);?> <?=gettext("net"); ?>
|
||||
</option>
|
||||
<option value="<?=$ifent;?>ip"<?php if ($pconfig['src'] == $ifent . "ip") { echo "selected=\"selected\""; } ?>>
|
||||
<?=$ifdesc?> <?=gettext("address");?>
|
||||
@ -463,7 +463,7 @@ if ($input_errors)
|
||||
if(have_ruleint_access($if)):
|
||||
?>
|
||||
<option value="<?=$if;?>" <?php if ($pconfig['dst'] == $if) { echo "selected=\"selected\""; } ?>><?=htmlspecialchars($ifdesc);?>
|
||||
<?=gettext("subnet"); ?>
|
||||
<?=gettext("net"); ?>
|
||||
</option>
|
||||
<option value="<?=$if;?>ip"<?php if ($pconfig['dst'] == $if . "ip") { echo "selected=\"selected\""; } ?>>
|
||||
<?=$ifdesc;?> <?=gettext("address");?>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -986,7 +986,7 @@ include("head.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>
|
||||
@ -1086,7 +1086,7 @@ include("head.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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user