Commit f154107e authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

remove needless TAL expressions.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23859 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9ae9c426
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<tal:block metal:define-macro="master">\n <tal:block metal:define-macro="master">\n
<span id="jump" metal:define-macro="jump">\n <span id="jump" metal:define-macro="jump">\n
<select name="select_jump"\n <select name="select_jump"\n
tal:attributes="onChange string:submitAction(this.form,\'Base_doJump\')">\n onChange="submitAction(this.form,\'Base_doJump\')">\n
<option selected="selected" value=""\n <option selected="selected" value=""\n
i18n:translate="" i18n:domain="ui">Jump...</option>\n i18n:translate="" i18n:domain="ui">Jump...</option>\n
<tal:block tal:repeat="jump actions/object_jump | nothing">\n <tal:block tal:repeat="jump actions/object_jump | nothing">\n
...@@ -185,8 +185,8 @@ ...@@ -185,8 +185,8 @@
<span class="description" i18n:translate="" i18n:domain="ui">New</span>\n <span class="description" i18n:translate="" i18n:domain="ui">New</span>\n
</button>\n </button>\n
<button class="clone" type="submit" title="Clone"\n <button class="clone" type="submit" title="Clone"\n
name="Base_createCloneDocument:method"\n
tal:condition="not: list_mode"\n tal:condition="not: list_mode"\n
tal:attributes="name string:Base_createCloneDocument:method"\n
i18n:attributes="title" i18n:domain="ui">\n i18n:attributes="title" i18n:domain="ui">\n
<span class="image"></span>\n <span class="image"></span>\n
<span class="description" i18n:translate="" i18n:domain="ui">Clone</span>\n <span class="description" i18n:translate="" i18n:domain="ui">Clone</span>\n
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
}.get(dialog_category, \'Select\')"\n }.get(dialog_category, \'Select\')"\n
i18n:translate="" i18n:domain="ui"></label>\n i18n:translate="" i18n:domain="ui"></label>\n
<select name="select_dialog" id="dialog_selector"\n <select name="select_dialog" id="dialog_selector"\n
tal:attributes="onChange string:submitAction(this.form,\'Base_doDialog\')">\n onChange="submitAction(this.form,\'Base_doDialog\')">\n
\n \n
<tal:block tal:repeat="action dialog_actions">\n <tal:block tal:repeat="action dialog_actions">\n
<option tal:attributes="value action/url;\n <option tal:attributes="value action/url;\n
......
...@@ -46,9 +46,9 @@ ...@@ -46,9 +46,9 @@
<span class="first">\n <span class="first">\n
<span id="favourites">\n <span id="favourites">\n
<select name="select_favorite"\n <select name="select_favorite"\n
onChange="submitAction(this.form,\'Base_doFavorite\')"\n
tal:define="ordered_global_actions python:here.getOrderedGlobalActionList(actions[\'global\']);\n tal:define="ordered_global_actions python:here.getOrderedGlobalActionList(actions[\'global\']);\n
user_actions actions/user;"\n user_actions actions/user;">\n
tal:attributes="onChange string:submitAction(this.form,\'Base_doFavorite\')">\n
<option selected="selected" value=""\n <option selected="selected" value=""\n
i18n:translate="" i18n:domain="ui">My Favourites</option>\n i18n:translate="" i18n:domain="ui">My Favourites</option>\n
<tal:block tal:repeat="action ordered_global_actions">\n <tal:block tal:repeat="action ordered_global_actions">\n
...@@ -83,8 +83,8 @@ ...@@ -83,8 +83,8 @@
<span class="separator"><!--separator--></span>\n <span class="separator"><!--separator--></span>\n
<span id="modules">\n <span id="modules">\n
<select name="select_module"\n <select name="select_module"\n
tal:define="module_list here/ERP5Site_getModuleItemList;"\n onChange="submitAction(this.form,\'Base_doModule\')"\n
tal:attributes="onChange string:submitAction(this.form,\'Base_doModule\')">\n tal:define="module_list here/ERP5Site_getModuleItemList;">\n
<option selected="selected" value="" i18n:translate="" i18n:domain="ui">Modules</option>\n <option selected="selected" value="" i18n:translate="" i18n:domain="ui">Modules</option>\n
<option tal:repeat="module module_list"\n <option tal:repeat="module module_list"\n
tal:attributes="value python: module[1]"\n tal:attributes="value python: module[1]"\n
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
<span class="second">\n <span class="second">\n
<span id="language">\n <span id="language">\n
<select name="select_language"\n <select name="select_language"\n
tal:attributes="onChange string:submitAction(this.form,\'Base_doLanguage\')">\n onChange="submitAction(this.form,\'Base_doLanguage\')">\n
<option value=""\n <option value=""\n
i18n:translate="" i18n:domain="ui">My Language</option>\n i18n:translate="" i18n:domain="ui">My Language</option>\n
<option tal:repeat="language python: here.Localizer.get_languages_map()"\n <option tal:repeat="language python: here.Localizer.get_languages_map()"\n
......
...@@ -110,8 +110,8 @@ Beware this only generates the HTML code, no CSS generation is done in this scri ...@@ -110,8 +110,8 @@ Beware this only generates the HTML code, no CSS generation is done in this scri
<tal:block tal:condition="python:basic.report_axis_info[\'bound_start\']!=0">\n <tal:block tal:condition="python:basic.report_axis_info[\'bound_start\']!=0">\n
<b tal:replace="nothing"> previous page exists </b>\n <b tal:replace="nothing"> previous page exists </b>\n
<input type="image" src="/images/1leftarrowv.png" title="Previous Page" name="" border="0"\n <input type="image" src="/images/1leftarrowv.png" title="Previous Page" name="" border="0"\n
tal:attributes="src string:${address}/images/1leftarrowv.png;\n name="previousPage:method"\n
name string:previousPage:method" />\n tal:attributes="src string:${address}/images/1leftarrowv.png" />\n
</tal:block>\n </tal:block>\n
<select name="list_start" title="Change Page" size="1"\n <select name="list_start" title="Change Page" size="1"\n
onChange=""\n onChange=""\n
...@@ -136,8 +136,8 @@ Beware this only generates the HTML code, no CSS generation is done in this scri ...@@ -136,8 +136,8 @@ Beware this only generates the HTML code, no CSS generation is done in this scri
<tal:block tal:condition="python:basic.report_axis_info[\'bound_stop\']!=basic.report_axis_info[\'bound_end\']">\n <tal:block tal:condition="python:basic.report_axis_info[\'bound_stop\']!=basic.report_axis_info[\'bound_end\']">\n
<b tal:replace="nothing"> next page exists </b>\n <b tal:replace="nothing"> next page exists </b>\n
<input type="image" src="/images/1rightarrowv.png" title="Next Page" name="" border="0"\n <input type="image" src="/images/1rightarrowv.png" title="Next Page" name="" border="0"\n
tal:attributes="src string:${address}/images/1rightarrowv.png;\n name="nextPage:method"\n
name string:nextPage:method" />\n tal:attributes="src string:${address}/images/1rightarrowv.png" />\n
</tal:block>\n </tal:block>\n
\n \n
<tal:block tal:repeat="nb python:range(8)"> &nbsp; </tal:block>\n <tal:block tal:repeat="nb python:range(8)"> &nbsp; </tal:block>\n
...@@ -219,15 +219,15 @@ Beware this only generates the HTML code, no CSS generation is done in this scri ...@@ -219,15 +219,15 @@ Beware this only generates the HTML code, no CSS generation is done in this scri
<tal:block tal:condition="python:basic.report_axis_info[\'bound_start\']!=0">\n <tal:block tal:condition="python:basic.report_axis_info[\'bound_start\']!=0">\n
<!-- previous page exists -->\n <!-- previous page exists -->\n
<input type="image" src="/images/1leftarrowv.png" title="Previous Page" name="" border="0"\n <input type="image" src="/images/1leftarrowv.png" title="Previous Page" name="" border="0"\n
name="previousPage:method"\n
tal:attributes="src previous_src;\n tal:attributes="src previous_src;\n
name string:previousPage:method;\n
id python:axis.name + \'_previous\'" />\n id python:axis.name + \'_previous\'" />\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python:basic.report_axis_info[\'bound_stop\']!=basic.report_axis_info[\'bound_end\']">\n <tal:block tal:condition="python:basic.report_axis_info[\'bound_stop\']!=basic.report_axis_info[\'bound_end\']">\n
<!-- next page exists -->\n <!-- next page exists -->\n
<input type="image" src="/images/1rightarrowv.png" title="Next Page" name="" border="0"\n <input type="image" src="/images/1rightarrowv.png" title="Next Page" name="" border="0"\n
name="nextPage:method"\n
tal:attributes="src next_src;\n tal:attributes="src next_src;\n
name string:nextPage:method;\n
id python:axis.name + \'_next\'" />\n id python:axis.name + \'_next\'" />\n
</tal:block>\n </tal:block>\n
<!-- inserting depth widget -->\n <!-- inserting depth widget -->\n
...@@ -256,13 +256,13 @@ Beware this only generates the HTML code, no CSS generation is done in this scri ...@@ -256,13 +256,13 @@ Beware this only generates the HTML code, no CSS generation is done in this scri
<!-- Lane page-->\n <!-- Lane page-->\n
<!-- previous page exists -->\n <!-- previous page exists -->\n
<input type="image" src="/images/1leftarrowv.png" title="Previous Lane Page" name="" border="0"\n <input type="image" src="/images/1leftarrowv.png" title="Previous Lane Page" name="" border="0"\n
name="previousLanePage:method"\n
tal:attributes="src previous_src;\n tal:attributes="src previous_src;\n
name string:previousLanePage:method;\n
id python:axis.name + \'_previous\'" />\n id python:axis.name + \'_previous\'" />\n
<!-- next page exists -->\n <!-- next page exists -->\n
<input type="image" src="/images/1rightarrowv.png" title="Next Lane Page" name="" border="0"\n <input type="image" src="/images/1rightarrowv.png" title="Next Lane Page" name="" border="0"\n
name="nextLanePage:method"\n
tal:attributes="src next_src;\n tal:attributes="src next_src;\n
name string:nextLanePage:method;\n
id python:axis.name + \'_next\'" />\n id python:axis.name + \'_next\'" />\n
</tal:block>\n </tal:block>\n
</div>\n </div>\n
...@@ -284,9 +284,9 @@ Beware this only generates the HTML code, no CSS generation is done in this scri ...@@ -284,9 +284,9 @@ Beware this only generates the HTML code, no CSS generation is done in this scri
tal:attributes="id python:axis_group.name + \'_line\'"></div>\n tal:attributes="id python:axis_group.name + \'_line\'"></div>\n
<!-- display blocks -->\n <!-- display blocks -->\n
<tal:block tal:repeat="block python:planning.content">\n <tal:block tal:repeat="block python:planning.content">\n
<div tal:condition="python:block.property_dict[\'stat\']== 0"\n <div ondblclick="showGrips()"\n
tal:condition="python:block.property_dict[\'stat\']== 0"\n
tal:attributes="id python:block.name;\n tal:attributes="id python:block.name;\n
ondblclick string:showGrips();\n
title python:block.title;\n title python:block.title;\n
style python:\'text-align:center\'">\n style python:\'text-align:center\'">\n
<tal:block tal:condition="python:block.zone == 1">\n <tal:block tal:condition="python:block.zone == 1">\n
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<label for="dialog_selector"\n <label for="dialog_selector"\n
i18n:translate="" i18n:domain="ui">Select Template:</label>\n i18n:translate="" i18n:domain="ui">Select Template:</label>\n
<select name="select_dialog" id="dialog_selector"\n <select name="select_dialog" id="dialog_selector"\n
tal:attributes="onChange string:submitAction(this.form,\'Base_doRelationDialog\')">\n onChange="submitAction(this.form,\'Base_doRelationDialog\')">\n
<option tal:attributes="value python: \'Base_viewRelatedObjectListBase/listbox\'"\n <option tal:attributes="value python: \'Base_viewRelatedObjectListBase/listbox\'"\n
tal:content="string:Default"\n tal:content="string:Default"\n
i18n:translate="" i18n:domain="ui"></option>\n i18n:translate="" i18n:domain="ui"></option>\n
......
...@@ -73,9 +73,9 @@ IDEAS:\n ...@@ -73,9 +73,9 @@ IDEAS:\n
<tal:block tal:repeat="group python: [x for x in form.get_groups(include_empty=0) if x != \'hidden\']">\n <tal:block tal:repeat="group python: [x for x in form.get_groups(include_empty=0) if x != \'hidden\']">\n
<tal:block tal:repeat="field python: form.get_fields_in_group(group)">\n <tal:block tal:repeat="field python: form.get_fields_in_group(group)">\n
<tal:block tal:define="css python: field.render_css(REQUEST=request)">\n <tal:block tal:define="css python: field.render_css(REQUEST=request)">\n
<style tal:condition="python: css is not None"\n <style type="text/css"\n
tal:content="css"\n tal:condition="python: css is not None"\n
tal:attributes="type string:text/css">\n tal:content="css">\n
</style>\n </style>\n
</tal:block>\n </tal:block>\n
<tal:block tal:define="dummy python: css_list.extend(field.get_css_list(REQUEST=request))" />\n <tal:block tal:define="dummy python: css_list.extend(field.get_css_list(REQUEST=request))" />\n
......
616 617
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment