Commit caa0e63e authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(firewall) unhide bottom row for https://github.com/opnsense/core/issues/1173

(cherry picked from commit 9503d722)
(cherry picked from commit 69e28f84)
(cherry picked from commit 0cd0c895)
(cherry picked from commit 1334374b)
(cherry picked from commit d27cdb43)
(cherry picked from commit 2f5468ae)
parent c7ca373a
......@@ -627,18 +627,18 @@ $( document ).ready(function() {
<tr>
<td colspan="11" align="center" valign="middle">
<span class="text-muted">
<?php if ($selected_if == "FloatingRules"): ?>
<?=gettext("No floating rules are currently defined."); ?><br /><br />
<?php if ($selected_if == 'FloatingRules'): ?>
<?= gettext('No floating rules are currently defined. Floating rules are ' .
'not bound to a single interface and can therefore be used to span ' .
'policies over multiple networks at the same time.'); ?>
<?php else: ?>
<?=gettext("No rules are currently defined for this interface"); ?><br />
<?=gettext("All incoming connections on this interface will be blocked until you add pass rules."); ?><br /><br />
<?= gettext('No interfaces rules are currently defined. All incoming connections ' .
'on this interface will be blocked until you add a pass rule.') ?>
<?php endif; ?>
<?= sprintf(gettext("Click the %s button to add a new rule."),
'<a href="firewall_rules_edit.php?if='.$selected_if.'" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-plus"></span></a>')
?></span>
</span>
</td>
</tr>
<?php else: ?>
<?php endif; ?>
<tr>
<td colspan="5">
<select class="selectpicker" data-live-search="true" data-size="5" multiple placeholder="<?=gettext("select category");?>" id="fw_category">
......@@ -669,7 +669,6 @@ $( document ).ready(function() {
</a>
</td>
</tr>
<?php endif; ?>
</tbody>
<tfoot>
<tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment