summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_shaper.php
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-06-04 02:43:41 +0000
committerBill Marquette <billm@pfsense.org>2005-06-04 02:43:41 +0000
commitf1f924bf245e3263b0ead916cb987f69d4cda7ba (patch)
treea0809167afbcc1e32cb3f9072332594fd29e5bc4 /usr/local/www/firewall_shaper.php
parent1d1038ee5dcbc31c4517f5b175e6296fda222eae (diff)
downloadpfsense-f1f924bf245e3263b0ead916cb987f69d4cda7ba.zip
pfsense-f1f924bf245e3263b0ead916cb987f69d4cda7ba.tar.gz
Commit more work on the magic shaper and shaper system
Diffstat (limited to 'usr/local/www/firewall_shaper.php')
-rwxr-xr-xusr/local/www/firewall_shaper.php16
1 files changed, 10 insertions, 6 deletions
diff --git a/usr/local/www/firewall_shaper.php b/usr/local/www/firewall_shaper.php
index 58fb7b5..f4ef20d 100755
--- a/usr/local/www/firewall_shaper.php
+++ b/usr/local/www/firewall_shaper.php
@@ -179,6 +179,7 @@ if ($_GET['act'] == "del") {
<li class="tabact">Rules</li>
<li class="tabinact"><a href="firewall_shaper_queues.php">Queues</a></li>
<li class="tabinact"><a href="firewall_shaper_magic.php">Magic shaper wizard</a></li>
+ <li class="tabinact"><a href="wizard.php?xml=traffic_shaper_wizard.xml">Experimental magic shaper wizard</a></li>
</ul>
</td></tr>
<tr>
@@ -228,10 +229,11 @@ if ($_GET['act'] == "del") {
echo $textss . htmlspecialchars($iflabels[$shaperent['interface']]);
echo "<br>";
echo "<a href=\"?act=toggle&id={$i}\">";
- if ($shaperent['direction'] != "in")
- echo "<img src=\"out{$dis}.gif\" width=\"11\" height=\"11\" border=\"0\" style=\"margin-top: 5px\" title=\"click to toggle enabled/disabled status\">";
- if ($shaperent['direction'] != "out")
+ if ($shaperent['direction'] == "in")
echo "<img src=\"in{$dis}.gif\" width=\"11\" height=\"11\" border=\"0\" style=\"margin-top: 5px\" title=\"click to toggle enabled/disabled status\">";
+ if ($shaperent['direction'] == "out")
+ echo "<img src=\"out{$dis}.gif\" width=\"11\" height=\"11\" border=\"0\" style=\"margin-top: 5px\" title=\"click to toggle enabled/disabled status\">";
+
echo "</a>" . $textse;;
?>
</td>
@@ -250,9 +252,11 @@ if ($_GET['act'] == "del") {
</td>
<td class="listr" onClick="fr_toggle(<?=$nrules;?>)" id="frd<?=$nrules;?>" ondblclick="document.location='firewall_shaper_edit.php?id=<?=$i;?>';"><?=$textss;?>
<?php
- if (isset($shaperent['targetqueue'])) {
- $desc = htmlspecialchars($shaperent['targetqueue']);
- echo "<a href=\"firewall_shaper_queues_edit.php?id={$shaperent['targetqueue']}\">{$desc}</a>";
+ if (isset($shaperent['outqueue']) && isset($shaperent['inqueue'])) {
+ $desc = htmlspecialchars($shaperent['outqueue']);
+ echo "<a href=\"firewall_shaper_queues_edit.php?id={$shaperent['outqueue']}\">{$desc}</a>";
+ $desc = htmlspecialchars($shaperent['inqueue']);
+ echo "/<a href=\"firewall_shaper_queues_edit.php?id={$shaperent['inqueue']}\">{$desc}</a>";
}
?><?=$textse;?>
</td>
OpenPOWER on IntegriCloud