From 7594095b45c28f218d7315345343ab6d13f1bed3 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 1 Feb 2008 14:16:36 +0000 Subject: [PATCH] Updated dhcp plugin to be loaded git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8724 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../dhcp/admin/systems/services/dhcp/class_dhcpService.inc | 2 +- .../dhcp/admin/systems/services/dhcp/class_servDHCP.inc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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 4989c43fc..d2dae5ee1 100644 --- a/gosa-plugins/dhcp/admin/systems/services/dhcp/class_dhcpService.inc +++ b/gosa-plugins/dhcp/admin/systems/services/dhcp/class_dhcpService.inc @@ -74,7 +74,7 @@ class dhcpService extends dhcpPlugin } /* 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 c804ec2bc..e9f28da6e 100644 --- a/gosa-plugins/dhcp/admin/systems/services/dhcp/class_servDHCP.inc +++ b/gosa-plugins/dhcp/admin/systems/services/dhcp/class_servDHCP.inc @@ -108,7 +108,7 @@ class servdhcp extends goService 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__)))); } @@ -253,7 +253,7 @@ class servdhcp extends goService $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__)))); } } @@ -362,7 +362,7 @@ class servdhcp extends goService /* 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); } -- 2.30.2