Code

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

17 files changed:
gosa-plugins/glpi/admin/systems/services/glpi/glpi.tpl
gosa-plugins/glpi/admin/systems/services/glpi/glpiAttachmentEdit.tpl
gosa-plugins/glpi/admin/systems/services/glpi/glpiAttachmentPool.tpl
gosa-plugins/glpi/admin/systems/services/glpi/glpiDeviceManagement.tpl
gosa-plugins/glpi/admin/systems/services/glpi/glpiManufacturer.tpl
gosa-plugins/glpi/admin/systems/services/glpi/glpiManufacturerAdd.tpl
gosa-plugins/glpi/admin/systems/services/glpi/glpiPrinter.tpl
gosa-plugins/glpi/admin/systems/services/glpi/glpiPrinterCartridges.tpl
gosa-plugins/glpi/admin/systems/services/glpi/glpiPrinterCartridgesEdit.tpl
gosa-plugins/glpi/admin/systems/services/glpi/glpiSelectUser.tpl
gosa-plugins/glpi/admin/systems/services/glpi/glpi_devices.tpl
gosa-plugins/glpi/admin/systems/services/glpi/glpi_edit_cartridge_type.tpl
gosa-plugins/glpi/admin/systems/services/glpi/glpi_edit_os.tpl
gosa-plugins/glpi/admin/systems/services/glpi/glpi_edit_printer_type.tpl
gosa-plugins/glpi/admin/systems/services/glpi/glpi_edit_type.tpl
gosa-plugins/glpi/admin/systems/services/glpi/goGlpiServer.tpl
gosa-plugins/glpi/admin/systems/services/glpi/remove_glpi.tpl

index c32283e9611cdc7fd22bf837ed58f6de03db8bd3..bd35bf0d24a91c711c4f7b65b473e41a0c6fea76 100644 (file)
@@ -15,7 +15,8 @@
                                                </select>
 {/render}
 {render acl=$typeACL}
-                                               <input type="submit" value="{t}edit{/t}" name="edit_type">      
+                                               <button type='submit' name='edit_type'>{t}edit{/t}</button>     
+
 {/render}
                                        </td>
                                </tr>
@@ -29,7 +30,8 @@
                                                </select>       
 {/render}
 {render acl=$osACL}
-                                               <input type="submit" value="{t}edit{/t}" name="edit_os">        
+                                               <button type='submit' name='edit_os'>{t}edit{/t}</button>       
+
 {/render}
                                        </td>
                                </tr>
@@ -43,7 +45,8 @@
                                                </select>       
 {/render}
 {render acl=$FK_glpi_enterpriseACL}
-                                               <input type="submit" value="{t}edit{/t}" name="edit_manufacturer">      
+                                               <button type='submit' name='edit_manufacturer'>{t}edit{/t}</button>     
+
 {/render}
                                        </td>
                                </tr>
@@ -58,7 +61,8 @@
                                        <td>
                                                <i>{$contact_num}&nbsp; </i>&nbsp;
 {render acl=$contact_numACL}
-                                               <input type="submit" name="SelectContactPerson" value="{t}Edit{/t}">
+                                               <button type='submit' name='SelectContactPerson'>{t}Edit{/t}</button>
+
 {/render}
                                        </td>
                                </tr>
@@ -68,7 +72,8 @@
                                        <td>
                                                <i>{$tech_num}&nbsp; </i>&nbsp;
 {render acl=$tech_numACL}
-                                               <input type="submit" value="{t}Edit{/t}" name="SelectTechPerson">
+                                               <button type='submit' name='SelectTechPerson'>{t}Edit{/t}</button>
+
 {/render}
                                        </td>
                                </tr>
                                                </select>
 {/render}
 {render acl=$DevicesACL}
-                                               <input name="AddDevice" value="{t}Edit{/t}" type="submit">      
+                                               <button type='submit' name='AddDevice'>{t}Edit{/t}</button>     
+
 {/render}
                                        </td>
                                </tr>
                                                {$AttachmentsDiv}
 {/render}
 {render acl=$AttachmentsACL}
-                                               <input name="AddAttachment"     value="{msgPool type=addButton}" type="submit"> 
+                                               <button type='submit' name='AddAttachment'>{msgPool type=addButton}</button>    
+
 {/render}
                                        </td>
                                </tr>
