index 55e1bee64f511252aef8c53fdb68bbcb59404e8c..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();
{
$message= array();
- $cache = $this->parent->dhcpObjectCache;
+ $cache = array();
+ if(isset($this->parent)){
+ $cache = $this->parent->dhcpObjectCache;
+ }
/* All required fields are set? */
if ($this->cn == ""){