From a94e8b8e9a121acf8018423abedc0f5c0b8474cf Mon Sep 17 00:00:00 2001
From: hickert
Delete ".$dn."";
+
+# /* Delete request is permitted, perform LDAP action */
+# $this->dialog= new licensetabs($this->config,$this->config->data['TABS']['LICENSETABS'], $dn);
+# $this->dialog->delete();
+# $this->dialog= NULL;
} else {
/* Normally this shouldn't be reached, send some extra
@@ -178,8 +186,11 @@ class opsiLicenses extends plugin
***************/
if($s_action == "new" && !$this->dialog instanceOf tabs){
- $this->dialog = new licensetabs($this->config, $this->config->data['TABS']['LICENSETABS'], "new");
- $this->dialog->set_acl_base($this->config->current['BASE']);
+
+ echo "
Delete ".$dn."";
+
+ # $this->dialog = new licensetabs($this->config, $this->config->data['TABS']['LICENSETABS'], "new");
+ # $this->dialog->set_acl_base($this->config->current['BASE']);
}
/***************
@@ -194,11 +205,13 @@ class opsiLicenses extends plugin
$entry = $this->licenses[$s_entry];
$this->dn = $entry['dn'];
- /* Open the dialog */
- $this->dialog = new licensetabs($this->config, $this->config->data['TABS']['LICENSETABS'],
- $entry['dn'], "opsi");
- $this->dialog->set_acl_base($this->config->current['BASE']);
- set_object_info($this->dn);
+ echo "
Edit ".$dn."";
+
+# /* Open the dialog */
+# $this->dialog = new licensetabs($this->config, $this->config->data['TABS']['LICENSETABS'],
+# $entry['dn'], "opsi");
+# $this->dialog->set_acl_base($this->config->current['BASE']);
+# set_object_info($this->dn);
}
}
diff --git a/gosa-plugins/opsi/admin/opsiLicenses/remove.tpl b/gosa-plugins/opsi/admin/opsiLicenses/remove.tpl
index 76cf28860..8ac3a6b27 100644
--- a/gosa-plugins/opsi/admin/opsiLicenses/remove.tpl
+++ b/gosa-plugins/opsi/admin/opsiLicenses/remove.tpl
@@ -11,8 +11,8 @@
- + - +
-- 2.30.2