From 3daeeb581fd8a3a6262796277d09c0e6723ee483 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 6 Oct 2008 09:34:53 +0000 Subject: [PATCH] Unified naming git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12600 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../systems/admin/systems/class_divListSystem.inc | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/gosa-plugins/systems/admin/systems/class_divListSystem.inc b/gosa-plugins/systems/admin/systems/class_divListSystem.inc index bd339a332..aabd94781 100644 --- a/gosa-plugins/systems/admin/systems/class_divListSystem.inc +++ b/gosa-plugins/systems/admin/systems/class_divListSystem.inc @@ -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.= "...|". - " "._("Opsi")."|"."newsystem_opsi_client|\n"; + " "._("Opsi client")."|"."newsystem_opsi_client|\n"; } if($this->parent->si_active){ -- 2.30.2