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

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


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

Modified Files:
	registered.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/registered.pt 1.3 => 1.4 ===
--- CMF/CMFDefault/skins/zpt_generic/registered.pt:1.3	Sun Jul 14 18:45:07 2002
+++ CMF/CMFDefault/skins/zpt_generic/registered.pt	Thu Mar  6 05:33:29 2003
@@ -4,35 +4,40 @@
 <body>
 <div metal:fill-slot="main"
      tal:define="purl here/portal_url;"
+     i18n:domain="cmf_default"
 >
 
 <div class="Desktop"
      tal:define="pprops here/portal_properties; ve pprops/validate_email">
 
-<h1> Success! </h1>
+<h1 i18n:translate="">Success!</h1>
 
-<p> You have been registered as a member. </p>
+<p i18n:translate="">You have been registered as a member.</p>
 
-<p tal:condition="ve"> You will receive an email shortly containing
-    your password and instructions on how to activate your membership.
-</p>
+<p tal:condition="ve" i18n:translate="">You will receive an email shortly
+  containing your password and instructions on how to activate your
+  membership.</p>
 
-<p tal:condition="python:not(ve)"> You can log on immediately by clicking
+<p tal:condition="python:not(ve)">
+  <span tal:omit-tag="" i18n:translate="">You can log on immediately by
+  clicking</span>
     <a href=""
-	   tal:define="pss modules/Products.PythonScripts.standard;
+       tal:define="pss modules/Products.PythonScripts.standard;
                    uname request/username;
                    u python:pss.url_quote(uname);
                    pword request/password;
                    p python:pss.url_quote(pword);
                   "
-	   tal:attributes="
-        href string:${purl}/logged_in?__ac_name=${u}&__ac_password=${p}"
-     >here</a>.  
+       tal:attributes="
+       href string:${purl}/logged_in?__ac_name=${u}&__ac_password=${p}"
+       i18n:translate=""
+    >here</a>.
 </p>
 
-<p> 
+<p>
 <a href=""
-   tal:attributes="href string:${purl}/">Return to homepage</a> 
+   tal:attributes="href string:${purl}/"
+   i18n:translate="">Return to homepage</a>
 </p>
 </div>
 </div>