From: hickert Date: Fri, 4 Nov 2005 05:11:09 +0000 (+0000) Subject: Added mqilQueue Commands X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4d23f0a9298fae2ac24a0045afa3f450f0aa9d28;p=gosa.git Added mqilQueue Commands git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1828 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/contrib/gosa.conf b/contrib/gosa.conf index 9454e3eea..8bc676e09 100644 --- a/contrib/gosa.conf +++ b/contrib/gosa.conf @@ -58,6 +58,8 @@ diff --git a/plugins/addons/mailqueue/class_mailqueue.inc b/plugins/addons/mailqueue/class_mailqueue.inc index 95e8819f4..a07c53304 100644 --- a/plugins/addons/mailqueue/class_mailqueue.inc +++ b/plugins/addons/mailqueue/class_mailqueue.inc @@ -10,11 +10,16 @@ class mailqueue extends plugin 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() @@ -22,6 +27,8 @@ class mailqueue extends plugin /* 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))); }