From af08a616baf4b41d996d4a5371e4146c4d7b2c22 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 18 Apr 2008 08:12:45 +0000 Subject: [PATCH] Moved fai summary around git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10550 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/admin/ogroups/tabs_ogroups.inc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gosa-core/plugins/admin/ogroups/tabs_ogroups.inc b/gosa-core/plugins/admin/ogroups/tabs_ogroups.inc index bcaf0b93f..efba23457 100644 --- a/gosa-core/plugins/admin/ogroups/tabs_ogroups.inc +++ b/gosa-core/plugins/admin/ogroups/tabs_ogroups.inc @@ -117,7 +117,7 @@ class ogrouptabs extends tabs /* Add Terminal tab */ if(((preg_match("/T/",$objects)) || (preg_match("/W/",$objects)))&&(!isset($this->by_object['termgroup']))){ if(!isset($this->by_object['termgroup'])){ - $this->by_name['termgroup']= _("System"); + $this->by_name['termgroup']= _("Systems"); $this->by_object['termgroup']= new termgroup($this->config, $this->dn); $this->by_object['termgroup']->inheritTimeServer = false; $this->by_object['termgroup']->parent= &$this; @@ -136,9 +136,6 @@ class ogrouptabs extends tabs $this->by_object['workstartup']= new workstartup($this->config, $this->dn); $this->by_object['workstartup']->parent= &$this; $this->by_object['workstartup']->acl = "#all#"; - $this->by_name['faiSummary']= _("Summary"); - $this->by_object['faiSummary']= new faiSummaryTab($this->config, $this->dn); - $this->by_object['faiSummary']->parent= &$this; } if((preg_match("/W/",$objects))&&(!isset($this->by_object['workservice']))){ $this->by_name['workservice']= _("Devices"); @@ -147,6 +144,11 @@ class ogrouptabs extends tabs $this->by_object['workservice']->parent= &$this; $this->by_object['workservice']->acl = "#all#"; } + if((preg_match("/S/",$objects) || preg_match("/W/",$objects))&&(!isset($this->by_object['workstartup']))){ + $this->by_name['faiSummary']= _("FAI summary"); + $this->by_object['faiSummary']= new faiSummaryTab($this->config, $this->dn); + $this->by_object['faiSummary']->parent= &$this; + } /* Add application tab if user or group is member in this object group*/ if((preg_match("/G/",$objects) || preg_match("/U/",$objects)) && !isset($this->by_name['appgroup'])){ -- 2.30.2