summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a64bc11)
raw | patch | inline | side by side (parent: a64bc11)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 10 Nov 2006 10:22:44 +0000 (10:22 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 10 Nov 2006 10:22:44 +0000 (10:22 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5065 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_divListSystem.inc | patch | blob | history | |
plugins/admin/systems/gencd.tpl | [new file with mode: 0644] | patch | blob |
diff --git a/plugins/admin/systems/class_divListSystem.inc b/plugins/admin/systems/class_divListSystem.inc
index c5665751c8d9a00b726c01262ab5b7c419e0ba68..1d465a18a66cf79d0c6872fff8c382839b67088c 100644 (file)
/* Current base */
var $selectedBase = "";
var $departments = array();
+ var $do_iso = FALSE;
/* Regex */
var $Regex = "*";
$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"));
$action2 = "";
}
- if(in_array("gotoWorkstation",$val['objectClass'])){
+ if($this->do_iso && in_array("gotoWorkstation",$val['objectClass'])){
$action2= "<input class='center' type='image' src='images/cdrom.png' alt='"._("Create CD")."' name='gen_cd_%KEY%' title='"._("Create FAI CD")."'>".$action2;
}
diff --git a/plugins/admin/systems/gencd.tpl b/plugins/admin/systems/gencd.tpl
--- /dev/null
@@ -0,0 +1,17 @@
+<p>
+ <b>{t}This dialog is not ready yet. Please hold the line.{/t}</b>
+</p>
+
+<p class="plugbottom">
+ <input type=submit name="cd_create" value="{t}Create ISO-Image{/t}">
+
+ <input type=submit name="cd_cancel" value="{t}Cancel{/t}">
+</p>
+
+<!-- Place cursor -->
+<script language="JavaScript" type="text/javascript">
+ <!-- // First input field on page
+ nextfield= 'new_password';
+ document.mainform.new_password.focus();
+ -->
+</script>