index 13d0024284e1671034b17a35814c7e3cd755fa60..e8aab5c950b690ff5168734b9808ba66bf899f6e 100644 (file)
"fddi" => _("FDDI"),
"token-ring" => _("Token Ring")));
/* Show main page */
- $display= $smarty->fetch(get_template_path('dhcp_host.tpl', TRUE)).$this->network->execute();
+ $display= $smarty->fetch(get_template_path('dhcp_host.tpl', TRUE,dirname(__FILE__))).$this->network->execute();
/* Merge arrays for advanced view */
$this->fix_options();
/* Check values */
- function check($cache)
+ function check()
{
$message= array();
+ $cache = array();
+ if(isset($this->parent)){
+ $cache = $this->parent->dhcpObjectCache;
+ }
+
/* All required fields are set? */
if ($this->cn == ""){
$message[]= _("Required field 'Name' is not filled.");