mirror of
https://github.com/opnsense/core.git
synced 2026-02-03 20:39:42 -05:00
firewall: double check the theory of 4c559a63d4
While here add the proper translation and safeguarding.
This commit is contained in:
parent
45597a976c
commit
e2d95ad672
2 changed files with 2 additions and 2 deletions
|
|
@ -961,7 +961,7 @@ include("head.inc");
|
|||
<td><a id="help_for_interface" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Interface");?></td>
|
||||
<td>
|
||||
<?php if (!empty($pconfig['floating'])): ?>
|
||||
<select name="interface[]" id="interface" title="Select interfaces..." multiple="multiple" class="selectpicker" data-live-search="true" data-size="5" tabindex="2">
|
||||
<select name="interface[]" id="interface" title="<?= html_safe(gettext('Select interfaces...')) ?>" multiple="multiple" class="selectpicker" data-live-search="true" data-size="5" tabindex="2">
|
||||
<?php else: ?>
|
||||
<select name="interface" id="interface" class="selectpicker" data-live-search="true" data-size="5">
|
||||
<?php endif ?>
|
||||
|
|
|
|||
|
|
@ -291,7 +291,7 @@ include("head.inc");
|
|||
<tr>
|
||||
<td><a id="help_for_interface" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Interface");?></td>
|
||||
<td>
|
||||
<select name="interface[]" title="<?= html_safe('Select interfaces...') ?>" multiple="multiple" class="selectpicker" data-live-search="true" data-size="5">
|
||||
<select name="interface[]" title="<?= html_safe(gettext('Select interfaces...')) ?>" multiple="multiple" class="selectpicker" data-live-search="true" data-size="5">
|
||||
<?php
|
||||
foreach (legacy_config_get_interfaces(array("enable" => true)) as $iface => $ifaceInfo): ?>
|
||||
<option value="<?=$iface;?>"
|
||||
|
|
|
|||
Loading…
Reference in a new issue