Code

Updated buttons
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 16 Mar 2010 14:39:05 +0000 (14:39 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 16 Mar 2010 14:39:05 +0000 (14:39 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16665 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/mail/admin/groups/mail/mail.tpl
gosa-plugins/mail/admin/groups/mail/mail_admins.tpl
gosa-plugins/mail/admin/groups/mail/mail_locals.tpl
gosa-plugins/mail/admin/groups/mail/paste_mail.tpl

index 23791950b73801b26e4fe9385602d20b258eedfa..58c849ed9f0de6af312556dcf0a790e264c11e1c 100644 (file)
 {/render}
 
 {render acl=$gosaMailAlternateAddressACL}
-   <input type=submit value="{msgPool type=addButton}" name="add_alternate">&nbsp;
+   <button type='submit' name='add_alternate'>{msgPool type=addButton}</button>&nbsp;
+
 {/render}
 
 {render acl=$gosaMailAlternateAddressACL}
-   <input type=submit value="{msgPool type=delButton}" name="delete_alternate">
+   <button type='submit' name='delete_alternate'>{msgPool type=delButton}</button>
+
 {/render}
   </td>
 {/if}
                   <option disabled>&nbsp;</option>
                  </select>
                        {if !($user == "__anyone__" || $user == "__member__")}
-                               <input type='submit' value='{msgPool type=delButton}' name='remove_acl_user_{$item.post_name}'>
+                               <button type='submit' name='remove_acl_user_{$item.post_name}'>{msgPool type=delButton}</button>
+
                        {/if}
 {/render}
                        {if $user == "__member__"}
                                {if $show_effective_memeber}
-                                       <input type='submit' name='show_effective_memeber' value='{t}Hide{/t}'> 
+                                       <button type='submit' name='show_effective_memeber'>{t}Hide{/t}</button> 
+
                                {else}
-                                       <input type='submit' name='show_effective_memeber' value='{t}Show{/t}'> 
+                                       <button type='submit' name='show_effective_memeber'>{t}Show{/t}</button> 
+
                                {/if}
                        {/if}
                 </td>
                
                <tr>
                        <td colspan="1"></td>
-                       <td><input type='submit' value='{msgPool type=addButton}' name='add_acl_user'>
+                       <td><button type='submit' name='add_acl_user'>{msgPool type=addButton}</button>
+
                </tr>
    </table>
 {/if}      
    <input type='text' name="forward_address" size=20 align=middle maxlength=65 value="">
 {/render}
 {render acl=$gosaMailForwardingAddressACL}
-   <input type=submit value="{msgPool type=addButton}" name="add_forwarder">&nbsp;
+   <button type='submit' name='add_forwarder'>{msgPool type=addButton}</button>&nbsp;
+
 {/render}
 {render acl=$gosaMailForwardingAddressACL}
-   <input type=submit value="{t}Add local{/t}" name="add_local_forwarder">&nbsp;
+   <button type='submit' name='add_local_forwarder'>{t}Add local{/t}</button>&nbsp;
+
 {/render}
 {render acl=$gosaMailForwardingAddressACL}
-   <input type=submit value="{msgPool type=delButton}" name="delete_forwarder">
+   <button type='submit' name='delete_forwarder'>{msgPool type=delButton}</button>
+
 {/render}
 
   </td>
index ba348821a080807975d503f2682927093dff66a4..5826de02ef73f3bb633c0973a62f70eaf278a5b1 100644 (file)
@@ -9,10 +9,12 @@
   </td>
 
   <td style="width:10%; vertical-align:middle; text-align:center;">
-   <input type=submit name="add_users" value="&larr;" style="width:50px;">
+   <button type='submit' name='add_users'>&larr;</button>
+
    <br>
    <br>
-   <input type=submit name="del_users" value="&rarr;" style="width:50px;">
+   <button type='submit' name='del_users'>&rarr;</button>
+
   </td>
 
   <td style="width:45%; vertical-align:top;">
@@ -27,7 +29,8 @@
    </select>
 
    {if $javascript ne "true"}
-   <input type=submit name="goButton" value="{t}Choose{/t}">
+   <button type='submit' name='goButton'>{t}Choose{/t}</button>
+
    {/if}
   </td>
  </tr>
@@ -35,7 +38,9 @@
 
 <hr>
 <div class="plugin-actions">
- <input type=submit name="edit_admins_finish" value="{msgPool type=applyButton}">
- <input type=submit name="edit_admins_cancel" value="{msgPool type=cancelButton}">
+ <button type='submit' name='edit_admins_finish'>{msgPool type=applyButton}</button>
+
+ <button type='submit' name='edit_admins_cancel'>{msgPool type=cancelButton}</button>
+
 </div>
 
index baf9d7b652cd9f54ef75d135a0a8326563711957..248ab6a7604c2abc0b738de1e77a5e1e1815dbfd 100644 (file)
@@ -64,6 +64,8 @@
 
 <hr>
 <div class="plugin-actions">
-  <input type=submit name="add_locals_finish" value="{msgPool type=addButton}">
-  <input type=submit name="add_locals_cancel" value="{msgPool type=cancelButton}">
+  <button type='submit' name='add_locals_finish'>{msgPool type=addButton}</button>
+
+  <button type='submit' name='add_locals_cancel'>{msgPool type=cancelButton}</button>
+
 </div>
index 97613f632b77fedd05636f834aa736212a5f0917..9e07c6683f20306b5b6ffc573447d79833c5bcb2 100644 (file)
                                                </select>
                                                <br>
                                                <input type='text' name="alternate_address" size="30" align=middle maxlength="60" value="">
-                                               <input type=submit value="{msgPool type=addButton}" name="add_alternate">&nbsp;
-                                               <input type=submit value="{msgPool type=delButton}" name="delete_alternate">
+                                               <button type='submit' name='add_alternate'>{msgPool type=addButton}</button>&nbsp;
+
+                                               <button type='submit' name='delete_alternate'>{msgPool type=delButton}</button>
+
                                        </td>
                                        <td style="vertical-align:top;width:50%">
                                                        {t}Forward messages to non group members{/t}
                                                </select>
                                                <br>
                                                <input type='text' name="forward_address" size=20 align=middle maxlength=65 value="">
-                                               <input type=submit value="{msgPool type=addButton}" name="add_forwarder">&nbsp;
-                                               <input type=submit value="{t}Add local{/t}" name="add_local_forwarder">&nbsp;
-                                               <input type=submit value="{msgPool type=delButton}" name="delete_forwarder">
+                                               <button type='submit' name='add_forwarder'>{msgPool type=addButton}</button>&nbsp;
+
+                                               <button type='submit' name='add_local_forwarder'>{t}Add local{/t}</button>&nbsp;
+
+                                               <button type='submit' name='delete_forwarder'>{msgPool type=delButton}</button>
+
                                        </td>
                                </tr>
                        </table>