Code

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

gosa-plugins/goto/admin/systems/goto/SelectDeviceType.tpl
gosa-plugins/goto/admin/systems/goto/chooser.tpl
gosa-plugins/goto/admin/systems/goto/gencd.tpl
gosa-plugins/goto/admin/systems/goto/printer.tpl
gosa-plugins/goto/admin/systems/goto/selectUserToPrinterDialog.tpl
gosa-plugins/goto/admin/systems/goto/terminal.tpl
gosa-plugins/goto/admin/systems/goto/terminalService.tpl
gosa-plugins/goto/admin/systems/goto/terminalStartup.tpl
gosa-plugins/goto/admin/systems/goto/workstation.tpl
gosa-plugins/goto/admin/systems/goto/workstationStartup.tpl

index 792abdbd4b021742e2da5d54aa66e131fd9a99f1..e4c3fe4589995785d04f2912de940ee91b7f1214 100644 (file)
@@ -48,6 +48,8 @@
 </table>
 <hr>
 <div style="align: right;" align="right"><p>
-       <input type="submit" name="systemTypeChosen" value="{t}Continue{/t}">
-       <input type="submit" name="SystemTypeAborted" value="{msgPool type=cancelButton}">
+       <button type='submit' name='systemTypeChosen'>{t}Continue{/t}</button>
+
+       <button type='submit' name='SystemTypeAborted'>{msgPool type=cancelButton}</button>
+
 </p></div>
index 1c11e7452182283a1e87f2e10e8d0096a3e9a0f9..d7977c7fe0c87443c9652b78d9763a6825106a19 100644 (file)
 
 <hr>
 <div class="plugin-actions">
- <input type=submit name="create_system" value="{t}Create{/t}">
- <input type=submit name="cancel" value="{msgPool type=cancelButton}">
+ <button type='submit' name='create_system'>{t}Create{/t}</button>
+
+ <button type='submit' name='cancel'>{msgPool type=cancelButton}</button>
+
 </div>
 
 <input type="hidden" name="ignore">
index 4626e9f2cc07a6f96a6fe00c0b6dbcb3f9fa2536..28bdaecb707957baa3ee2c8172f05954901037ba 100644 (file)
@@ -7,8 +7,10 @@
 
 <hr>
 <div class="plugin-actions">
-  <input type=submit name="cd_create" value="{t}Create ISO-Image{/t}">
-  <input type=submit name="cd_cancel" value="{msgPool type=cancelButton}">
+  <button type='submit' name='cd_create'>{t}Create ISO-Image{/t}</button>
+
+  <button type='submit' name='cd_cancel'>{msgPool type=cancelButton}</button>
+
 </div>
 
 <!-- Place cursor -->
index 7018ba8b34f16466fbceedf050dd7c7a91a1a2a0..e3fd79012dbf602174f523b03fc5af0659f5d956 100644 (file)
       <br>
       {t}Driver{/t}: <i>{$driverInfo}</i>&nbsp;
 {render acl=$gotoPrinterPPDACL mode=read_active}
-       <input type="submit" name="EditDriver" value="{t}Edit{/t}">
+       <button type='submit' name='EditDriver'>{t}Edit{/t}</button>
+
 {/render}
 {render acl=$gotoPrinterPPDACL}
-       <input type="submit" name="RemoveDriver" value="{t}Remove{/t}">
+       <button type='submit' name='RemoveDriver'>{t}Remove{/t}</button>
+
 {/render}
      </td>
     </tr>
       </select><br>
 {/render}
 {render acl=$gotoUserPrinterACL}
-      <input type="submit" value="{msgPool type=addButton}"  name="AddUser">
+      <button type='submit' name='AddUser'>{msgPool type=addButton}</button>
+
 {/render}
 {render acl=$gotoUserPrinterACL}
-      <input type="submit" value="{msgPool type=delButton}" name="DelUser">
+      <button type='submit' name='DelUser'>{msgPool type=delButton}</button>
+
 {/render}
      </td>
     </tr>
                    </select><br>
 {/render}
 {render acl=$gotoUserPrinterACL}
-       <input type="submit" value="{msgPool type=addButton}"  name="AddAdminUser">
+       <button type='submit' name='AddAdminUser'>{msgPool type=addButton}</button>
+
 {/render}
 {render acl=$gotoUserPrinterACL}
-       <input type="submit" value="{msgPool type=delButton}" name="DelAdmin">
+       <button type='submit' name='DelAdmin'>{msgPool type=delButton}</button>
+
 {/render}
   
      </td>
index 4ee5a833edf02573dac730a8ab74acdafdf04e48..398be4d30a9b25582bd13761478c792bcc98b47a 100644 (file)
@@ -64,7 +64,9 @@
 
        <hr>
     <p align="right">
