[Erp5-report] r19881 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Mar 13 21:52:23 CET 2008


Author: fabien
Date: Thu Mar 13 21:52:22 2008
New Revision: 19881

URL: http://svn.erp5.org?rev=19881&view=rev
Log:
Replace disabled="disabled" attribute by tabindex="1000". This gives the same behavior that we have before, but in a xhtml valid way. "disabled" attribute can't be used inside a "<a>" markup.
This is important for unit test because unit test are runed in devlopper mode. It should make test failed (but for tidy is just a warning).

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/developper_shortcut_render.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/developper_shortcut_render.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/developper_shortcut_render.xml?rev=19881&r1=19880&r2=19881&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/developper_shortcut_render.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/developper_shortcut_render.xml Thu Mar 13 21:52:22 2008
@@ -55,13 +55,13 @@
            xmlns:metal="http://xml.zope.org/namespaces/metal"\n
            xmlns:i18n="http://xml.zope.org/namespaces/i18n">\n
   <tal:block metal:define-macro="edit_link">\n
-    <a disabled="disabled" tal:condition="python: (getattr(object, \'meta_type\', None) is not None) and (getattr(object, \'getPortalObject\', None) is not None)"\n
+    <a tabindex="1000" tal:condition="python: (getattr(object, \'meta_type\', None) is not None) and (getattr(object, \'getPortalObject\', None) is not None)"\n
        tal:attributes="href python: \'%s/manage_main\' % (\'/\'.join(object.getPhysicalPath()[len(object.getPortalObject().getPhysicalPath()):])) # XXX: quick hack to get path;\n
        title info;"><img tal:attributes="src python: \'%s/images/%s\' % (portal_path, image);\n
                          alt info;" /></a>\n
   </tal:block>\n
   <tal:block metal:define-macro="translate_link">\n
-    <a disabled="disabled" tal:define="image image | python: \'translate.png\'"\n
+    <a tabindex="1000" tal:define="image image | python: \'translate.png\'"\n
        tal:attributes="href python: \'%s/manage_messages?regex=^%s%%24&amp;lang=%s\' % (\'/\'.join(here.Localizer.erp5_ui.getPhysicalPath()[len(here.Localizer.erp5_ui.getPortalObject().getPhysicalPath()):]), message.replace(\'(\', \'\\(\').replace(\')\', \'\\)\'), selected_language);\n
        title info;"><img tal:attributes="src python: \'%s/images/%s\' % (portal_path, image);\n
                          alt info;" /></a>\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=19881&r1=19880&r2=19881&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Thu Mar 13 21:52:22 2008
@@ -1,1 +1,1 @@
-503
+505




More information about the Erp5-report mailing list