Fix problems with traffic shaper wizards not propperly handling the parameter at first step.

This commit is contained in:
Ermal Lui 2009-11-24 11:53:09 +00:00
parent 127b93cf79
commit 474ef84c87
4 changed files with 10 additions and 5 deletions

View File

@ -37,7 +37,8 @@
<description>This wizard will guide you through setting up the pfSense traffic shaper.</description>
<fields>
<field>
<name>Enter number of WAN connections</name>
<displayname>Enter number of WAN connections</displayname>
<name>numberofconnections</name>
<type>input</type>
<validate>^[0-9]+$</validate>
<description>Number of connections you have</description>

View File

@ -43,7 +43,8 @@
<name>Traffic shaper Wizard</name>
</field>
<field>
<name>Enter number of WAN type connections</name>
<displayname>Enter number of WAN type connections</displayname>
<name>numberofconnections</name>
<type>input</type>
<validate>^[0-9]+$</validate>
<description>Number of connections you have</description>

View File

@ -43,14 +43,16 @@
<name>Traffic shaper Wizard</name>
</field>
<field>
<name>Enter number of WAN type connections</name>
<displayname>Enter number of WAN type connections</displayname>
<name>numberofconnections</name>
<type>input</type>
<validate>^[0-9]+$</validate>
<description>Number of connections you have</description>
<bindstofield>ezshaper->step1->numberofconnections</bindstofield>
</field>
<field>
<name>Enter number of LAN type interfaces</name>
<displayname>Enter number of LAN type interfaces</displayname>
<name>numberoflocalinterfaces</name>
<type>input</type>
<validate>^[0-9]+$</validate>
<description>Number of local interfaces you have</description>

View File

@ -39,7 +39,8 @@
<description>This wizard will guide you through setting up the pfSense traffic shaper for the situation where you have 1 WAN connection and multiple LAN connections.</description>
<fields>
<field>
<name>Enter number of LAN type connections</name>
<displayname>Enter number of LAN type connections</displayname>
<name>numberofconnections</name>
<type>input</type>
<validate>^[0-9]+$</validate>
<description>Number of local(LAN) interfaces you have</description>