Code

Added sieve debug buttons
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 22 Feb 2007 07:20:32 +0000 (07:20 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 22 Feb 2007 07:20:32 +0000 (07:20 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5728 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/mail/class_mailAccount.inc
plugins/personal/mail/generic.tpl

index daff20ea6728f4175702ba038209ff35f8256994..2ae9c66d463e48bdf2776e58c647b97cd7d18cdc 100644 (file)
@@ -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'])){
index 157f739b3139797a963c0aa96210db9bd4c68d38..0b79ae57c2a676a095937832b710e2b9ec5cb97c 100644 (file)
 {/render}
      </td>
     </tr>
+       <tr>
+        <td>   
+               <input type='submit' name='sieveManagement' value='{t}Sieve Management{/t}'>
+        </td>
+       </tr>
    </table>
   </td>