From f7707bd9aff22cfb1cf2aaddc740cd07e7cde673 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 22 Feb 2007 07:20:32 +0000 Subject: [PATCH] Added sieve debug buttons git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5728 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/mail/class_mailAccount.inc | 21 +++++++++++++++++++++ plugins/personal/mail/generic.tpl | 5 +++++ 2 files changed, 26 insertions(+) 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} + + + + + -- 2.30.2