diff options
author | Chris Buechler <cmb@pfsense.org> | 2009-08-27 19:29:47 -0400 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2009-08-27 19:29:47 -0400 |
commit | 70b139a3e80ab92294ee36942f582d6e514b5482 (patch) | |
tree | 8617c2ad93ec37367857a97212ecf40768d32ad5 /usr/local/www | |
parent | eca4bfbc029e060e2d31197fb8ef93efc93e24a8 (diff) | |
download | pfsense-70b139a3e80ab92294ee36942f582d6e514b5482.zip pfsense-70b139a3e80ab92294ee36942f582d6e514b5482.tar.gz |
Grammar fixes, patch from Josh Stompro
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/firewall_shaper.php | 4 | ||||
-rw-r--r-- | usr/local/www/firewall_shaper_vinterface.php | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/usr/local/www/firewall_shaper.php b/usr/local/www/firewall_shaper.php index ded8724..545070e 100755 --- a/usr/local/www/firewall_shaper.php +++ b/usr/local/www/firewall_shaper.php @@ -239,7 +239,7 @@ if ($_GET) { array_pop($tmppath); $tmp->wconfig(); $can_enable = true; - if ($tmp->CanHaveChilds() && $can_enable) { + if ($tmp->CanHaveChildren() && $can_enable) { if ($tmp->GetDefault() <> "") $can_add = false; else @@ -312,7 +312,7 @@ if ($queue) { $can_enable = true; else $can_enable = false; - if ($queue->CanHaveChilds() && $can_enable) { + if ($queue->CanHaveChildren() && $can_enable) { if ($altq->GetQname() <> $queue->GetQname() && $queue->GetDefault() <> "") $can_add = false; else diff --git a/usr/local/www/firewall_shaper_vinterface.php b/usr/local/www/firewall_shaper_vinterface.php index e1370d8..42f263e 100644 --- a/usr/local/www/firewall_shaper_vinterface.php +++ b/usr/local/www/firewall_shaper_vinterface.php @@ -16,6 +16,7 @@ notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE @@ -260,7 +261,7 @@ if ($queue) { $can_enable = true; else $can_enable = false; - if ($queue->CanHaveChilds()) { + if ($queue->CanHaveChildren()) { $can_add = true; } else $can_add = false; @@ -319,7 +320,7 @@ if ($queue || $dnpipe || $newqueue) { if ($queue) if ($queue->GetEnabled() <> "") $output .= " CHECKED"; - $output .= " ><span class=\"vexpl\"> Enable/Disable queue and its childs</span>"; + $output .= " ><span class=\"vexpl\"> Enable/Disable queue and its children.</span>"; $output .= "</td></tr>"; } } |