diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-01-16 22:52:27 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-01-16 22:52:27 +0000 |
commit | 92125c97b95c34e19f04a7bd24b0c018267c9c7e (patch) | |
tree | 17cb490c92050dba4e2083fd8185c31e1eca4719 /usr/local/www/firewall_shaper_queues.php | |
parent | a16d0963f1af1dbfd71538e1365b0b86210eed4e (diff) | |
download | pfsense-92125c97b95c34e19f04a7bd24b0c018267c9c7e.zip pfsense-92125c97b95c34e19f04a7bd24b0c018267c9c7e.tar.gz |
* Fix many bugs itroduced with the new shaper code import.
* Introduce a new tab to the Firewall - Rules section called "floating rules" where you can create rules with direction/tag/tagged/quick keywords of PF.
* Improve input validation on the shaper code and the wizard.
* Change the logic in filter.inc by allowing the rules without the quick keyword to work propperly.
* ALso begin changing the logic of filter.inc default rulesto not use the quick keyword so they can be overriden in the GUI.
Diffstat (limited to 'usr/local/www/firewall_shaper_queues.php')
-rwxr-xr-x | usr/local/www/firewall_shaper_queues.php | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/usr/local/www/firewall_shaper_queues.php b/usr/local/www/firewall_shaper_queues.php index c08d00f..a9b0780 100755 --- a/usr/local/www/firewall_shaper_queues.php +++ b/usr/local/www/firewall_shaper_queues.php @@ -137,6 +137,16 @@ if ($_POST['apply']) { unlink($d_shaperconfdirty_path); } +/* if this is an AJAX caller then handle via JSON */ +if(isAjax() && is_array($input_errors)) { + input_errors2Ajax($input_errors); + exit; +} + +/* if ajax is calling, give them an update message */ +if(isAjax()) + print_info_box_np($savemsg); + $pgtitle = "Firewall: Shaper: By Queues View"; include("head.inc"); @@ -144,9 +154,13 @@ include("head.inc"); <link rel="stylesheet" type="text/css" media="all" href="./tree/tree.css" /> <script type="text/javascript" src="./tree/tree.js"></script> +<? +/* put your custom HTML head content here */ +/* using some of the $pfSenseHead function calls */ +echo $pfSenseHead->getHTML(); +?> <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> -<p class="pgtitle"><?=$pgtitle?></p> <div id="inputerrors"></div> <?php if ($input_errors) print_input_errors($input_errors); ?> <form action="firewall_shaper_queues.php" method="post" name="iform" id="iform"> @@ -164,8 +178,8 @@ include("head.inc"); display_top_tabs($tab_array); ?> </td></tr> - <tr> - <td> + <tr> + <td valign="top"> <div id="mainarea"> <table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> @@ -192,7 +206,6 @@ include("head.inc"); </table> </td></tr> - </table> </div> </td> </tr> |