[CMF-checkins] CVS: CMF/CMFDefault/skins/zpt_generic - password_form.pt:1.4

Yvo Schubbe schubbe@web.de
Thu, 6 Mar 2003 05:32:43 -0500


Update of /cvs-repository/CMF/CMFDefault/skins/zpt_generic
In directory cvs.zope.org:/tmp/cvs-serv10940/CMFDefault/skins/zpt_generic

Modified Files:
	password_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/password_form.pt 1.3 => 1.4 ===
--- CMF/CMFDefault/skins/zpt_generic/password_form.pt:1.3	Tue Apr  2 19:10:34 2002
+++ CMF/CMFDefault/skins/zpt_generic/password_form.pt	Thu Mar  6 05:32:41 2003
@@ -2,48 +2,46 @@
       xmlns:metal="http://xml.zope.org/namespaces/metal"
       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="member python: here.portal_membership.getAuthenticatedMember()">
 <div class="Desktop">
 
-<h1> Change your Password </h1>
+<h1 i18n:translate="">Change your Password</h1>
 <div class="error"
      tal:replace="request/error"
-     tal:condition="request/error|nothing"><hr></div>
+     tal:condition="request/error|nothing"><hr /></div>
 
 <form action="change_password" method="post"
       tal:attributes="action string:${here/absolute_url}/change_password"
 >
 <table class="FormLayout">
  <tr>
-  <th>Username
-  </th>
+  <th i18n:translate="">Username</th>
   <td><span tal:replace="member/getUserName">You</span>
   </td>
  </tr>
  <tr>
-  <th>New password
-  </th>
-  <td><input type="password" name="password">
+  <th i18n:translate="">New password</th>
+  <td><input type="password" name="password" />
   </td>
  </tr>
  <tr>
-  <th>Confirm new password
-  </th>
-  <td><input type="password" name="confirm">
+  <th i18n:translate="">Confirm new password</th>
+  <td><input type="password" name="confirm" />
   </td>
  </tr>
  <tr>
-  <th>Domains
-  </th>
+  <th i18n:translate="">Domains</th>
   <td>
-    <input type="text" name="domains:tokens" value=""><br>
-    <em> If you do not know what this field is for, leave it blank. </em>
+    <input type="text" name="domains:tokens" value="" /><br />
+    <em i18n:translate="">If you do not know what this field is for, leave it
+    blank.</em>
   </td>
  </tr>
  <tr>
-  <td><br></td>
-  <td><input type="submit" value=" Change ">
+  <td><br /></td>
+  <td>
+   <input type="submit" value=" Change " i18n:attributes="value" />
   </td>
  </tr>
 </table>