-    <input type="submit" name="PrinterSave"     value="{msgPool type=addButton}">
-    <input type="submit" name="PrinterCancel"   value="{msgPool type=cancelButton}">
+    <button type='submit' name='PrinterSave'>{msgPool type=addButton}</button>
+
+    <button type='submit' name='PrinterCancel'>{msgPool type=cancelButton}</button>
+
     </p>
 
index 41eecbba7e966cc4df87c880a60661623046874e..537c5ae3247ee28e22ce2ff83daf88d6177be355 100644 (file)
       </select>
 {/render}
 {render acl=$gotoNtpServerACL}
-               <input type="submit" name="addNtpServer" value="{msgPool type=addButton}"               id="addNtpServer"
+               <button type='submit' name='addNtpServer' id="addNtpServer">{msgPool type=addButton}</button>
                 {if $inheritTimeServer} disabled {/if}>
 {/render}
 {render acl=$gotoNtpServerACL}
-               <input type="submit" name="delNtpServer" value="{msgPool type=delButton}"       id="delNtpServer" 
+               <button type='submit' name='delNtpServer' id="delNtpServer">{msgPool type=delButton}</button>
                 {if $inheritTimeServer} disabled {/if}>
 {/render}
      </td>
                                                </td>
                                                <td>
                                                        {render acl=$gotoNtpServerACL}
-                                                       <input type=submit name="action" value="{t}Execute{/t}">
+                                                       <button type='submit' name='action'>{t}Execute{/t}</button>
+
                                                        {/render}
                                                </td>
                                        </tr>
                </td>
                <td>
                        {if $member_of_ogroup}
-                          <input type='submit' name='inheritAll' value='{t}Inherit all{/t}'>
+                          <button type='submit' name='inheritAll'>{t}Inherit all{/t}</button>
+
                        {/if}
                </td>
        </tr>
index 92760fc7bcaf946be3d7a87a10eecfa385de76a4..ea5738b3a55aec545e91165711af177c2be06dd0 100644 (file)
       </select>
 {/render}
 {render acl=$gotoXdmcpServerACL}
-       <input type="submit" name="XdmcpAddServer" value="{msgPool type=addButton}" title="{t}Add selected server{/t}"
+       <button type='submit' name='XdmcpAddServer' title="{t}Add selected server{/t}">{msgPool type=addButton}</button>
                {if $gotoXMethod_select == "default"} disabled {/if}>
 {/render}
 {render acl=$gotoXdmcpServerACL}
-       <input type="submit" name="XdmcpDelServer" value="{t}Remove{/t}" title="{t}Remove selected server{/t}"
+       <button type='submit' name='XdmcpDelServer' title="{t}Remove selected server{/t}">{t}Remove{/t}</button>
                {if $gotoXMethod_select == "default"} disabled {/if}>
 {/render}
 
index 49b50ce2b05d465c6f6a3e4918da5ed5033d8614..31ce1b2ab2cd5e7d609aa49d1121a478ef335a86 100644 (file)
@@ -24,7 +24,8 @@
     </select>
 {/render}
 {render acl=$gotoLdapServerACL_inherit}
-      <input type='submit' name='add_ldap_server' value="{msgPool type=addButton}" id='add_ldap_server'>
+      <button type='submit' name='add_ldap_server' id="add_ldap_server">{msgPool type=addButton}</button>
+
 {/render}
      </td>
     </tr>
     <input type='text' name="module" size=30 align=middle maxlength=30>
 {/render}
 {render acl=$gotoModulesACL}
-    <input type=submit value="{msgPool type=addButton}" name="add_module">&nbsp;
+    <button type='submit' name='add_module'>{msgPool type=addButton}</button>&nbsp;
+
 {/render}
 {render acl=$gotoModulesACL}
-    <input type=submit value="{msgPool type=delButton}" name="delete_module">
+    <button type='submit' name='delete_module'>{msgPool type=delButton}</button>
+
 {/render}
   </td>
 
                                 <input type="text" size=15 name="gotoShareMountPoint" value="{t}Mountpoint{/t}">
 {/render}
 {render acl=$gotoShareACL}
-                                <input type="submit" name="gotoShareAdd" value="{msgPool type=addButton}">
+                                <button type='submit' name='gotoShareAdd'>{msgPool type=addButton}</button>
+
 {/render}
 {render acl=$gotoShareACL}
-                                <input type="submit" name="gotoShareDel" value="{t}Remove{/t}">
+                                <button type='submit' name='gotoShareDel'>{t}Remove{/t}</button>
+
 {/render}
                         </td>
                 </tr>
