Code

Switched tabs to show up like in the workstation/servers
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 18 Apr 2008 08:09:51 +0000 (08:09 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 18 Apr 2008 08:09:51 +0000 (08:09 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10549 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/ogroups/tabs_ogroups.inc

index 667500672e0f10f09be2aa925a53b0ef455eaa32..bcaf0b93ffa4f1aaace25566d4af2968b92fe798 100644 (file)
@@ -131,13 +131,6 @@ class ogrouptabs extends tabs
     }
 
     /* Add Workstation tabs */
-    if((preg_match("/W/",$objects))&&(!isset($this->by_object['workservice']))){
-        $this->by_name['workservice']= _("Devices");
-        $this->by_object['workservice']= new workservice($this->config, $this->dn);
-        $this->by_object['workservice']->inheritTimeServer = false;
-        $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['workstartup']= _("Startup");
         $this->by_object['workstartup']= new workstartup($this->config, $this->dn);
@@ -147,6 +140,13 @@ class ogrouptabs extends tabs
         $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");
+        $this->by_object['workservice']= new workservice($this->config, $this->dn);
+        $this->by_object['workservice']->inheritTimeServer = false;
+        $this->by_object['workservice']->parent= &$this;
+        $this->by_object['workservice']->acl = "#all#";
+    }
 
     /* 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'])){