Code

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

gosa-plugins/dns/admin/systems/services/dns/servDNSeditZoneEntries.tpl
gosa-plugins/dns/admin/systems/services/dns/servdns.tpl
gosa-plugins/dns/admin/systems/services/dns/servdnseditzone.tpl

index 3fd5d92b2c69a1feea3c8faa6cf55766810e4ea7..9245db24ca52be6de0e6091ece9ca7118717a70b 100644 (file)
@@ -10,7 +10,8 @@
        <br>
 
        {render acl=$acl}
-       <input type='submit' name='UserRecord' value='{t}New entry{/t}' title='{t}Create a new DNS zone entry{/t}'>
+       <button type='submit' name='UserRecord' title="{t}Create a new DNS zone entry{/t}">{t}New entry{/t}</button>
+
        {/render}
 {/if}
 
 <div style="text-algin:right;" align="right">
     <p>
        {render acl=$acl}
-        <input type="submit" name="SaveZoneEntryChanges" value="{msgPool type=saveButton}">
+        <button type='submit' name='SaveZoneEntryChanges'>{msgPool type=saveButton}</button>
+
        {/render}
-        <input type="submit" name="CancelZoneEntryChanges" value="{msgPool type=cancelButton}">
+        <button type='submit' name='CancelZoneEntryChanges'>{msgPool type=cancelButton}</button>
+
     </p>
 </div>
 
index 974eebef1608ca3e8c7b1462464a9e626a1d6caa..4ed53aa5e02e05994a8bf31fe658d6806fba51a8 100644 (file)
@@ -8,7 +8,8 @@
             <p>
             {$warning2}
             <br>
-            <input type='submit' name='cancel_take_over' value='{msgPool type=cancelButton}'>
+            <button type='submit' name='cancel_take_over'>{msgPool type=cancelButton}</button>
+
             </p>
             <p>
             {t}Following objects will be taken over{/t}&nbsp;:
@@ -28,7 +29,8 @@
         <select name='take_over_src'>
             {html_options options=$dns_server_list}
         </select>
-        <input type="submit" name="take_over" value="{t}Take over{/t}">
+        <button type='submit' name='take_over'>{t}Take over{/t}</button>
+
     </td>
 </tr>
 {/if}
@@ -37,7 +39,8 @@
 <h3>{t}Zones{/t}</h3>
                  {$ZoneList}
                  {if $is_createable}
-                 <input type="submit" name="AddZone" value="{msgPool type=addButton}">
+                 <button type='submit' name='AddZone'>{msgPool type=addButton}</button>
+
                  {else}
                  <input type="button" value="{msgPool type=addButton}" disabled>
                  {/if}
 <hr>
 <p>
 <div style="width:100%; text-align:right;">
-    <input type='submit' name='SaveService' value='{msgPool type=saveButton}'>
+    <button type='submit' name='SaveService'>{msgPool type=saveButton}</button>
+
     &nbsp;
-    <input type='submit' name='CancelService' value='{msgPool type=cancelButton}'>
+    <button type='submit' name='CancelService'>{msgPool type=cancelButton}</button>
+
 </div>
 </p>
index 5891bf1ba2f477bc3002d0a12e75b2dffc619659..0ea8b17c2a874d9006b05f9a2848f7a2e6c7dec9 100644 (file)
@@ -53,7 +53,9 @@
                                        </td>
                                        <td>
 {render acl=$zoneEditorACL mode=read_active}
-                                               <input type="submit" name="EditZoneEntries" value="{t}Edit{/t}" {if $AllowZoneEdit == false} disabled {/if}> 
+                                               <button type='submit' name='EditZoneEntries' {if $AllowZoneEdit == false} disabled {/if}
+>{t}Edit{/t}</button> 
+
 {/render}
                                        </td>
                                </tr>
                                                <input type="text"              name="StrMXRecord" value="">
 {/render}
 {render acl=$mXRecordACL}                                      
-                                               <input type="submit"    name="AddMXRecord" value="{msgPool type=addButton}">
+                                               <button type='submit' name='AddMXRecord'>{msgPool type=addButton}</button>
+
 {/render}
                                        </td>
                                </tr>
 </table>
 <div style="text-algin:right;" align="right">
        <p>
-               <input type="submit" name="SaveZoneChanges" value="{msgPool type=saveButton}">
-               <input type="submit" name="CancelZoneChanges" value="{msgPool type=cancelButton}">
+               <button type='submit' name='SaveZoneChanges'>{msgPool type=saveButton}</button>
+
+               <button type='submit' name='CancelZoneChanges'>{msgPool type=cancelButton}</button>
+
        </p>
 </div>
 <script language="JavaScript" type="text/javascript">