From a6bb349634b532897e6a15628d18143341015cb5 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 10 Nov 2006 10:22:44 +0000 Subject: [PATCH] Updated cd image generation git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5065 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_divListSystem.inc | 7 ++++++- plugins/admin/systems/gencd.tpl | 17 +++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 plugins/admin/systems/gencd.tpl diff --git a/plugins/admin/systems/class_divListSystem.inc b/plugins/admin/systems/class_divListSystem.inc index c5665751c..1d465a18a 100644 --- a/plugins/admin/systems/class_divListSystem.inc +++ b/plugins/admin/systems/class_divListSystem.inc @@ -6,6 +6,7 @@ class divListSystem extends MultiSelectWindow /* Current base */ var $selectedBase = ""; var $departments = array(); + var $do_iso = FALSE; /* Regex */ var $Regex = "*"; @@ -33,6 +34,10 @@ class divListSystem extends MultiSelectWindow $this->parent = $parent; $this->ui = get_userinfo(); + if (search_config($config->data['TABS'], "workgeneric", "ISOCMD")){ + $this->do_iso= TRUE; + } + /* Set list strings */ $this->SetTitle(_("List of systems")); $this->SetSummary(_("List of systems")); @@ -175,7 +180,7 @@ class divListSystem extends MultiSelectWindow $action2 = ""; } - if(in_array("gotoWorkstation",$val['objectClass'])){ + if($this->do_iso && in_array("gotoWorkstation",$val['objectClass'])){ $action2= "".$action2; } diff --git a/plugins/admin/systems/gencd.tpl b/plugins/admin/systems/gencd.tpl new file mode 100644 index 000000000..d5f3bc341 --- /dev/null +++ b/plugins/admin/systems/gencd.tpl @@ -0,0 +1,17 @@ +

+ {t}This dialog is not ready yet. Please hold the line.{/t} +

+ +

+ +   + +

+ + + -- 2.30.2