index a73b212d1843f332d09e6078ad3533a144a3deeb..04fbcebc9d05be9dafaeab81eb4f3d5533e36589 100644 (file)
       </select>
 {/render}
 {render acl=$gotoNtpServerACL}
-        <input type="submit" name="addNtpServer" value="{msgPool type=addButton}"     id="addNtpServer"
+        <button type='submit' name='addNtpServer' id="addNtpServer">{msgPool type=addButton}</button>
          {if $inheritTimeServer} disabled {/if}>
 {/render}
 {render acl=$gotoNtpServerACL}
-        <input type="submit" name="delNtpServer" value="{msgPool type=delButton}"  id="delNtpServer" 
+        <button type='submit' name='delNtpServer' id="delNtpServer">{msgPool type=delButton}</button>
          {if $inheritTimeServer} disabled {/if}>
 {/render}
      </td>
   <td>
 {if $currently_installing}
 {render acl=r}
-   <input type=submit name="action" value="{t}Execute{/t}">
+   <button type='submit' name='action'>{t}Execute{/t}</button>
+
 {/render}
 {else}
 {render acl=$FAIstateACL}
-   <input type=submit name="action" value="{t}Execute{/t}">
+   <button type='submit' name='action'>{t}Execute{/t}</button>
+
 {/render}
 {/if}
   </td>
 </td>
 <td>
 {if $member_of_ogroup}
-   <input type='submit' name='inheritAll' value='{t}Inherit all values from group{/t}'>
+   <button type='submit' name='inheritAll'>{t}Inherit all values from group{/t}</button>
+
 {/if}
 </td>
 </tr></table>
index fe3f05cf604eb83fc5fb1c2ea822dd988efa73c8..6390416bafde23f481be4fd64a4acdd02f418d38 100644 (file)
@@ -46,7 +46,8 @@
     </select>
 {/render}
 {render acl=$gotoLdapServerACL_inherit}
-       <input type='submit' name='add_ldap_server' value="{msgPool type=addButton}" id='add_ldap_server'>
+       <button type='submit' name='add_ldap_server' id="add_ldap_server">{msgPool type=addButton}</button>
+
 {/render}
      </td>
     </tr>
@@ -68,7 +69,8 @@
        {elseif $si_fai_action_failed}
                <b>{msgPool type=siError}</b><br>
                {t}Check if the GOsa support daemon (gosa-si) is running.{/t}
-               <input type='submit' name='fai_si_retry' value="{t}retry{/t}">
+               <button type='submit' name='fai_si_retry'>{t}retry{/t}</button>
+
        {elseif $fai_activated}
 
                {if $FAIdebianMirror == "inherited"}
        {/render}
        {if $javascript eq 'false'}
        {render acl=$FAIdebianMirrorACL}
-               <input type="submit" value="{t}set{/t}" name="refresh">
+               <button type='submit' name='refresh'>{t}set{/t}</button>
+
        {/render}
        {/if}
                                        </td>
                        </select>       
        {/render}
        {render acl=$FAIclassACL}
-                       <input name="AddClass" value="{msgPool type=addButton}" type="submit"> 
+                       <button type='submit' name='AddClass'>{msgPool type=addButton}</button> 
+
        {/render}
        <!--            <input name="DelClass" value="{msgPool type=delButton}" type="submit"> -->
                        {/if}
     <input type='text' name="module" size=30 align=middle maxlength=30>
 {/render}
 {render acl=$gotoModulesACL}
-    <input type=submit value="{msgPool type=addButton}" name="add_module">&nbsp;
+    <button type='submit' name='add_module'>{msgPool type=addButton}</button>&nbsp;
+
 {/render}
 {render acl=$gotoModulesACL}
-    <input type=submit value="{msgPool type=delButton}" name="delete_module">
+    <button type='submit' name='delete_module'>{msgPool type=delButton}</button>
+
 {/render}
   </td>
 
                                 <input type="text" size=15 name="gotoShareMountPoint" value="{t}Mountpoint{/t}">
 {/render}
 {render acl=$gotoShareACL}
-                                <input type="submit" name="gotoShareAdd" value="{msgPool type=addButton}">
+                                <button type='submit' name='gotoShareAdd'>{msgPool type=addButton}</button>
+
 {/render}
 {render acl=$gotoShareACL}
-                                <input type="submit" name="gotoShareDel" value="{t}Remove{/t}" {if $gotoSharesCount == 0} disabled {/if}>
+                                <button type='submit' name='gotoShareDel' {if $gotoSharesCount == 0} disabled {/if}
+>{t}Remove{/t}</button>
+
 {/render}
                         </td>
                 </tr>