summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-10-09 17:44:49 +0000
committerErmal <eri@pfsense.org>2012-10-09 17:44:49 +0000
commitc9ba2f8a92b0e18b891af2049436d4a3a505f9d9 (patch)
tree0de1e5ac0be2116e52a1ba4d4f4938d56105270b /usr/local/www
parent5ff00e737cb5409e7a7d3352408f6ec97d9baa84 (diff)
downloadpfsense-c9ba2f8a92b0e18b891af2049436d4a3a505f9d9.zip
pfsense-c9ba2f8a92b0e18b891af2049436d4a3a505f9d9.tar.gz
Make limiters have a schedule specified which applie bandwidth limits during that period
Diffstat (limited to 'usr/local/www')
-rw-r--r--usr/local/www/firewall_shaper_vinterface.php15
1 files changed, 13 insertions, 2 deletions
diff --git a/usr/local/www/firewall_shaper_vinterface.php b/usr/local/www/firewall_shaper_vinterface.php
index a722979..b2f2e1d 100644
--- a/usr/local/www/firewall_shaper_vinterface.php
+++ b/usr/local/www/firewall_shaper_vinterface.php
@@ -364,6 +364,10 @@ function show_source_port_range() {
</script>
<?php
+if ($queue)
+ echo $queue->build_javascript();
+echo $newjavascript;
+
include("fbegin.inc");
?>
<div id="inputerrors"></div>
@@ -418,8 +422,15 @@ include("fbegin.inc");
</td>
</tr>
</table>
- </form>
-<?php include("fend.inc");
+</form>
+<script type='text/javascript'>
+<?php
+ $totalrows = 0;
+ if (is_array($config['dnshaper']) && is_array($config['dnshaper']['queue']))
+ $totalrows = count($config['dnshaper']['queue']);
+ echo "totalrows = {$totalrows}";
?>
+</script>
+<?php include("fend.inc"); ?>
</body>
</html>
OpenPOWER on IntegriCloud