[CMF-checkins] CVS: CMF/CMFDefault/skins/zpt_generic - personalize_form.pt:1.6

Tres Seaver tseaver@zope.com
Sun, 21 Jul 2002 21:51:10 -0400


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

Modified Files:
	personalize_form.pt 
Log Message:
 - Merge fix from 1.3 branch.

=== CMF/CMFDefault/skins/zpt_generic/personalize_form.pt 1.5 => 1.6 ===
 
 <div metal:fill-slot="main">
 
- <div tal:define="mtool here/portal_membership;
+ <div tal:define="purl here/portal_url;
+                  mtool here/portal_membership;
                   member mtool/getAuthenticatedMember;
                  ">
 
   <div tal:condition="python: not( mtool.checkPermission( 'Set own properties'
-                                                        , here ) )">
-    <span tal:define="purl here/portal_url;
-                      aurl here/absolute_url;
-                      rurl string:${purl}/login_form?came_from=${aurl};
-                      response request/RESPONSE;
-                      redirect python:response.redirect( rurl )" />
+                                                        , here ) )"
+       tal:define="aurl here/absolute_url;
+                   rurl string:${purl}/login_form?came_from=${aurl};
+                   response request/RESPONSE;
+                   redirect python:response.redirect( rurl )" >
 
   </div><!-- not Set own properties -->