mirror of
https://github.com/lucaspalomodevelop/opnsense-core.git
synced 2026-03-13 00:07:27 +00:00
src: minor style issues
This commit is contained in:
parent
97327f29ff
commit
8e44615f86
@ -560,12 +560,11 @@ $( document ).ready(function() {
|
||||
<td><a id="help_for_interface" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Interface"); ?></td>
|
||||
<td>
|
||||
<select name="interface[]" class="selectpicker" data-width="348px" data-live-search="true" multiple="multiple">
|
||||
<?php
|
||||
foreach (legacy_config_get_interfaces(["enable" => true], ['lo0']) as $iface => $ifdetail): ?>
|
||||
<?php foreach (legacy_config_get_interfaces(["enable" => true], ['lo0']) as $iface => $ifdetail): ?>
|
||||
<option value="<?=$iface;?>" <?= in_array($iface, $pconfig['interface'] ?? []) ? "selected=\"selected\"" : ""; ?>>
|
||||
<?=htmlspecialchars($ifdetail['descr']);?>
|
||||
</option>
|
||||
<?php endforeach; ?>
|
||||
<?php endforeach ?>
|
||||
</select>
|
||||
<div class="hidden" data-for="help_for_interface">
|
||||
<?=gettext("Choose which interface this rule applies to."); ?><br />
|
||||
|
||||
@ -385,7 +385,7 @@ function gentitle($breadcrumbs, $navlevelsep = ': ')
|
||||
return join($navlevelsep, $output) . "$gentitle_suffix";
|
||||
}
|
||||
|
||||
function address_to_pconfig($adr, &$padr, &$pmask, &$pnot, &$pbeginport, &$pendport, $merge_mask=false)
|
||||
function address_to_pconfig($adr, &$padr, &$pmask, &$pnot, &$pbeginport, &$pendport, $merge_mask = false)
|
||||
{
|
||||
if (isset($adr['any'])) {
|
||||
$padr = "any";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user