Code

Moved images around. Finished ogroups.
[gosa.git] / gosa-core / plugins / admin / ogroups / tabs_ogroups.inc
index 667500672e0f10f09be2aa925a53b0ef455eaa32..ecd43d2dbad4dd2d5a71d2e28a412f96b01d23a1 100644 (file)
@@ -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;
@@ -131,6 +131,12 @@ class ogrouptabs extends tabs
     }
 
     /* Add Workstation tabs */
+    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);
+        $this->by_object['workstartup']->parent= &$this;
+        $this->by_object['workstartup']->acl = "#all#";
+    }
     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);
@@ -138,12 +144,8 @@ 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['workstartup']= _("Startup");
-        $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");
+    if((preg_match("/S/",$objects) || preg_match("/W/",$objects))&&(!isset($this->by_object['faiSummary']))){
+        $this->by_name['faiSummary']= _("FAI summary");
         $this->by_object['faiSummary']= new faiSummaryTab($this->config, $this->dn);
         $this->by_object['faiSummary']->parent= &$this;
     }