summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-27 20:49:12 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-27 20:49:12 +0000
commit6b8cdc08541d016acd191dcb079551e808139f1a (patch)
tree96b6a6e9cb44225862403eb5f0b2a644ed343859 /usr/local/www
parenta8aba541992f6818ef76e68c3eb1d2e7525061ec (diff)
downloadpfsense-6b8cdc08541d016acd191dcb079551e808139f1a.zip
pfsense-6b8cdc08541d016acd191dcb079551e808139f1a.tar.gz
Restore per line delettion.
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/firewall_shaper.php11
1 files changed, 4 insertions, 7 deletions
diff --git a/usr/local/www/firewall_shaper.php b/usr/local/www/firewall_shaper.php
index 9a5316c..19ae4a6 100755
--- a/usr/local/www/firewall_shaper.php
+++ b/usr/local/www/firewall_shaper.php
@@ -227,8 +227,8 @@ if ($_GET['act'] == "del") {
<td width="20%" class="listhdrr">Source</td>
<td width="20%" class="listhdrr">Destination</td>
<td width="15%" class="listhdrrns">Target</td>
- <td width="20%" class="listhdr">Description</td>
- <td width="15%" class="list"></td>
+ <td width="25%" class="listhdr">Description</td>
+ <td width="10%" class="list"></td>
</tr>
<?php $nrules = $i = 0; foreach ($a_shaper as $shaperent): ?>
<tr valign="top" id="fr<?=$nrules;?>">
@@ -291,7 +291,7 @@ if ($_GET['act'] == "del") {
<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>
<?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: ?>
@@ -303,10 +303,7 @@ if ($_GET['act'] == "del") {
<?php $nrules++; $i++; endforeach; ?>
<tr>
<td class="list" colspan="8"></td>
- <td class="list">
- <a href="firewall_shaper_edit.php"><img src="plus.gif" width="17" height="17" border="0"></a>&nbsp;
- <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>
- </td>
+ <td class="list"> <a href="firewall_shaper_edit.php"><img src="plus.gif" width="17" height="17" border="0"></a></td>
</tr>
</table>
OpenPOWER on IntegriCloud