From 8a892ff4ca945be639500f3b7b3ced9100be2206 Mon Sep 17 00:00:00 2001 From: Fabien Morin <fabien@nexedi.com> Date: Tue, 18 Mar 2008 09:35:53 +0000 Subject: [PATCH] Change ListBox_asHTML to be XHTML valid (remove the repeated attribute "class", add a alt atribute in img markup) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19983 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_xhtml_style/ListBox_asHTML.xml | 8 ++++---- product/ERP5/bootstrap/erp5_xhtml_style/bt/revision | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml index 17a468c323..458a7fc415 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml @@ -244,7 +244,7 @@ </tal:block>\n </select>\n </td>\n - <td class="AnchorColumn" tal:condition="show_anchor_column" class="Data"> </td>\n + <td class="AnchorColumn Data" tal:condition="show_anchor_column"> </td>\n <td tal:condition="show_select_column"\n class="Data" style="width: 50px; text-align: center; vertical-align: middle">\n <input id="listbox_check_all" type="image"\n @@ -343,8 +343,8 @@ tal:attributes="href string:${method_id}?report_url=${line/getDomainUrl}&form_id=${form_id}&list_selection_name=${selection_name}"\n tal:content="structure python: \'%s%s %s\' % (\' \' * line.getDepth(), line.isOpen() and \'-\' or \'+\', section_name)" />\n </td>\n - <td class="AnchorColumn" tal:condition="python:show_anchor_column and len(render_result)" class="Data" style="width: 20px;">\n - <a href="#" tal:attributes="href python:render_result[0][4]"><img src="document_icon.gif" tal:attributes="src string:${portal_url_string}/images/line_clickable.png" /></a>\n + <td class="AnchorColumn Data" tal:condition="python:show_anchor_column and len(render_result)" style="width: 20px;">\n + <a href="#" tal:attributes="href python:render_result[0][4]"><img src="document_icon.gif" alt="document" tal:attributes="src string:${portal_url_string}/images/line_clickable.png" /></a>\n </td>\n <td tal:condition="show_select_column"\n class="DataA" style="width: 50px; text-align: center; vertical-align: middle"\n @@ -376,7 +376,7 @@ <tr tal:condition="here/showStat" id="listbox_stat_line"\n tal:attributes="id string:${field_id}_stat_line">\n <td tal:condition="is_report_tree_mode" class="Data"> </td>\n - <td class="AnchorColumn" tal:condition="show_anchor_column" class="Data"> </td>\n + <td class="AnchorColumn Data" tal:condition="show_anchor_column"> </td>\n <td tal:condition="show_select_column" class="Data"> </td>\n <tal:block tal:repeat="value here/getStatValueList">\n <td class="Data" align="left"\n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision index 54a584dece..37e6f1741c 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision @@ -1 +1 @@ -514 \ No newline at end of file +515 \ No newline at end of file -- 2.30.9