index cb82d0315342be48f775002784b2de390afcd243..c5f691f27b6682c9c2c9c65d555b7b93c7433773 100644 (file)
@@ -30,7 +30,8 @@
                                                {t}File{/t}
                                        </td>
                                        <td style="vertical-align:top;">
-                                               <input type="file" value="" name="filename"><input type="submit" name="upload" value="{t}Upload{/t}">
+                                               <input type="file" value="" name="filename"><button type='submit' name='upload'>{t}Upload{/t}</button>
+
                                        </td>
                                </tr>
                                <tr>
 <hr>
 <div align="right">
        <p>
-               <input type="submit" name="SaveAttachment"              value="{msgPool type=saveButton}">
-               <input type="submit" name="CancelAttachment"    value="{msgPool type=cancelButton}">
+               <button type='submit' name='SaveAttachment'>{msgPool type=saveButton}</button>
+
+               <button type='submit' name='CancelAttachment'>{msgPool type=cancelButton}</button>
+
        </p>
 </div>
 <script language="JavaScript" type="text/javascript">
index 1094e5ae903e806556084be5cab93616b80bdbd4..cd765fd214e7dc6876c0a0fc0026357dcfb1ecdf 100644 (file)
@@ -48,7 +48,9 @@
 <hr>
 <div align="right">
        <p>
-               <input type="submit" name="UseAttachment" value="{t}Use{/t}">
-               <input type="submit" name="AbortAttachment" value="{msgPool type=cancelButton}">
+               <button type='submit' name='UseAttachment'>{t}Use{/t}</button>
+
+               <button type='submit' name='AbortAttachment'>{msgPool type=cancelButton}</button>
+
        </p>
 </div>
index c42e852d441ac3e2af58558ff4483f1f7242f54f..5c510827b5b63da0c9d1899b7f63c5b69faf279b 100644 (file)
@@ -48,7 +48,9 @@
 <hr>
 <div align="right">
        <p>
-               <input type="submit" name="SelectDeviceSave" value="{t}Use{/t}">
-               <input type="submit" name="SelectDeviceCancel" value="{msgPool type=cancelButton}">
+               <button type='submit' name='SelectDeviceSave'>{t}Use{/t}</button>
+
+               <button type='submit' name='SelectDeviceCancel'>{msgPool type=cancelButton}</button>
+
        </p>
 </div>
index 50d28e5805ddf53c7b965f88634ae727a3bdb64b..6a10c9fe1050a7885599bfa3930fec753b55813e 100644 (file)
@@ -3,13 +3,17 @@
   {html_options values=$ManuKeys output=$Manus}
 </select>
 <br>
-<input name="add_manu"                 value="{msgPool type=addButton}"                type="submit">
-<input name="edit_manu"        value="{t}Edit{/t}"     type="submit">
-<input name="remove_manu"      value="{t}Remove{/t}"   type="submit">
+<button type='submit' name='add_manu'>{msgPool type=addButton}</button>
+
+<button type='submit' name='edit_manu'>{t}Edit{/t}</button>
+
+<button type='submit' name='remove_manu'>{t}Remove{/t}</button>
+
 
 <hr>
 <div align="right">
 <p>
-       <input name="close_edit_manufacturer" value="{t}Close{/t}" type="submit">
+       <button type='submit' name='close_edit_manufacturer'>{t}Close{/t}</button>
+
 </p>
 </div>
index c27857c08bc4bbd7e908a775258551131dc1352f..8c42b99a33180451cb324ae43d32cc3613b63883 100644 (file)
 <hr>
 <div align="right">
 <p>
-       <input name="save_manufacturer" value="{msgPool type=saveButton}" type="submit">
-       <input name="close_manufacturer" value="{t}Close{/t}" type="submit">
+       <button type='submit' name='save_manufacturer'>{msgPool type=saveButton}</button>
+
+       <button type='submit' name='close_manufacturer'>{t}Close{/t}</button>
+
 </p>
 </div>
 <script language="JavaScript" type="text/javascript">
index 97e7c4f09490dda96ebffa935cb68117f6589e25..b0d79d82b79dd9f74ef632eecaea599802366d90 100644 (file)
@@ -15,7 +15,8 @@
                                                </select>
 {/render}
 {render acl=$typeACL}
-                                               <input type="submit" value="{t}edit{/t}" name="edit_type" >     
+                                               <button type='submit' name='edit_type'>{t}edit{/t}</button>     
+
 {/render}
                                        </td>
                                </tr>
