From 9e138c859810f3c8ed97c2a57dae2ca753f92238 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 3 Sep 2009 22:08:43 -0400 Subject: Break each interface up into their own listoptics --- usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc | 7 +++++++ usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc | 7 +++++++ 2 files changed, 14 insertions(+) (limited to 'usr/local/www/wizards') diff --git a/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc b/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc index e02b5cf..f129244 100755 --- a/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc @@ -145,6 +145,13 @@ function step2_stepbeforeformdisplay() { $fields[] = $field; for ($i = 0; $i < $numberofconnections; $i++) { + + $field = array(); + $interface_friendly = $i+1; + $field['name'] = "Setup connection speed and scheduler information for interface #{$interface_friendly}"; + $field['type'] = "listtopic"; + $fields[] = $field; + $field = array(); $field['name'] = "conn{$i}interface"; $field['type'] = "select"; diff --git a/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc b/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc index b974740..576c4c8 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc @@ -170,6 +170,13 @@ function step2_stepbeforeformdisplay() { $fields[] = $field; for ($i = 0; $i < $numberofconnections; $i++) { + + $field = array(); + $interface_friendly = $i+1; + $field['name'] = "Setup connection speed and scheduler information for interface #{$interface_friendly}"; + $field['type'] = "listtopic"; + $fields[] = $field; + $field = array(); $field['name'] = "conn{$i}interface"; $field['type'] = "select"; -- cgit v1.1