diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-27 21:20:13 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-27 21:20:13 +0000 |
commit | c45cff0b3983538e5dc552122d7cf245beb0bcbc (patch) | |
tree | 1157cdfb4b381244a642c90e09ce669dba784f31 /usr/local/www | |
parent | 1f2761383b5c8a01bfaf908bc21b6a2c36490452 (diff) | |
download | pfsense-c45cff0b3983538e5dc552122d7cf245beb0bcbc.zip pfsense-c45cff0b3983538e5dc552122d7cf245beb0bcbc.tar.gz |
Correctly delete multiple lines at once. And leave the X on the side for the scrolling wusses.
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/firewall_shaper.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/firewall_shaper.php b/usr/local/www/firewall_shaper.php index d247da0..c1a7440 100755 --- a/usr/local/www/firewall_shaper.php +++ b/usr/local/www/firewall_shaper.php @@ -297,7 +297,9 @@ if ($_GET['act'] == "down") { <img src="up_d.gif" width="17" height="17" border="0"> <?php endif; ?> <input name="move_<?=$i;?>" type="image" src="left.gif" width="17" height="17" title="move selected rules before this rule" onMouseOver="fr_insline(<?=$nrules;?>, true)" onMouseOut="fr_insline(<?=$nrules;?>, false)"><br> - <a href="firewall_shaper.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this rule?')"><img src="x.gif" title="delete rule" width="17" height="17" border="0"></a> + + <input name="del" type="image" src="x.gif" width="17" height="17" title="delete selected mappings" onclick="return confirm('Do you really want to delete the selected mappings?')"> + <?php if (isset($a_shaper[$i+1])): ?> <a href="firewall_shaper.php?act=down&id=<?=$i;?>"><img src="down.gif" title="move down" width="17" height="17" border="0"></a> <?php else: ?> |