@@ -29,7 +30,8 @@
                                                </select>       
 {/render}
 {render acl=$FKglpienterpriseACL}
-                                               <input type="submit" value="{t}edit{/t}" name="edit_manufacturer" >     
+                                               <button type='submit' name='edit_manufacturer'>{t}edit{/t}</button>     
+
 {/render}
                                        </td>
                                </tr>
@@ -85,7 +87,8 @@
                                        <td>
                                                <i>{$tech_num}&nbsp; </i>&nbsp;
 {render acl=$tech_numACL}
-                                               <input type="submit" value="{t}Edit{/t}" name="SelectTechPerson" >
+                                               <button type='submit' name='SelectTechPerson'>{t}Edit{/t}</button>
+
 {/render}
                                        </td>
                                </tr>
@@ -96,7 +99,8 @@
                                        <td>
                                                <i>{$contact_num}&nbsp; </i>&nbsp;
 {render acl=$contact_numACL}
-                                               <input type="submit" name="SelectContactPerson" value="{t}Edit{/t}">
+                                               <button type='submit' name='SelectContactPerson'>{t}Edit{/t}</button>
+
 {/render}
 
                                        </td>
                                                {$AttachmentsDiv}
 {/render}
 {render acl=$AttachmentsACL}
-                                               <input name="AddAttachment"     value="{msgPool type=addButton}" type="submit" >        
+                                               <button type='submit' name='AddAttachment'>{msgPool type=addButton}</button>    
+
 {/render}
                                        </td>
                                </tr>
                                                </select>
 {/render}
 {render acl=$CartridgesACL}
-                                               <input name="AddCartridge"      value="{msgPool type=addButton}" type="submit" >        
+                                               <button type='submit' name='AddCartridge'>{msgPool type=addButton}</button>     
+
 {/render}
 {render acl=$CartridgesACL}
-                                               <input name="RemoveCartridge"   value="{t}Remove{/t}" type="submit" >   
+                                               <button type='submit' name='RemoveCartridge'>{t}Remove{/t}</button>     
+
 {/render}
                                        </td>
                                </tr>
index ab16b1bee2963943b4ca78071510945533de857f..a34ffbffe5cbccf4df012edcced56ad06ea10f63 100644 (file)
@@ -48,7 +48,9 @@
 <hr>
 <div align="right">
        <p>
-       <input type="submit" name="SelectCartridgeSave" value="{t}Use{/t}">
-       <input type="submit" name="SelectCartridgeCancel" value="{msgPool type=cancelButton}">
+       <button type='submit' name='SelectCartridgeSave'>{t}Use{/t}</button>
+
+       <button type='submit' name='SelectCartridgeCancel'>{msgPool type=cancelButton}</button>
+
        </p>
 </div>
index 52d92e32030363546ed44de7295f5e4bea872985..ef9b7f0e3d69bb02de3d303ec2b92cecf578fbd8 100644 (file)
@@ -40,7 +40,8 @@
                                                <select name="type" >
                             {html_options values=$typeKeys output=$types selected=$type}
                         </select>
-                        <input type="submit" value="{t}edit{/t}" name="edit_type_cartridge">
+                        <button type='submit' name='edit_type_cartridge'>{t}edit{/t}</button>
+
                     </td>
                        </tr>
                 <tr>
@@ -50,7 +51,8 @@
                                                <select name="FK_glpi_enterprise">
                             {html_options values=$ManufacturerKeys output=$Manufacturers selected=$FK_glpi_enterprise}
                         </select>
-                        <input type="submit" value="{t}edit{/t}" name="edit_manufacturer_cartridges">
+                        <button type='submit' name='edit_manufacturer_cartridges'>{t}edit{/t}</button>
+
                     </td>
                        </tr>
                                <tr>
@@ -58,7 +60,8 @@
                     </td>
                     <td>
                         <i>{$tech_num}&nbsp; </i>&nbsp;
-                        <input type="submit" value="{t}Choose{/t}" name="SelectCartridgeTechPerson">
+                        <button type='submit' name='SelectCartridgeTechPerson'>{t}Choose{/t}</button>
+
                     </td>
                 </tr>
                        </table>
 <hr>
 <div style="text-align:right;">
        <p>
