[CMF-checkins] CVS: CMF/CMFDefault/skins/zpt_generic - personalize_form.pt:1.8
Yvo Schubbe
schubbe@web.de
Thu, 6 Mar 2003 05:32:53 -0500
Update of /cvs-repository/CMF/CMFDefault/skins/zpt_generic
In directory cvs.zope.org:/tmp/cvs-serv10972/CMFDefault/skins/zpt_generic
Modified Files:
personalize_form.pt
Log Message:
Merged yuppie-collector122-branch:
- Added i18n attributes. (Collector #122)
- Made scripts independent of submit button values.
- Added transition_form.
=== CMF/CMFDefault/skins/zpt_generic/personalize_form.pt 1.7 => 1.8 ===
--- CMF/CMFDefault/skins/zpt_generic/personalize_form.pt:1.7 Tue Jul 23 10:47:50 2002
+++ CMF/CMFDefault/skins/zpt_generic/personalize_form.pt Thu Mar 6 05:32:51 2003
@@ -3,7 +3,7 @@
metal:use-macro="here/main_template/macros/master">
<body>
-<div metal:fill-slot="main">
+<div metal:fill-slot="main" i18n:domain="cmf_default">
<div tal:define="purl here/portal_url;
mtool here/portal_membership;
@@ -22,12 +22,15 @@
<div class="Desktop">
- <h1> Member Preferences </h1>
+ <h1 i18n:translate="">Member Preferences</h1>
<span tal:replace="request/msg"
tal:condition="request/msg|nothing" />
-
- <p><a href="password_form">Click here</a> to change your password.</p>
+
+ <p i18n:translate="">
+ <span i18n:name="link"><a href="password_form"
+ i18n:translate="">Click here</a></span>
+ to change your password.</p>
<form action="personalize" method="post"
tal:attributes="action string:${purl}/personalize"
@@ -35,39 +38,40 @@
<table class="FormLayout">
<tr>
- <th>Email address</th>
+ <th i18n:translate="">Email address</th>
<td><input type="text" name="email" value=""
- tal:attributes="value member/email|nothing">
+ tal:attributes="value member/email|nothing" />
</td>
</tr>
<tr>
- <th valign="top">Listed status</th>
+ <th valign="top" i18n:translate="">Listed status</th>
<td tal:define="listed member/listed|nothing">
- <input type="radio" name="listed"
+ <input type="radio" name="listed"
tal:attributes="checked listed"
value="on" id="cb_listed" />
- <label for="cb_listed">Listed</label>
+ <label for="cb_listed" i18n:translate="">Listed</label>
<dl class="FieldHelp">
- <dd>You will show up on the public membership roster.</dd>
+ <dd i18n:translate="">You will show up on the public membership
+ roster.</dd>
</dl>
- <input type="radio" name="listed"
+ <input type="radio" name="listed"
tal:attributes="checked python:( hasattr(member,'listed')
and not(member.getProperty( 'listed' ) ) )"
value="" id="cb_unlisted" />
- <label for="cb_unlisted">Unlisted</label>
+ <label for="cb_unlisted" i18n:translate="">Unlisted</label>
<dl class="FieldHelp">
- <dd> You will <i>not</i> show up on the public membership roster.
- Your Member folder will still be publicly accessible unless
- you change its security settings.</dd>
+ <dd i18n:translate="">You will <i>not</i> show up on the public
+ membership roster. Your Member folder will still be publicly
+ accessible unless you change its security settings.</dd>
</dl>
</td>
</tr>
<tr tal:condition="here/portal_skins|nothing">
- <th>Skin</th>
+ <th i18n:translate="">Skin</th>
<td tal:define="s_tool here/portal_skins;
current request/portal_skin|nothing;
">
@@ -84,7 +88,9 @@
<tr>
<td><br /></td>
- <td><input type="submit" value=" Change "></td>
+ <td>
+ <input type="submit" value=" Change " i18n:attributes="value" />
+ </td>
</tr>
</table>
</form>