summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_aliases.php
diff options
context:
space:
mode:
authorRenato Botelho <renato.botelho@bluepex.com>2010-06-30 19:30:58 -0300
committerRenato Botelho <renato.botelho@bluepex.com>2010-06-30 19:30:58 -0300
commit808614b15380f6e4129ee0737b4f628688a0003f (patch)
tree28fdbd6c3c0142a57779b65cc4e2a3c0bd30610e /usr/local/www/firewall_aliases.php
parent0b3abd3b5639676b27a78e651c6753c38e6c8bbe (diff)
downloadpfsense-808614b15380f6e4129ee0737b4f628688a0003f.zip
pfsense-808614b15380f6e4129ee0737b4f628688a0003f.tar.gz
Review firewall_aliases.php
Diffstat (limited to 'usr/local/www/firewall_aliases.php')
-rwxr-xr-xusr/local/www/firewall_aliases.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/firewall_aliases.php b/usr/local/www/firewall_aliases.php
index 1e69efd..910cf43 100755
--- a/usr/local/www/firewall_aliases.php
+++ b/usr/local/www/firewall_aliases.php
@@ -147,7 +147,7 @@ if ($_GET['act'] == "del") {
}
}
if($is_alias_referenced == true) {
- $savemsg = sprintf(gettext("Cannot delete rule. Currently in use by %s"), $referenced_by);
+ $savemsg = sprintf(gettext("Cannot delete rule. Currently in use by %s"), $referenced_by);
} else {
unset($a_aliases[$_GET['id']]);
write_config();
@@ -169,7 +169,7 @@ include("head.inc");
<form action="firewall_aliases.php" method="post">
<?php if ($savemsg) print_info_box($savemsg); ?>
<?php if (is_subsystem_dirty('aliases')): ?><p>
-<?php print_info_box_np gettext("The alias list has been changed.<br>You must apply the changes in order for them to take effect.");?>
+<?php print_info_box_np(gettext("The alias list has been changed.") . "<br>" . gettext("You must apply the changes in order for them to take effect."));?>
<?php endif; ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
@@ -214,7 +214,7 @@ include("head.inc");
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td valign="middle"><a href="firewall_aliases_edit.php?id=<?=$i;?>"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" width="17" height="17" border="0" title="<?=gettext("edit alias"); ?>"></a></td>
- <td><a href="firewall_aliases.php?act=del&id=<?=$i;?>" onclick="return confirm(gettext('Do you really want to delete this alias? All elements that still use it will become invalid (e.g. filter rules)!'))"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0" title="<?=gettext("delete alias"); ?>"></a></td>
+ <td><a href="firewall_aliases.php?act=del&id=<?=$i;?>" onclick="return confirm(<?=gettext('Do you really want to delete this alias? All elements that still use it will become invalid (e.g. filter rules)!');?>)"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0" title="<?=gettext("delete alias"); ?>"></a></td>
</tr>
</table>
</td>
OpenPOWER on IntegriCloud