Code

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

gosa-plugins/sudo/admin/sudo/generic.tpl
gosa-plugins/sudo/admin/sudo/options.tpl
gosa-plugins/sudo/admin/sudo/remove.tpl

index 80008624ae8c55489209ee26ae0307ced47ce7fc..822ec749acb6bbe30e4c1cfee57853dedddecefc 100644 (file)
     {/render}
        <br>
     {render acl=$trustModelACL}
-       <input type="submit" id="add_ws" value="{msgPool type=addButton}" name="add_ws" {$trusthide}>&nbsp;
+       <button type='submit' name='add_ws' id="add_ws">{msgPool type=addButton}</button>&nbsp;
+
     {/render}
     {render acl=$trustModelACL}
-       <input type="submit" id="del_ws" value="{msgPool type=delButton}" name="delete_ws" {$trusthide}>
+       <button type='submit' name='delete_ws' id="del_ws">{msgPool type=delButton}</button>
+
     {/render}
 
   </td>
    <input type='text' value='' name='new_sudoUser'>
    {/render}
    {render acl=$sudoUserACL}
-   <input type='submit' name='add_sudoUser' value='{msgPool type=addButton}'>
+   <button type='submit' name='add_sudoUser'>{msgPool type=addButton}</button>
+
    {/render}
    {render acl=$sudoUserACL}
-   <input type='submit' name='list_sudoUser' value='{t}Add from list{/t}'>
+   <button type='submit' name='list_sudoUser'>{t}Add from list{/t}</button>
+
    {/render}
   </td>
   <td style="padding-left:5px;border-left: solid 1px #AAAAAA;">
    <input type='text' value='' name='new_sudoHost'>
    {/render}
    {render acl=$sudoHostACL}
-   <input type='submit' name='add_sudoHost' value='{msgPool type=addButton}'>
+   <button type='submit' name='add_sudoHost'>{msgPool type=addButton}</button>
+
    {/render}
    {render acl=$sudoHostACL}
-   <input type='submit' name='list_sudoHost' value='{t}Add from list{/t}'>
+   <button type='submit' name='list_sudoHost'>{t}Add from list{/t}</button>
+
    {/render}
   </td>
  </tr> 
    <input type='text' value='' name='new_sudoCommand'>
    {/render}
    {render acl=$sudoCommandACL}
-   <input type='submit' name='add_sudoCommand' value='{msgPool type=addButton}'>
+   <button type='submit' name='add_sudoCommand'>{msgPool type=addButton}</button>
+
    {/render}
   </td>
   <td style="padding-left:5px;border-left: solid 1px #AAAAAA;">
    <input type='text' value='' name='new_sudoRunAs'>
    {/render}
    {render acl=$sudoRunAsACL}
-   <input type='submit' name='add_sudoRunAs' value='{msgPool type=addButton}'>
+   <button type='submit' name='add_sudoRunAs'>{msgPool type=addButton}</button>
+
    {/render}
   </td>
  </tr>
index e939c57cb62f49a8e1e2a3280aaa4f03452b83d5..ba1e2255f3ab7c76779ba814f11f4e1ba814886e 100644 (file)
@@ -95,7 +95,8 @@
 {/render}
 
 {render acl=$ACL}   
-<input type="submit" name="add_option" value="{msgPool type=addButton}">
+<button type='submit' name='add_option'>{msgPool type=addButton}</button>
+
 {/render}
 
 <script language="JavaScript" type="text/javascript">
index 87d24103a97e9d5d184293feaabd8bdeaa3218eb..c677b267e8d61166a5a1b3025a8a02b66a958f1c 100644 (file)
@@ -12,6 +12,8 @@
 
 <hr>
 <div class="plugin-actions">
-  <input type=submit name="delete_confirmed" value="{msgPool type=delButton}">
-  <input type=submit name="delete_cancel" value="{msgPool type=cancelButton}">
+  <button type='submit' name='delete_confirmed'>{msgPool type=delButton}</button>
+
+  <button type='submit' name='delete_cancel'>{msgPool type=cancelButton}</button>
+
 </div>