Mercurial > p > roundup > code
changeset 3706:c4090ad1d436
Code and TAL cleanup
| author | Tobias Herp <tobias-herp@users.sourceforge.net> |
|---|---|
| date | Mon, 18 Sep 2006 00:22:43 +0000 |
| parents | ba2eeadeed69 |
| children | 59d55bc03ea8 |
| files | templates/classic/html/_generic.help-submit.html templates/classic/html/user.help-search.html templates/classic/html/user.help.html |
| diffstat | 3 files changed, 5 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/classic/html/_generic.help-submit.html Mon Sep 18 00:03:05 2006 +0000 +++ b/templates/classic/html/_generic.help-submit.html Mon Sep 18 00:22:43 2006 +0000 @@ -48,10 +48,6 @@ props python:request.form['properties'].value.split(',')" class="help-submit" id="classhelp-controls"> - <!--input type="button" name="btn_clear" - tal:attributes="action request/base" - style="width:100%;margin-right:1em;margin-left:0" - value="Clear" onClick="clearList()"/ --> <div style="width:100%;text-align:left;margin-bottom:0.2em"> <input type="text" name="text_preview" size="24" class="preview" onchange="f=getListForm();if(f){ reviseList_framed(f, this)};"
--- a/templates/classic/html/user.help-search.html Mon Sep 18 00:03:05 2006 +0000 +++ b/templates/classic/html/user.help-search.html Mon Sep 18 00:22:43 2006 +0000 @@ -41,12 +41,12 @@ <input type="hidden" name="form" value="" tal:attributes="value request/form/form/value"> <table> <tr tal:define="name string:username; label string:Username:"> - <th metal:use-macro="th_label" /> + <th metal:use-macro="th_label">Name</th> <td metal:use-macro="search_input"><input type=text></td> </tr> <tr tal:define="name string:phone; label string:Phone number"> - <th metal:use-macro="th_label" /> + <th metal:use-macro="th_label">Phone</th> <td metal:use-macro="search_input"><input type=text></td> </tr> @@ -54,10 +54,10 @@ onchange string:this.form.submit(); label string:Rollen:" > - <th metal:use-macro="th_label" /> + <th metal:use-macro="th_label">role</th> <td metal:use-macro="search_select_roles"> <select> - <option value="">Spaßvogel</option> + <option value="">jokester</option> </select> </td> </tr> @@ -81,11 +81,5 @@ <script type="text/javascript"><!-- focus2id('username'); //--></script> - <script type="text/javascript" - tal:condition=false - tal:content="structure string:<!-- - parent.submit.document.URL='?form=${form}&field=${field}&@template=help-submit&_current_val='+encodeURIComponent(original_field); - document.write(parent.submit.document.URL) -//-->"></script> </body> </html>
--- a/templates/classic/html/user.help.html Mon Sep 18 00:03:05 2006 +0000 +++ b/templates/classic/html/user.help.html Mon Sep 18 00:22:43 2006 +0000 @@ -11,7 +11,7 @@ <tal:block tal:condition="python:request.form.has_key('property')"> <title><tal:x i18n:translate=""><tal:x i18n:name="property" tal:content="property" i18n:translate="" /> help - <span i18n:name="tracker" - tal:replace="config/TRACKER_NAME" /></tal:x> - Frame-Version</title> + tal:replace="config/TRACKER_NAME" /></tal:x></title> <script language="Javascript" type="text/javascript" tal:condition=false tal:content="structure string:<!--
