[CMF-checkins] CVS: CMF/CMFDefault/skins/zpt_generic - personalize_form.pt:1.4.6.2
Tres Seaver
tseaver@zope.com
Sun, 21 Jul 2002 21:49:56 -0400
Update of /cvs-repository/CMF/CMFDefault/skins/zpt_generic
In directory cvs.zope.org:/tmp/cvs-serv28586
Modified Files:
Tag: CMF-1_3-branch
personalize_form.pt
Log Message:
- Correct out-of-scope error on 'purl'.
=== CMF/CMFDefault/skins/zpt_generic/personalize_form.pt 1.4.6.1 => 1.4.6.2 ===
<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 -->