[Erp5-report] r26197 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Mar 30 20:15:33 CEST 2009
Author: kazuhiko
Date: Mon Mar 30 20:15:32 2009
New Revision: 26197
URL: http://svn.erp5.org?rev=26197&view=rev
Log:
remove duplicate tal:defines that are already defined in ListBox_asHTML.
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asStandardHTML.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/ListBox_asSearchStyleHTML.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml?rev=26197&r1=26196&r2=26197&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml [utf8] Mon Mar 30 20:15:32 2009
@@ -46,9 +46,7 @@
current_page_max python: listbox_max_lines * current_page;\n
current_page_start python: (listbox_max_lines * (current_page - 1)) + 1;\n
current_page_stop python: (total_line < current_page_max) and total_line or current_page_max;\n
- is_web_mode request/is_web_mode | nothing;\n
- box python: real_context.restrictedTraverse(box_relative_url);\n
- absolute_url real_context/absolute_url;">\n
+ box python: real_context.restrictedTraverse(box_relative_url);">\n
\n
<!-- ListBox (search mode) starts here. -->\n
<input type="hidden" \n
@@ -110,7 +108,7 @@
tal:define="table_form_id request/current_form_id | form_id">\n
\n
<a tal:condition="not:is_gadget_mode"\n
- tal:attributes="href string:${absolute_url}/${table_form_id}?list_style=table">\n
+ tal:attributes="href string:${context_url}/${table_form_id}?list_style=table">\n
<img id="style_toggle_icon" \n
src="erp5/images/search_style_icon.png" \n
alt="Search Icon"\n
@@ -154,7 +152,7 @@
tal:define = "params python: {\'list_style\':\'table\'}"\n
title="Table mode"\n
type="button"\n
- tal:attributes="onclick python: real_context.KnowledgePad_generateAjaxCall(absolute_url+\'/\'+table_form_id,box,box_id,params);"\n
+ tal:attributes="onclick python: real_context.KnowledgePad_generateAjaxCall(context_url+\'/\'+table_form_id,box,box_id,params);"\n
i18n:domain="ui" i18n:attributes="title">\n
<img id="style_toggle_icon"\n
alt="Table Mode Icon"\n
@@ -182,7 +180,7 @@
title="Flat List"\n
alt="Flat List"\n
tal:attributes="id string:${field_id}_flat_list_mode;\n
- onclick python: real_context.KnowledgePad_generateAjaxCall(absolute_url+\'/\'+form_id,box,box_id,params);"\n
+ onclick python: real_context.KnowledgePad_generateAjaxCall(context_url+\'/\'+form_id,box,box_id,params);"\n
i18n:domain="ui" i18n:attributes="title">\n
<img src="text_block.png"\n
tal:attributes="src string:${portal_url_string}/images/text_block.png;"/></button>\n
@@ -194,7 +192,7 @@
title="Report Tree"\n
alt="Report Tree"\n
tal:attributes="id string:${field_id}_report_tree_mode;\n
- onclick python: real_context.KnowledgePad_generateAjaxCall(absolute_url+\'/\'+form_id,box,box_id,params);"\n
+ onclick python: real_context.KnowledgePad_generateAjaxCall(context_url+\'/\'+form_id,box,box_id,params);"\n
i18n:domain="ui" i18n:attributes="title">\n
<img src="view_tree.png"\n
tal:attributes="src string:${portal_url_string}/images/view_tree.png;"/></button>\n
@@ -206,7 +204,7 @@
title="Domain Tree"\n
alt="Domain Tree"\n
tal:attributes="id string:${field_id}_domain_tree_mode;\n
- onclick python: real_context.KnowledgePad_generateAjaxCall(absolute_url+\'/\'+form_id,box,box_id,params);"\n
+ onclick python: real_context.KnowledgePad_generateAjaxCall(context_url+\'/\'+form_id,box,box_id,params);"\n
i18n:domain="ui" i18n:attributes="title">\n
<img src="view_choose.png"\n
tal:attributes="src string:${portal_url_string}/images/view_choose.png;"/></button>\n
@@ -346,7 +344,7 @@
style="cursor:pointer;"\n
tal:content="python: p+1"\n
tal:attributes="class python: p == here.current_page and \'selected\' or nothing;\n
- onclick python: real_context.KnowledgePad_generateAjaxCall(absolute_url+\'/\'+form_id,box,box_id,params)"/>\n
+ onclick python: real_context.KnowledgePad_generateAjaxCall(context_url+\'/\'+form_id,box,box_id,params)"/>\n
</tal:block>\n
</p>\n
</div>\n
@@ -390,7 +388,7 @@
tal:condition="python: here.getParamDict().has_key(\'your_search_text\')"\n
type="text"\n
tal:attributes=\'value python:here.getParamDict()["your_search_text"];\n
- onkeypress python:"if(event.keyCode==13){" + real_context.KnowledgePad_generateAjaxCall(absolute_url+"/"+form_id,box,box_id,params).replace("\\"this.value\\"","this.value")+ "return false;;}"\'/>\n
+ onkeypress python:"if(event.keyCode==13){" + real_context.KnowledgePad_generateAjaxCall(context_url+"/"+form_id,box,box_id,params).replace("\\"this.value\\"","this.value")+ "return false;;}"\'/>\n
\n
\n
<input tal:define ="params python: {\'ERP5Site_processAdvancedSearchBottom:method\':\'\',\'bottom_your_search_text\':\'this.value\'};"\n
@@ -399,7 +397,7 @@
value=""\n
tal:condition="python:not here.getParamDict().has_key(\'your_search_text\')"\n
type="text"\n
- tal:attributes=\'onkeypress python:"if(event.keyCode==13){" + real_context.KnowledgePad_generateAjaxCall(absolute_url+"/"+form_id,box,box_id,params).replace("\\"this.value\\"","this.value")+ "return false;;}"\'/>\n
+ tal:attributes=\'onkeypress python:"if(event.keyCode==13){" + real_context.KnowledgePad_generateAjaxCall(context_url+"/"+form_id,box,box_id,params).replace("\\"this.value\\"","this.value")+ "return false;;}"\'/>\n
\n
</div>\n
\n
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asStandardHTML.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asStandardHTML.xml?rev=26197&r1=26196&r2=26197&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asStandardHTML.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asStandardHTML.xml [utf8] Mon Mar 30 20:15:32 2009
@@ -42,25 +42,7 @@
<tal:block\n
xmlns:tal="http://xml.zope.org/namespaces/tal"\n
xmlns:metal="http://xml.zope.org/namespaces/metal"\n
- xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n
- tal:define="field_id here/getId;\n
- form_id python: here.getForm().id;\n
- selection_name here/getSelectionName;\n
- requested_selection_name here/getRequestedSelectionName;\n
- selection_index here/getSelectionIndex;\n
- selection here/getSelection;\n
- portal_url_string here/getPortalUrlString;\n
- real_context here/getContext;\n
- context_url real_context/absolute_url;\n
- md5_string here/getMD5Checksum;\n
- line_list here/query;\n
- is_domain_tree_mode here/isDomainTreeMode;\n
- is_report_tree_mode here/isReportTreeMode;\n
- is_domain_tree_supported here/isDomainTreeSupported;\n
- is_report_tree_supported here/isReportTreeSupported;\n
- show_select_column here/showSelectColumn;\n
- show_search_line here/showSearchLine;\n
- ">\n
+ xmlns:i18n="http://xml.zope.org/namespaces/i18n">\n
<tal:block metal:define-macro="main">\n
\n
<tal:replace tal:content="nothing">\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=26197&r1=26196&r2=26197&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] Mon Mar 30 20:15:32 2009
@@ -1,1 +1,1 @@
-682
+683
More information about the Erp5-report
mailing list