firewall: rename NPT to NPTv6 for clarity #667

This commit is contained in:
Franco Fichtner 2018-01-08 06:55:35 +01:00
parent ce2b6111c1
commit 552b873a87
3 changed files with 6 additions and 6 deletions

View File

@ -154,9 +154,9 @@
<Outbound order="300" VisibleName="Outbound" url="/firewall_nat_out.php">
<Edit url="/firewall_nat_out_edit.php*" visibility="hidden"/>
</Outbound>
<NPT VisibleName="NPT (IPv6)" order="400" url="/firewall_nat_npt.php">
<NPTv6 order="400" url="/firewall_nat_npt.php">
<Edit url="/firewall_nat_npt_edit.php*" visibility="hidden"/>
</NPT>
</NPTv6>
</NAT>
<Groups order="50" url="/interfaces_groups.php" cssClass="fa fa-sitemap fa-fw">
<Edit url="/interfaces_groups_edit.php*" visibility="hidden"/>

View File

@ -82,7 +82,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
} else {
$a_npt[$id]['disabled'] = true;
}
write_config('Toggled NAT NPT rule');
write_config('Toggled NAT NPTv6 rule');
mark_subsystem_dirty('natconf');
header(url_safe('Location: /firewall_nat_npt.php'));
exit;
@ -110,7 +110,7 @@ $main_buttons = array(
// delete single
BootstrapDialog.show({
type:BootstrapDialog.TYPE_DANGER,
title: "<?=gettext("NPT");?>",
title: "<?=gettext("NPTv6");?>",
message: "<?=gettext("Do you really want to delete this rule?");?>",
buttons: [{
label: "<?= gettext("No");?>",
@ -129,7 +129,7 @@ $main_buttons = array(
// delete selected
BootstrapDialog.show({
type:BootstrapDialog.TYPE_DANGER,
title: "<?= gettext("NPT");?>",
title: "<?= gettext("NPTv6");?>",
message: "<?=gettext("Do you really want to delete the selected rules?");?>",
buttons: [{
label: "<?= gettext("No");?>",

View File

@ -144,7 +144,7 @@ include("head.inc");
<form method="post" name="iform" id="iform">
<table class="table table-striped opnsense_standard_table_form">
<tr>
<td><?=gettext("Edit NAT NPT entry"); ?></td>
<td><?=gettext("Edit NAT NPTv6 entry"); ?></td>
<td style="text-align:right">
<small><?=gettext("full help"); ?> </small>
<i class="fa fa-toggle-off text-danger" style="cursor: pointer;" id="show_all_help_page"></i>