diff options
author | Phil Davis <phil.davis@inf.org> | 2015-02-11 14:57:50 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2015-02-11 14:57:50 +0545 |
commit | 01c155f234b620dad59dff06598554198f8a0944 (patch) | |
tree | 3ec529e87be6f1c60cc583e2bcd52ef210dc35e6 /usr/local/www | |
parent | 2597415ba688c792cc1c9e46a3c8aa553cacf303 (diff) | |
download | pfsense-01c155f234b620dad59dff06598554198f8a0944.zip pfsense-01c155f234b620dad59dff06598554198f8a0944.tar.gz |
Random text typos
and I "corrected" function names that had "_choosen_" in them.
That is not technically an error - function names do not have to be
English words. But it does look nicer to read.
Diffstat (limited to 'usr/local/www')
-rw-r--r-- | usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc | 18 | ||||
-rw-r--r-- | usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc | 14 |
2 files changed, 16 insertions, 16 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc index 7a4104e..9c006c8 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc @@ -317,7 +317,7 @@ function step2_stepsubmitphpaction() { } } - /* This is necessary since the wizard expects pecnefined fields. */ + /* This is necessary since the wizard expects predefined fields. */ unset($config['ezshaper']['step2']); $config['ezshaper']['step2'] = array(); @@ -551,9 +551,9 @@ function step3_stepsubmitphpaction() { } } - /* This is necessary since the wizard expects pecnefined fields. */ - unset($config['ezshaper']['step3']); - $config['ezshaper']['step3'] = array(); + /* This is necessary since the wizard expects predefined fields. */ + unset($config['ezshaper']['step3']); + $config['ezshaper']['step3'] = array(); for ($i = 0; $i < $steps; $i++) { $config['ezshaper']['step3']["local{$i}download"] = $_POST["local{$i}download"]; @@ -627,7 +627,7 @@ function step8_stepsubmitphpaction() { global $g, $config; /* save the new configuration */ - apply_all_choosen_items(); + apply_all_chosen_items(); /* reset rrd queues */ system("rm -f /var/db/rrd/*queuedrops.rrd"); @@ -645,7 +645,7 @@ function step8_stepsubmitphpaction() { exit; } -function apply_all_choosen_items() { +function apply_all_chosen_items() { global $config, $g, $altq_list_queues, $gamesplist, $voiplist, $othersplist, $p2plist; require_once("wizardapp.inc"); @@ -657,7 +657,7 @@ function apply_all_choosen_items() { */ if(isset($config['shaper']['queue'])) unset($config['shaper']['queue']); - /* XXX: This is ecnundant, because this should be handled by converter at startup. */ + /* XXX: This is redundant, because this should be handled by converter at startup. */ if(isset($config['shaper']['rule'])) unset($config['shaper']['rule']); foreach ($config['filter']['rule'] as $key => $rule) @@ -1099,7 +1099,7 @@ function apply_all_choosen_items() { $factor = wizard_get_bandwidthtype_scale($voipbwunit); $remainbw += floatval($voipbw) * $factor; } else - $remainbw += 32000; /* 32Kbit/s reserved for HFSC linksharing */ + $remainbw += 32000; /* 32Kbit/s reserved for HFSC link sharing */ } if ($config['ezshaper']['step4']['enable']) { $penalty = true; @@ -1611,7 +1611,7 @@ function apply_all_choosen_items() { if ($otherclient[1] == "tcp") $rule['ackqueue'] = 'qACK'; } else - $loop = 1; /* It automitaclly goes to default queue */ + $loop = 1; /* It automatically goes to default queue */ break; default: $loop = 1; 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 8f7fa22..9fc4f08 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc @@ -349,7 +349,7 @@ function step2_stepsubmitphpaction() { } } - /* This is necessary since the wizard expects pecnefined fields. */ + /* This is necessary since the wizard expects predefined fields. */ unset($config['ezshaper']['step2']); $config['ezshaper']['step2'] = array(); @@ -599,7 +599,7 @@ function step3_stepsubmitphpaction() { } } - /* This is necessary since the wizard expects pecnefined fields. */ + /* This is necessary since the wizard expects predefined fields. */ unset($config['ezshaper']['step3']); $config['ezshaper']['step3'] = array(); @@ -675,7 +675,7 @@ function step8_stepsubmitphpaction() { global $g, $config; /* save the new configuration */ - apply_all_choosen_items(); + apply_all_chosen_items(); /* reset rrd queues */ system("rm -f /var/db/rrd/*queuedrops.rrd"); @@ -693,7 +693,7 @@ function step8_stepsubmitphpaction() { exit; } -function apply_all_choosen_items() { +function apply_all_chosen_items() { global $config, $g, $altq_list_queues, $gamesplist, $voiplist, $othersplist, $p2plist; require_once("wizardapp.inc"); @@ -705,7 +705,7 @@ function apply_all_choosen_items() { */ if(isset($config['shaper']['queue'])) unset($config['shaper']['queue']); - /* XXX: This is ecnundant, because this should be handled by converter at startup. */ + /* XXX: This is redundant, because this should be handled by converter at startup. */ if(isset($config['shaper']['rule'])) unset($config['shaper']['rule']); foreach ($config['filter']['rule'] as $key => $rule) @@ -1161,7 +1161,7 @@ function apply_all_choosen_items() { $factor = wizard_get_bandwidthtype_scale($voipbwunit); $remainbw += floatval($voipbw) * $factor; } else - $remainbw += 32000; /* 32Kbit/s reserved for HFSC linksharing */ + $remainbw += 32000; /* 32Kbit/s reserved for HFSC link sharing */ } if ($config['ezshaper']['step4']['enable']) { $penalty = true; @@ -1682,7 +1682,7 @@ function apply_all_choosen_items() { if ($otherclient[1] == "tcp") $rule['ackqueue'] = 'qACK'; } else - $loop = 1; /* It automitaclly goes to default queue */ + $loop = 1; /* It automatically goes to default queue */ break; default: $loop = 1; |