summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ef4442e)
raw | patch | inline | side by side (parent: ef4442e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 4 Nov 2005 05:11:09 +0000 (05:11 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 4 Nov 2005 05:11:09 +0000 (05:11 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1828 594d385d-05f5-0310-b6e9-bd551577e9d8
contrib/gosa.conf | patch | blob | history | |
plugins/addons/mailqueue/class_mailqueue.inc | patch | blob | history |
diff --git a/contrib/gosa.conf b/contrib/gosa.conf
index 9454e3eea49447690bdf5a62626d677609d1dc6e..8bc676e09ef4c3d9b5a74e9cf4da5e388c44602b 100644 (file)
--- a/contrib/gosa.conf
+++ b/contrib/gosa.conf
<plugin acl="logs" class="logview" icon="logview.png"
path="plugins/addons/logview" />
<plugin acl="mailqueue" class="mailqueue" icon="mailqueue.png"
+ mailqueue_query_command =""
+ mailqueue_remove_command=""
path="plugins/addons/mailqueue" />
<plugin acl="ldif" class="ldif" icon="ldif.png"
path="plugins/addons/ldapmanager" />
diff --git a/plugins/addons/mailqueue/class_mailqueue.inc b/plugins/addons/mailqueue/class_mailqueue.inc
index 95e8819f43dd83f755577a81f9f07a1648136c06..a07c5330416d875946be6041c40d0dc091d12151 100644 (file)
var $attributes= array();
var $objectclasses= array();
+ var $QueryCommand = "";
+ var $RemoveCommand= "";
+
function mailqueue($config, $dn= NULL)
{
/* Include config object */
$this->config= $config;
+ $this->QueryCommand = search_config($this->config->data['MENU'], "mailqueue", "MAILQUEUE_QUERY_COMMAND");
+ $this->RemoveCommand= search_config($this->config->data['MENU'], "mailqueue", "MAILQUEUE_REMOVE_COMMAND");
}
function execute()
/* Call parent execute */
plugin::execute();
$smarty= get_smarty();
+ print search_config($this->config->data['MENU'], "mailqueue", "MAILQUEUE_QUERY_COMMAND");
+ print search_config($this->config->data['MENU'], "mailqueue", "MAILQUEUE_REMOVE_COMMAND");
return ($smarty->fetch (get_template_path('contents.tpl', TRUE)));
}