Code

W3C checks
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 31 May 2005 14:21:09 +0000 (14:21 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 31 May 2005 14:21:09 +0000 (14:21 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@555 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupMail.inc
plugins/admin/groups/group_objects.tpl
plugins/admin/groups/mail.tpl

index e740fd36dee922862a5d4a61746890f6ce3e6fe4..97bd4a53c173a3f9e9aad09baea5d727222f1714 100644 (file)
@@ -382,7 +382,7 @@ class mailgroup extends plugin
     }
 
     /* Assemble extra attributes */
-    $acl= chkacl($this->acl, "permissions");
+    $perm= chkacl($this->acl, "permissions");
     $tmp= "";
     $nr= 0;
     $count= count($this->imapacl);
@@ -391,7 +391,7 @@ class mailgroup extends plugin
     foreach($this->imapacl as $user => $acl){
       if ($user != "anyone" && $user != "%members%"){
         $tmp.= "<tr><td><input name=\"user_$nr\" size=20 maxlength=60 ".
-               "value=\"$user\" $acl></td><td><select size=\"1\" name=\"perm_$nr\" $acl>";
+               "value=\"$user\" $perm></td><td><select size=\"1\" name=\"perm_$nr\" $perm>";
         foreach ($this->perms as $key => $value){
           if ($acl == $key){
             $tmp.= "<option value=$key selected>$value</option>";
@@ -402,11 +402,11 @@ class mailgroup extends plugin
         $tmp.= "</select>&nbsp;";
         if ($nr == $count - 1){
           $tmp.= "<input type=submit value=\""._("Add")."\" ".
-                 "name=\"add_$nr\" $acl>";
+                 "name=\"add_$nr\" $perm>";
         }
         if ($count > 3){
           $tmp.= "<input type=submit value=\""._("Remove")."\" ".
-                 "name=\"del_$nr\" $acl></td></tr>";
+                 "name=\"del_$nr\" $perm></td></tr>";
         }
       }
       $this->indexed_user[$nr]= $user;
index 3a0672d34b8cb3d84745d665c465311aa984e984..fdeadbf9da0e93cd0da9cda2c087771c6872cdb5 100644 (file)
@@ -8,7 +8,7 @@
    </div>
    <div class="contentboxb">
     <p class="contentboxb" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8">
-     <select style="width:500px; height:450px; margin-top:4px;" name="users[]" size=15" multiple>
+     <select style="width:500px; height:450px; margin-top:4px;" name="users[]" size="15" multiple>
       {html_options options=$users}
      </select>
      <input type=hidden name="edit_helper">
     <p class="contentboxh" style="font-size:12px"><img src="{$launchimage}" align="right" alt="[F]"><b>{t}Filters{/t}</b></p>
    </div>
    <div class="contentboxb">
-    <p class="contentboxb" style="border-top:1px solid #B0B0B0; background-color:#F8F8F8">
-     <table style="width:100%;">
+     <table style="width:100%;border-top:1px solid #B0B0B0;background-color:#F8F8F8">
       {$alphabet}
      </table>
-    </p>
-    <p class="contentboxb" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8">
-    <table width="100%"><tr><td width="50%"><img alt="" src="{$tree_image}" align=middle>&nbsp;{t}Display users of department{/t}</td>
+    <table width="100%" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8"><tr><td width="50%"><img alt="" src="{$tree_image}" align=middle>&nbsp;{t}Display users of department{/t}</td>
     <td><select name="dselect" size=1 onChange="mainform.submit()" title="{t}Choose the department the search will be based on{/t}">
       {html_options options=$deplist selected=$dselect}
     </select></td></tr></table>
-    </p>
-    <p class="contentboxb" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8">
-    <table width="100%"><tr><td width="50%"><img alt="" src="{$search_image}" align=middle>&nbsp;{t}Display users matching{/t}</td>
+    <table width="100%" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8"><tr><td width="50%"><img alt="" src="{$search_image}" align=middle>&nbsp;{t}Display users matching{/t}</td>
     <td><input type='text' name='regex' maxlength='20' value='{$regex}' title='{t}Regular expression for matching user names{/t}' onChange="mainform.submit()"></td></tr></table>
-    </p>
    {$apply}
    </div>
   </td>
index 112696033262646d9fab27a6fae120674ac80e66..fd6ac760228ab2e7ca94afc8e40b645cfd0432c7 100644 (file)
@@ -15,6 +15,7 @@
      <td>
       <select size="1" name="gosaMailServer" {$gosaMailServerACL} title="{t}Select mail server to place user on{/t}">
        {html_options values=$mailServers output=$mailServers selected=$gosaMailServer}
+          <option disabled></option>
       </select>
      </td>
     </tr>
@@ -34,7 +35,7 @@
     </tr>
     <tr>
      <td>{t}Quota size{/t}</td>
-     <td><input name="gosaMailQuota" size=6 align=middle maxlength=30 {$gosaMailQuota} value="{$gosaMailQuota}"> KB</td>
+     <td><input name="gosaMailQuota" size=6 align=middle maxlength=30 {$gosaMailQuotaACL} value="{$gosaMailQuota}"> KB</td>
     </tr>
    </table>
      
@@ -46,6 +47,7 @@
    <h2><img alt="" align="middle" src="images/alternatemail.png"> {t}Alternative addresses{/t}</h2>
    <select style="width:350px; height:100px;" name="alternates_list[]" size=15 multiple title="{t}List of alternative mail addresses{/t}">
     {html_options values=$gosaMailAlternateAddress output=$gosaMailAlternateAddress}
+       <option disabled></option>
    </select>
    <br>
    <input name="alternate_address" size=30 align=middle maxlength=30 {$gosaMailAlternateAddressACL} value="">
@@ -69,6 +71,7 @@
      <td>
       <select size="1" name="default_permissions" {$permissionsACL}>
        {html_options options=$perms selected=$default_permissions}
+          <option disabled></option>
       </select>
      </td>
     </tr>
@@ -91,6 +94,7 @@
    <h2><img alt="" align="middle" src="images/envelope.png"> {t}Forward messages to non group members{/t}</h2>
    <select style="width:350px; height:100px;" name="forwarder_list[]" size=15 multiple>
     {html_options values=$gosaMailForwardingAddress output=$gosaMailForwardingAddress}
+       <option disabled></option>
    </select>
    <br>
    <input name="forward_address" size=20 align=middle maxlength=65 {$gosaMailForwardingAddressACL} value="">