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 @@
<tal:block metal:define-macro="master">\n
<span id="jump" metal:define-macro="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
i18n:translate="" i18n:domain="ui">Jump...</option>\n
<tal:block tal:repeat="jump actions/object_jump | nothing">\n
......@@ -185,8 +185,8 @@
<span class="description" i18n:translate="" i18n:domain="ui">New</span>\n
</button>\n
<button class="clone" type="submit" title="Clone"\n
name="Base_createCloneDocument:method"\n
tal:condition="not: list_mode"\n
tal:attributes="name string:Base_createCloneDocument:method"\n
i18n:attributes="title" i18n:domain="ui">\n
<span class="image"></span>\n
<span class="description" i18n:translate="" i18n:domain="ui">Clone</span>\n
......
......@@ -69,7 +69,7 @@
}.get(dialog_category, \'Select\')"\n
i18n:translate="" i18n:domain="ui"></label>\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
<tal:block tal:repeat="action dialog_actions">\n
<option tal:attributes="value action/url;\n
......
......@@ -46,9 +46,9 @@
<span class="first">\n
<span id="favourites">\n
<select name="select_favorite"\n
onChange="submitAction(this.form,\'Base_doFavorite\')"\n
tal:define="ordered_global_actions python:here.getOrderedGlobalActionList(actions[\'global\']);\n
user_actions actions/user;"\n
tal:attributes="onChange string:submitAction(this.form,\'Base_doFavorite\')">\n
user_actions actions/user;">\n
<option selected="selected" value=""\n
i18n:translate="" i18n:domain="ui">My Favourites</option>\n
<tal:block tal:repeat="action ordered_global_actions">\n
......@@ -83,8 +83,8 @@
<span class="separator"><!--separator--></span>\n
<span id="modules">\n
<select name="select_module"\n
tal:define="module_list here/ERP5Site_getModuleItemList;"\n
tal:attributes="onChange string:submitAction(this.form,\'Base_doModule\')">\n
onChange="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 tal:repeat="module module_list"\n
tal:attributes="value python: module[1]"\n
......@@ -102,7 +102,7 @@
<span class="second">\n
<span id="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
i18n:translate="" i18n:domain="ui">My Language</option>\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
<tal:block tal:condition="python:basic.report_axis_info[\'bound_start\']!=0">\n
<b tal:replace="nothing"> previous page exists </b>\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 string:previousPage:method" />\n
name="previousPage:method"\n
tal:attributes="src string:${address}/images/1leftarrowv.png" />\n
</tal:block>\n
<select name="list_start" title="Change Page" size="1"\n
onChange=""\n
......@@ -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
<b tal:replace="nothing"> next page exists </b>\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 string:nextPage:method" />\n
name="nextPage:method"\n
tal:attributes="src string:${address}/images/1rightarrowv.png" />\n
</tal:block>\n
\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
<tal:block tal:condition="python:basic.report_axis_info[\'bound_start\']!=0">\n
<!-- previous page exists -->\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
name string:previousPage:method;\n
id python:axis.name + \'_previous\'" />\n
</tal:block>\n
<tal:block tal:condition="python:basic.report_axis_info[\'bound_stop\']!=basic.report_axis_info[\'bound_end\']">\n
<!-- next page exists -->\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
name string:nextPage:method;\n
id python:axis.name + \'_next\'" />\n
</tal:block>\n
<!-- inserting depth widget -->\n
......@@ -256,13 +256,13 @@ Beware this only generates the HTML code, no CSS generation is done in this scri
<!-- Lane page-->\n
<!-- previous page exists -->\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
name string:previousLanePage:method;\n
id python:axis.name + \'_previous\'" />\n
<!-- next page exists -->\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
name string:nextLanePage:method;\n
id python:axis.name + \'_next\'" />\n
</tal:block>\n
</div>\n
......@@ -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
<!-- display blocks -->\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
ondblclick string:showGrips();\n
title python:block.title;\n
style python:\'text-align:center\'">\n
<tal:block tal:condition="python:block.zone == 1">\n
......
......@@ -63,7 +63,7 @@
<label for="dialog_selector"\n
i18n:translate="" i18n:domain="ui">Select Template:</label>\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
tal:content="string:Default"\n
i18n:translate="" i18n:domain="ui"></option>\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="field python: form.get_fields_in_group(group)">\n
<tal:block tal:define="css python: field.render_css(REQUEST=request)">\n
<style tal:condition="python: css is not None"\n
tal:content="css"\n
tal:attributes="type string:text/css">\n
<style type="text/css"\n
tal:condition="python: css is not None"\n
tal:content="css">\n
</style>\n
</tal:block>\n
<tal:block tal:define="dummy python: css_list.extend(field.get_css_list(REQUEST=request))" />\n
......
616
\ No newline at end of file
617
\ 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