From: hickert Date: Wed, 19 Oct 2005 08:54:11 +0000 (+0000) Subject: Added workservice to ogorup tabs X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9e224361c465d095345c67e7c4656c5a5a2c7488;p=gosa.git Added workservice to ogorup tabs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1617 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/ogroups/tabs_ogroups.inc b/plugins/admin/ogroups/tabs_ogroups.inc index 33346fbf1..7bab9be66 100644 --- a/plugins/admin/ogroups/tabs_ogroups.inc +++ b/plugins/admin/ogroups/tabs_ogroups.inc @@ -43,6 +43,9 @@ class ogrouptabs extends tabs // $this->by_object['workstartup']->remove_from_parent(); unset($this->by_object['workstartup']); unset($this->by_name['workstartup']); +// $this->by_object['workservice']->remove_from_parent(); + unset($this->by_object['workservice']); + unset($this->by_name['workservice']); } /* Create goPhoneAccount if theres an user with goPhoneAccount @@ -91,6 +94,10 @@ class ogrouptabs extends tabs $this->by_object['workstartup']= new workstartup($this->config, $this->dn); $this->by_object['workstartup']->acl = "#all#"; $this->by_object['workstartup']->parent= &$this; + $this->by_name['workservice']= _("Service"); + $this->by_object['workservice']= new workservice($this->config, $this->dn); + $this->by_object['workservice']->acl = "#all#"; + $this->by_object['workservice']->parent= &$this; } } } diff --git a/plugins/admin/systems/class_workstationService.inc b/plugins/admin/systems/class_workstationService.inc index 7aa47a474..b4d1f3b0a 100644 --- a/plugins/admin/systems/class_workstationService.inc +++ b/plugins/admin/systems/class_workstationService.inc @@ -185,7 +185,7 @@ class workservice extends plugin $smarty->assign ("gotoXMonitor", $this->gotoXMonitor); /* Show main page */ - return($smarty->fetch (get_template_path('workstationService.tpl', TRUE))); + return($smarty->fetch (get_template_path('workstationService.tpl',TRUE,dirname(__FILE__)))); } function remove_from_parent()