summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-12-29 15:07:32 +0000
committerErmal Luçi <eri@pfsense.org>2009-12-29 15:07:32 +0000
commitf534757a77052f03de67831328721dbf8cc30572 (patch)
tree564d22d70fdb8f580c35118e1f134310af17c785 /usr/local/www/wizards
parentbfa6d878c81a14309651c368a1f89f009f6379eb (diff)
downloadpfsense-f534757a77052f03de67831328721dbf8cc30572.zip
pfsense-f534757a77052f03de67831328721dbf8cc30572.tar.gz
Use propper field names.
Diffstat (limited to 'usr/local/www/wizards')
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard.inc4
-rwxr-xr-xusr/local/www/wizards/traffic_shaper_wizard_dedicated.inc4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.inc b/usr/local/www/wizards/traffic_shaper_wizard.inc
index 4ab8164..9bbb689 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard.inc
@@ -33,12 +33,12 @@
function step1_submitphpaction() {
- if (!isset($_POST['enternumberofwanconnections'])) {
+ if (!isset($_POST['numberofconnections'])) {
$message=gettext("You need to specify the number of connections.");
header("Location:wizard.php?xml=traffic_shaper_wizard.xml&stepid=0&message={$message}");
exit;
}
- if (intval($_POST['enternumberofwanconnections']) > 100 || intval($_POST['enternumberofwanconnections']) < 1) {
+ if (intval($_POST['numberofconnections']) > 100 || intval($_POST['numberofconnections']) < 1) {
$message=gettext("The number of connections supported is between 1 and 100.");
header("Location:wizard.php?xml=traffic_shaper_wizard.xml&stepid=0&message={$message}");
exit;
diff --git a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc
index 1482f52..0cfb97c 100755
--- a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc
@@ -33,12 +33,12 @@
function step1_submitphpaction() {
- if (!isset($_POST['enternumberofwanconnections'])) {
+ if (!isset($_POST['numberofconnections'])) {
$message=gettext("You need to specify the number of connections.");
header("Location:wizard.php?xml=traffic_shaper_wizard_dedicated.xml&stepid=0&message={$message}");
exit;
}
- if (intval($_POST['enternumberofwanconnections']) > 100 || intval($_POST['enternumberofwanconnections']) < 1) {
+ if (intval($_POST['numberofconnections']) > 100 || intval($_POST['numberofconnections']) < 1) {
$message=gettext("The number of connections supported is between 1 and 100.");
header("Location:wizard.php?xml=traffic_shaper_wizard_dedicated.xml&stepid=0&message={$message}");
exit;
OpenPOWER on IntegriCloud