diff options
author | Bill Marquette <billm@pfsense.org> | 2005-06-13 04:16:46 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-06-13 04:16:46 +0000 |
commit | bb917415baf7b95dc73befa8e3a5ed0dfc86dcf5 (patch) | |
tree | be63a8c2b6ede5d77945f2377012844ce47fd8b1 /usr/local/www | |
parent | 253ac60654918dc1227b1000971e55f0306c1716 (diff) | |
download | pfsense-bb917415baf7b95dc73befa8e3a5ed0dfc86dcf5.zip pfsense-bb917415baf7b95dc73befa8e3a5ed0dfc86dcf5.tar.gz |
add row toggling (pointless but it least it _looks_ like the other screens now ;) )
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/firewall_shaper_queues.php | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/usr/local/www/firewall_shaper_queues.php b/usr/local/www/firewall_shaper_queues.php index 0ee42b9..a8984e0 100755 --- a/usr/local/www/firewall_shaper_queues.php +++ b/usr/local/www/firewall_shaper_queues.php @@ -113,6 +113,7 @@ if ($_GET['act'] == "del") { <?php include("fbegin.inc"); ?> <p class="pgtitle">Firewall: Traffic shaper: Queues</p> <form action="firewall_shaper_queues.php" method="post"> +<script type="text/javascript" language="javascript" src="row_toggle.js"> <?php if ($input_errors) print_input_errors($input_errors); ?> <?php if ($savemsg) print_info_box($savemsg); ?> <?php if (file_exists($d_shaperconfdirty_path)): ?><p> @@ -141,10 +142,10 @@ if ($_GET['act'] == "del") { </tr> <?php $i = 0; foreach ($a_queues as $queue): ?> <tr valign="top"> - <td class="listlr" ondblclick="document.location='firewall_shaper_queues_edit.php?id=<?=$i;?>';"> + <td class="listlr" onClick="fr_toggle(<?=$i;?>)" id="frd<?=$i;?>" ondblclick="document.location='firewall_shaper_queues_edit.php?id=<?=$i;?>';"> <?=($i+1);?> </td> - <td class="listlr" ondblclick="document.location='firewall_shaper_queues_edit.php?id=<?=$i;?>';"> + <td class="listlr" onClick="fr_toggle(<?=$i;?>)" id="frd<?=$i;?>" ondblclick="document.location='firewall_shaper_queues_edit.php?id=<?=$i;?>';"> <?php if($queue['red'] <> "") echo " RED"; if($queue['rio'] <> "") echo " RIO"; @@ -154,10 +155,10 @@ if ($_GET['act'] == "del") { ?> </td> - <td class="listr" ondblclick="document.location='firewall_shaper_queues_edit.php?id=<?=$i;?>';"> + <td class="listr" onClick="fr_toggle(<?=$i;?>)" id="frd<?=$i;?>" ondblclick="document.location='firewall_shaper_queues_edit.php?id=<?=$i;?>';"> <?=$queue['priority'];?> </td> - <td class="listr" ondblclick="document.location='firewall_shaper_queues_edit.php?id=<?=$i;?>';"> + <td class="listr" onClick="fr_toggle(<?=$i;?>)" id="frd<?=$i;?>" ondblclick="document.location='firewall_shaper_queues_edit.php?id=<?=$i;?>';"> <?php if($queue['defaultqueue'] <> "") { echo "Yes"; @@ -166,11 +167,11 @@ if ($_GET['act'] == "del") { } ?> </td> - <td class="listr" ondblclick="document.location='firewall_shaper_queues_edit.php?id=<?=$i;?>';"> + <td class="listr" onClick="fr_toggle(<?=$i;?>)" id="frd<?=$i;?>" ondblclick="document.location='firewall_shaper_queues_edit.php?id=<?=$i;?>';"> <?=htmlspecialchars($queue['bandwidth']);?> <?=htmlspecialchars($queue['bandwidthtype']);?> </td> - <td class="listbg" ondblclick="document.location='firewall_shaper_queues_edit.php?id=<?=$i;?>';"> + <td class="listbg" onClick="fr_toggle(<?=$i;?>)" ondblclick="document.location='firewall_shaper_queues_edit.php?id=<?=$i;?>';"> <font color="#FFFFFF"><?=htmlspecialchars($queue['name']);?> </td> |