Code

Unified naming
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 6 Oct 2008 09:34:53 +0000 (09:34 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 6 Oct 2008 09:34:53 +0000 (09:34 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12600 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_divListSystem.inc

index bd339a3324d79e6064c72759164c9857376446b9..aabd94781d0fd36eb58e27ce0ccc6bf3f360c26d 100644 (file)
@@ -116,6 +116,12 @@ class divListSystem extends MultiSelectWindow
           msgPool::selectToView(  _("MicroSoft Windows based workstations")), 
           sprintf(_("Show %s"),   _("windows based workstations")),true);
     }
+    /* Add opsi checkboxes if opsi is enabled */
+    if($this->parent->opsi instanceof opsi && $this->parent->opsi->enabled()){
+      $this->AddCheckBox("ShowOpsiHosts" , sprintf(_("Display objects of type '%s'."),
+            _("Opsi installed client")),_("Show opsi based clients")   ,true);
+    }
+
     if(class_available("printtabs")){
       $this->AddCheckBox("ShowPrinters",
           msgPool::selectToView(  _("network printers")),   
@@ -132,13 +138,6 @@ class divListSystem extends MultiSelectWindow
           sprintf(_("Show %s"),   _("network devices")),  true);
     }
 
-    /* Add opsi checkboxes if opsi is enabled
-     */
-    if($this->parent->opsi instanceof opsi && $this->parent->opsi->enabled()){
-      $this->AddCheckBox("ShowOpsiHosts" , sprintf(_("Display objects of type '%s'."),
-            _("Opsi host")),_("Show opsi hosts")   ,true);
-    }
-
     /* Add SubSearch checkbox */
     $this->AddCheckBox(SEPERATOR);
     $this->AddCheckBox("SubSearch",  msgPool::selectToView("","subsearch"), msgPool::selectToView("","subsearch_small"), false);
@@ -212,7 +211,7 @@ class divListSystem extends MultiSelectWindow
         $this->parent->opsi->enabled() &&  
         preg_match("/c/",$ui->get_permissions($this->selectedBase,"opsi/opsiGeneric"))){
       $s.= "...|<img src='plugins/systems/images/select_winstation.png' alt='' border='0' class='center'>".
-        "&nbsp;"._("Opsi")."|"."newsystem_opsi_client|\n";
+        "&nbsp;"._("Opsi client")."|"."newsystem_opsi_client|\n";
     }
 
     if($this->parent->si_active){