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

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


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

Modified Files:
	mail_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/mail_password_form.pt 1.3 => 1.4 ===
--- CMF/CMFDefault/skins/zpt_generic/mail_password_form.pt:1.3	Tue Apr  2 19:10:34 2002
+++ CMF/CMFDefault/skins/zpt_generic/mail_password_form.pt	Thu Mar  6 05:31:35 2003
@@ -3,28 +3,29 @@
       metal:use-macro="here/main_template/macros/master">
 <body>
 
-<div metal:fill-slot="main">
+<div metal:fill-slot="main" i18n:domain="cmf_default">
 
  <div class="Desktop"
       tal:define="ptool here/portal_properties">
 
-  <h1> Don't panic!</h1>
+  <h1 i18n:translate="">Don't panic!</h1>
 
-  <p> Just enter your username below, click <em>Send</em>, and your
-      password will be mailed to you if you gave a valid email address
-      when you signed on.  </p>
+  <p i18n:translate="">Just enter your username below, click <em>Send</em>,
+    and your password will be mailed to you if you gave a valid email address
+    when you signed on.</p>
 
-  <p> If this will not work for you (for example, if you forget your member
-      name or didn't enter your email address) send email to 
+  <p i18n:translate="">If this will not work for you (for example, if you
+    forget your member name or didn't enter your email address) send email to
       <a tal:attributes="href string:mailto:${ptool/email_from_address}"
          tal:content="ptool/email_from_address"
-         href="mailto:me@here.com">me@here.com</a>.  </p>
+         href="mailto:me@here.com"
+         i18n:name="admin_email">me@here.com</a>.</p>
 
   <form action="mail_password"
         tal:attributes="action string:${here/portal_url}/mail_password"
   >
-   <input name="userid">
-   <input type="submit" value=" Send ">
+   <input name="userid" />
+   <input type="submit" value=" Send " i18n:attributes="value" />
   </form>
 
  </div><!-- class="Desktop" -->