-               <input type="submit" name="SaveCartridge"       value="{msgPool type=saveButton}">&nbsp;
-               <input type="submit" name="CancelCartridge" value="{msgPool type=cancelButton}"><br>
+               <button type='submit' name='SaveCartridge'>{msgPool type=saveButton}</button>&nbsp;
+
+               <button type='submit' name='CancelCartridge'>{msgPool type=cancelButton}</button>
+<br>
        </p>
 </div>
 <script language="JavaScript" type="text/javascript">
index 56146614551c878f3981fa1beef3b3af8cd41039..da7388d04baabc18bf7ae81c855050dfeae34503 100644 (file)
@@ -48,6 +48,7 @@
 <hr>
 <div align="right">
        <p>
-       <input type="submit" name="{$AbortSelectUser}" value="{msgPool type=cancelButton}">
+       <button type='submit' name='{$AbortSelectUser}'>{msgPool type=cancelButton}</button>
+
 </p>
 </div>
index 4916a9a881d36577892ba46c1354f068fa72618a..fc1ce45003753100c7bb91bfbfe8667b6366f76f 100644 (file)
 <hr>
 <div align="right">
        <p>
-               <input type="submit" value="{msgPool type=saveButton}" name="SaveDeviceChanges">
-               <input type="submit" value="{msgPool type=cancelButton}" name="AbortDeviceChanges">
+               <button type='submit' name='SaveDeviceChanges'>{msgPool type=saveButton}</button>
+
+               <button type='submit' name='AbortDeviceChanges'>{msgPool type=cancelButton}</button>
+
        </p> 
 </div>
index 25be99053b5ec35cebf0ebc0950385f2c27585a7..ecc02535076da9934fde7d77b2ab5d7ff4a37031 100644 (file)
@@ -3,14 +3,18 @@
                             {html_options values=$PrinterTypeKeys output=$PrinterTypes}
      </select><br>
         <input type='text' name="cartridge_type_string">
-        <input type="submit" name="add_cartridge_type"                 value="{msgPool type=addButton}" >
-        <input type="submit" name="rename_cartridge_type"      value="{t}Rename{/t}" >
-        <input type="submit" name="del_cartridge_type"                 value="{msgPool type=delButton}" >
+        <button type='submit' name='add_cartridge_type'>{msgPool type=addButton}</button>
+
+        <button type='submit' name='rename_cartridge_type'>{t}Rename{/t}</button>
+
+        <button type='submit' name='del_cartridge_type'>{msgPool type=delButton}</button>
+
 
 <hr>
 <div align="right">
 <p>
-<input name="close_edit_type_cartridge" value="{t}Close{/t}" type="submit">
+<button type='submit' name='close_edit_type_cartridge'>{t}Close{/t}</button>
+
 </p>
 </div>
 <script language="JavaScript" type="text/javascript">
index 1866d62b445f271eaa1a5cbcd4bc0669b59fbca5..2b5571cf59b8ce83ec4335e0758755ae83d5b8a9 100644 (file)
@@ -5,14 +5,18 @@
                                {html_options values=$OSKeys output=$OSs}
        </select><br>
        <input type='text' name="is_string">
-       <input type="submit" name="add_os"              value="{msgPool type=addButton}" >
-       <input type="submit" name="rename_os"   value="{t}Rename{/t}" >
-       <input type="submit" name="del_os"              value="{msgPool type=delButton}" >
+       <button type='submit' name='add_os'>{msgPool type=addButton}</button>
+
+       <button type='submit' name='rename_os'>{t}Rename{/t}</button>
+
+       <button type='submit' name='del_os'>{msgPool type=delButton}</button>
+
 
 <hr>
 <div align="right">
 <p>
-<input name="close_edit_os" value="{t}Close{/t}" type="submit">
+<button type='submit' name='close_edit_os'>{t}Close{/t}</button>
+
 </p>
 </div>
 <script language="JavaScript" type="text/javascript">
 <hr>
     <p>
         <div align="right" style="text-align: right;">
-            <input type="submit" name="Rename_os_OK"       value="{t}Rename{/t}" >
-            <input type="submit" name="Rename_Cancel"   value="{msgPool type=cancelButton}" >
+            <button type='submit' name='Rename_os_OK'>{t}Rename{/t}</button>
+
+            <button type='submit' name='Rename_Cancel'>{msgPool type=cancelButton}</button>
+
         </div>
     </p>
 <script language="JavaScript" type="text/javascript">
