From 596bc6aedf48eff95ea22083cc59c597ce61d9fe Mon Sep 17 00:00:00 2001
From: Christophe Dumez <christophe@nexedi.com>
Date: Tue, 22 Aug 2006 13:41:16 +0000
Subject: [PATCH] - improved dialog buttons look in Konqueror by using input
 tags instead of button tags

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9321 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_xhtml_style/dialog_main.xml          | 21 +++----------------
 1 file changed, 3 insertions(+), 18 deletions(-)

diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml
index 29ab9880ae..04842bf992 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml
@@ -88,24 +88,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\n
           <tal:block metal:define-slot="main" />\n
           <tal:block metal:define-slot="bottom" />\n
         </div>\n
-        <button type="submit" name="Base_cancel:method">\n
-          <span class="image"></span>\n
-          <span class="description"\n
-                i18n:translate="" i18n:domain="ui">Cancel</span>\n
-        </button>\n
-        <button tal:condition="python: form.update_action!=\'\'"\n
-                type="submit" name="Base_showUpdateDialog:method">\n
-          <span class="image"></span>\n
-          <span class="description"\n
-                i18n:translate="" i18n:domain="ui">Update</span>\n
-        </button>\n
-        <button type="submit"\n
-                tal:attributes="name python: \'%s:method\' % (form_action, )">\n
-          <span class="image"></span>\n
-          <span class="description"\n
-                tal:content="python: here.Base_getFormViewDialogActionButtonTitle(form)"\n
-                i18n:translate="" i18n:domain="ui"></span>\n
-        </button>\n
+        <input value="Cancel" name="Base_cancel:method" type="submit" i18n:translate="" i18n:domain="ui" />\n
+        <input tal:condition="python: form.update_action!=\'\'" value="Update" name="Base_showUpdateDialog:method" type="submit" i18n:translate="" i18n:domain="ui" />\n
+        <input tal:attributes="value python: here.Base_getFormViewDialogActionButtonTitle(form); name python: \'%s:method\' % (form_action, )" type="submit" i18n:translate="" i18n:domain="ui" />\n
       </tal:block>\n
     </tal:block>\n
   </tal:block>\n
-- 
2.30.9