Code

Hide sieve settings from generic dialog.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 19 Mar 2007 11:05:40 +0000 (11:05 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 19 Mar 2007 11:05:40 +0000 (11:05 +0000)
Don't save gosa.script -->  save();

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5817 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 11298822d4c80e544baa1aa1307e7290eff6c191..b54791716c08b3452e5625cbc9f718ac533790d2 100644 (file)
@@ -236,7 +236,6 @@ class mailAccount extends plugin
       $mailserver[]= $key;
     }
 
-
     /* 
      * Sieve Management 
      */
@@ -775,7 +774,7 @@ class mailAccount extends plugin
         /* Ensure that this is an existing account */
         if($this->initially_was_account){
 
-          /* Write sieve information only if not in C mode */
+          /* Write sieve information only if not in C mode * /
           if (!is_integer(strpos($this->gosaMailDeliveryMode, "C"))){
             $method->configureFilter($this->$id,
                 $this->gosaMailDeliveryMode,
@@ -786,6 +785,7 @@ class mailAccount extends plugin
                 $this->gosaSpamSortLevel,
                 $this->gosaVacationMessage);
           }
+          */
         }
       }
     }
index 0b79ae57c2a676a095937832b710e2b9ec5cb97c..cae4ef6a9c15afdd2083d3e5d537309eaed91576 100644 (file)
@@ -1,6 +1,7 @@
 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding="0" border="0">
  <tr>
   <td style="width:50%; vertical-align:top;">
+
    <h2><img class="center" alt="" align="middle" src="images/rightarrow.png" />&nbsp;{t}Generic{/t}</h2>
    <table summary="">
     <tr>
 {/render}
      </td>
     </tr>
-       <tr>
-        <td>   
-               <input type='submit' name='sieveManagement' value='{t}Sieve Management{/t}'>
-        </td>
-       </tr>
-   </table>
+       </table>
   </td>
 
-  <td style="border-left:1px solid #A0A0A0">
-   &nbsp;
-  </td>
 
-  <td style="vertical-align:top;">
+  <td style="border-left:1px solid #A0A0A0;vertical-align:top;">
+       &nbsp;
+  </td>
+       <td>    
    <h2><img class="center" alt="" align="middle" src="images/alternatemail.png" /><label for="alternates_list"> {t}Alternative addresses{/t}</label></h2>
 {render acl=$gosaMailAlternateAddressACL}
    <select id="alternates_list" style="width:100%;height:100px;" name="alternates_list[]" size="15" multiple 
 </table>
 
 <p class="seperator">&nbsp;</p>
-
 <h2><img class="center" alt="" align="middle" src="images/envelope.png" />&nbsp;{t}Mail options{/t}</h2>
+<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4 border=0>
+ <tr>
+  <td> 
+   <input type='submit' name='sieveManagement' value='{t}Sieve Management{/t}'>
+  </td>
+ </tr>
+</table>
+<!--
 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4 border=0>
  <tr style="padding-bottom:0px;">
   <td style="width:50%">
   </td>
  </tr>
 </table>
-
 <p class="seperator">&nbsp;</p>
 
 <h2><img class="center" alt="" align="middle" src="images/false.png" />&nbsp;{t}Advanced mail options{/t}</h2>
 </table>
 
 <input type="hidden" name="mailTab" value="mailTab">
+-->
 
 <!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">