From: hickert Date: Thu, 22 Feb 2007 07:20:32 +0000 (+0000) Subject: Added sieve debug buttons X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f7707bd9aff22cfb1cf2aaddc740cd07e7cde673;p=gosa.git Added sieve debug buttons git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5728 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/mail/class_mailAccount.inc b/plugins/personal/mail/class_mailAccount.inc index daff20ea6..2ae9c66d4 100644 --- a/plugins/personal/mail/class_mailAccount.inc +++ b/plugins/personal/mail/class_mailAccount.inc @@ -236,6 +236,27 @@ class mailAccount extends plugin $mailserver[]= $key; } + + /* + * Sieve Management + */ + if(isset($_POST['sieveManagement'])) { + $this->dialog = new sieveManagement($this->config,$this->dn,$this); + } + + if(is_object($this->dialog)){ + $this->dialog->save_object(); + return($this->dialog->execute()); + } + + + + + + + + + /* Handle account state */ /* Do we need to flip is_account state? */ if(isset($_POST['modify_state'])){ diff --git a/plugins/personal/mail/generic.tpl b/plugins/personal/mail/generic.tpl index 157f739b3..0b79ae57c 100644 --- a/plugins/personal/mail/generic.tpl +++ b/plugins/personal/mail/generic.tpl @@ -45,6 +45,11 @@ {/render} + + + + +