index 10940b23150832c4c489bb2a8ead710e76ebb186..7c85ddc84f65c543b7390c024c209776d995f887 100644 (file)
@@ -4,14 +4,18 @@
                                                        {html_options values=$PrinterTypeKeys output=$PrinterTypes}
         </select><br>
         <input type='text' name="type_string">
-        <input type="submit" name="add_type"           value="{msgPool type=addButton}" >
-        <input type="submit" name="rename_type"        value="{t}Rename{/t}" >
-        <input type="submit" name="del_type"           value="{msgPool type=delButton}" >
+        <button type='submit' name='add_type'>{msgPool type=addButton}</button>
+
+        <button type='submit' name='rename_type'>{t}Rename{/t}</button>
+
+        <button type='submit' name='del_type'>{msgPool type=delButton}</button>
+
 
        <hr>
        <div align="right">
                <p>
-                       <input name="close_edit_type" value="{t}Close{/t}" type="submit">
+                       <button type='submit' name='close_edit_type'>{t}Close{/t}</button>
+
                </p>
        </div>
        <script language="JavaScript" type="text/javascript">
        <hr>
     <p>
         <div align="right" style="text-align: right;">
-            <input type="submit" name="Rename_PType_OK"       value="{t}Rename{/t}" >
-            <input type="submit" name="Rename_Cancel"   value="{msgPool type=cancelButton}" >
+            <button type='submit' name='Rename_PType_OK'>{t}Rename{/t}</button>
+
+            <button type='submit' name='Rename_Cancel'>{msgPool type=cancelButton}</button>
+
         </div>
     </p>
        <script language="JavaScript" type="text/javascript">
index 6a9395fbba0cd6c7d26bb494150f4454ef94c9f9..23533c0f33caa1f6ac8355f0456da1b7e4ee5a45 100644 (file)
@@ -5,14 +5,18 @@
                             {html_options values=$SystemTypeKeys output=$SystemTypes}
      </select><br>
         <input type='text' name="type_string">
-        <input type="submit" name="add_type"           value="{msgPool type=addButton}" >
-        <input type="submit" name="rename_type"        value="{t}Rename{/t}" >
-        <input type="submit" name="del_type"           value="{msgPool type=delButton}" >
+        <button type='submit' name='add_type'>{msgPool type=addButton}</button>
+
+        <button type='submit' name='rename_type'>{t}Rename{/t}</button>
+
+        <button type='submit' name='del_type'>{msgPool type=delButton}</button>
+
 
        <hr>
        <div align="right">
        <p>
-       <input name="close_edit_type" value="{t}Close{/t}" type="submit">
+       <button type='submit' name='close_edit_type'>{t}Close{/t}</button>
+
        </p>
        </div>
        <script language="JavaScript" type="text/javascript">
 <hr>
        <p>
                <div align="right" style="text-align: right;">
-                       <input type="submit" name="Rename_type_OK"              value="{t}Rename{/t}" >
-                       <input type="submit" name="Rename_Cancel"       value="{msgPool type=cancelButton}" >
+                       <button type='submit' name='Rename_type_OK'>{t}Rename{/t}</button>
+
+                       <button type='submit' name='Rename_Cancel'>{msgPool type=cancelButton}</button>
+
                </div>
        </p>
        <script language="JavaScript" type="text/javascript">
index 7f881355203eaf4cc783e9e84fc9968cd25f3ac8..c1d6a899d9c78670148d5e65963541bdd24ab629 100644 (file)
 
 <hr>
 <div style="width:100%; text-align:right;padding-top:10px;padding-bottom:3px;">
-    <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>
 <input type="hidden" name="goGlpiServer_posted" value="1">
index 83421f564cff252b44c6c159c2025c53320fac6c..e04f0937d845d4024eb007b5a83ec8cea7e0243b 100644 (file)
@@ -12,6 +12,8 @@
 
 <hr>
 <div class="plugin-actions">
-  <input type=submit name="delete_glpi_confirm" value="{msgPool type=delButton}">
-  <input type=submit name="delete_cancel" value="{msgPool type=cancelButton}">
+  <button type='submit' name='delete_glpi_confirm'>{msgPool type=delButton}</button>
+
+  <button type='submit' name='delete_cancel'>{msgPool type=cancelButton}</button>
+
 </div>