From: cajus Date: Fri, 10 Nov 2006 10:22:44 +0000 (+0000) Subject: Updated cd image generation X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a6bb349634b532897e6a15628d18143341015cb5;p=gosa.git Updated cd image generation git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5065 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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} +

+ +

+ +   + +

+ + +