Code

Updated mail folder editing mechanism
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 12 Oct 2010 14:38:58 +0000 (14:38 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 12 Oct 2010 14:38:58 +0000 (14:38 +0000)
.

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

gosa-plugins/groupware/personal/groupware/class_Groupware.inc
gosa-plugins/groupware/personal/groupware/generic.tpl

index dff1a0f4c38ffed62ccfe0878be3f961a8aa6455..f31eac726dd5c6ecdc6e91695e09cc5d734d9e73 100644 (file)
@@ -909,6 +909,7 @@ class Groupware extends plugin
                     "plProvidedAcls"  => array(
                         "mailAddress"                   => _("Mail address"),
                         "mailLocation"                  => _("Mail location"),
+                        "mailFolder"                    => _("Mail folder"),
                         "quotaUsage"                    => _("Quota usage"),
                         "mailFilter"                    => _("Mail filter"),
                         "quotaSize"                     => _("Quota size"),
index 94cdd7c35dc75e03dacc364f004320142883a8e4..210f0e8ffe70ed97f1c919968c56442236f0cf83 100644 (file)
@@ -6,10 +6,6 @@
     <button name="retry">{t}Retry{/t}</button>
 {else}
 
-    {if $mailFolder_isActive}
-        {t}Mail folder{/t}:&nbps;<button name='configureFolder'>{msgPool type=editButton}</button>
-    {/if}
-
 <table summary="{t}Mail settings{/t}" style='width:100%;'>
     <tr>
         <td style='width:50%; '>  
                         {/render}
                     </td>
                 </tr>
+                {if $mailFolder_isActive}
+                <tr>
+                    <td><label for="mailFolder">{t}Mail folder{/t}</label></td>
+                    <td>
+                        {render acl=$mailFolderACL}
+                            <button name='configureFolder'>{msgPool type=editButton}</button>
+                        {/render}
+                    </td>
+                </tr>
+                {/if}
                 {if $quotaUsage_isActive}
                 <tr>
                     <td><label for='quotaUsage_dummy'>{t}Quota usage{/t}</label></td>