From: janw Date: Tue, 28 Aug 2007 10:12:03 +0000 (+0000) Subject: Corrected spelling of statements. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e59e5491c93d0606a48d344e411d6927f944944f;p=gosa.git Corrected spelling of statements. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7155 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_dhcpSharedNetwork.inc b/plugins/admin/systems/class_dhcpSharedNetwork.inc index 1a3c61e1e..9e1f7e43b 100644 --- a/plugins/admin/systems/class_dhcpSharedNetwork.inc +++ b/plugins/admin/systems/class_dhcpSharedNetwork.inc @@ -51,17 +51,17 @@ class dhcpSharedNetwork extends dhcpPlugin } else { $smarty->assign("authoritative", ""); } - if (!isset($this->statements["deny-unknown-clients"])){ + if (!isset($this->statements["deny unknown-clients"])){ $smarty->assign("allow_unknown_state", "checked"); } else { $smarty->assign("allow_unknown_state", ""); } - if (!isset($this->statements["deny-bootp"])){ + if (!isset($this->statements["deny bootp"])){ $smarty->assign("allow_bootp_state", "checked"); } else { $smarty->assign("allow_bootp_state", ""); } - if (!isset($this->statements["deny-booting"])){ + if (!isset($this->statements["deny booting"])){ $smarty->assign("allow_booting_state", "checked"); } else { $smarty->assign("allow_booting_state", ""); @@ -121,11 +121,11 @@ class dhcpSharedNetwork extends dhcpPlugin foreach(array("unknown-clients", "bootp", "booting") as $name){ if (isset($_POST[$name])){ - $this->statements["allow-$name"]= ""; - unset($this->statements["deny-$name"]); + $this->statements["allow $name"]= ""; + unset($this->statements["deny $name"]); } else { - $this->statements["deny-$name"]= ""; - unset($this->statements["allow-$name"]); + $this->statements["deny $name"]= ""; + unset($this->statements["allow $name"]); } } }