summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8c1ddfb)
raw | patch | inline | side by side (parent: 8c1ddfb)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 1 Feb 2008 14:16:36 +0000 (14:16 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 1 Feb 2008 14:16:36 +0000 (14:16 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8724 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/dhcp/admin/systems/services/dhcp/class_dhcpService.inc | patch | blob | history | |
gosa-plugins/dhcp/admin/systems/services/dhcp/class_servDHCP.inc | patch | blob | history |
diff --git a/gosa-plugins/dhcp/admin/systems/services/dhcp/class_dhcpService.inc b/gosa-plugins/dhcp/admin/systems/services/dhcp/class_dhcpService.inc
index 4989c43fcb8c9737710c6514c12ebae0ab4f602e..d2dae5ee18dffff73a4528359dd6cd3225a11d95 100644 (file)
}
/* Show main page */
- $display= $smarty->fetch(get_template_path('dhcp_service.tpl', TRUE)).$this->network->execute();
+ $display= $smarty->fetch(get_template_path('dhcp_service.tpl', TRUE, dirname(__FILE__))).$this->network->execute();
/* Merge arrays for advanced view */
$this->fix_options();
diff --git a/gosa-plugins/dhcp/admin/systems/services/dhcp/class_servDHCP.inc b/gosa-plugins/dhcp/admin/systems/services/dhcp/class_servDHCP.inc
index c804ec2bc17a013aa45265ac27f7c736ff4608be..e9f28da6e9aad62b5de325b4abe124d4aa315777 100644 (file)
print_red($warning);
$this->display_warning = FALSE;
}
- return($smarty->fetch(get_template_path('servdhcp.tpl', TRUE)));
+ return($smarty->fetch(get_template_path('servdhcp.tpl', TRUE, dirname(__FILE__))));
}
$this->current_object= $dn;
$this->dialog= 1;
$smarty->assign("warning", sprintf(_("You're about to delete the DHCP section '%s'."), $dn));
- return($smarty->fetch(get_template_path('remove_dhcp.tpl', TRUE)));
+ return($smarty->fetch(get_template_path('remove_dhcp.tpl', TRUE, dirname(__FILE__))));
}
}
/* Display tempalte */
$smarty->assign("DhcpList",$DhcpList->DrawList());
- $display.= $smarty->fetch(get_template_path('servdhcp.tpl', TRUE));
+ $display.= $smarty->fetch(get_template_path('servdhcp.tpl', TRUE, dirname(__FILE__)));
return($display);
}