diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-10-27 16:01:16 -0400 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-10-27 16:01:16 -0400 |
commit | 678a52f16d7a58da83b27bdc568d8b7a1d347582 (patch) | |
tree | 717954d2bfa1628d621cc4dae699b37e4ebf2d2f /src/usr/local/www/firewall_rules.php | |
parent | 93b1f6fbca8b1e86afa95a547f786f7770f30681 (diff) | |
download | pfsense-678a52f16d7a58da83b27bdc568d8b7a1d347582.zip pfsense-678a52f16d7a58da83b27bdc568d8b7a1d347582.tar.gz |
Add confirmation to rule deletion
Diffstat (limited to 'src/usr/local/www/firewall_rules.php')
-rw-r--r-- | src/usr/local/www/firewall_rules.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/firewall_rules.php b/src/usr/local/www/firewall_rules.php index 828de98..38b0fb4 100644 --- a/src/usr/local/www/firewall_rules.php +++ b/src/usr/local/www/firewall_rules.php @@ -625,7 +625,7 @@ for ($i = 0; isset($a_filter[$i]); $i++): <a href="?act=toggle&if=<?=htmlspecialchars($if);?>&id=<?=$i;?>" class="fa fa-ban" title="<?=gettext('Disable')?>"></a> <?php } ?> - <a href="?act=del&if=<?=htmlspecialchars($if);?>&id=<?=$i;?>" class="fa fa-trash" title="<?=gettext('Delete')?>"></a> + <a href="?act=del&if=<?=htmlspecialchars($if);?>&id=<?=$i;?>" class="fa fa-trash" title="<?=gettext('Delete')?>" onclick="return confirm('<?=gettext("Are you sure you want to delete this rule?")?>')"></a> </td> </tr> <?php |