[CMF-checkins] CVS: Products/CMFDefault/skins/zpt_generic - logged_in.pt:1.3 personalize_form.pt:1.3
Andrew Sawyers
andrew@zope.com
Mon, 18 Mar 2002 10:27:21 -0500
Update of /cvs-repository/Products/CMFDefault/skins/zpt_generic
In directory cvs.zope.org:/tmp/cvs-serv32652/CMFDefault/skins/zpt_generic
Modified Files:
logged_in.pt personalize_form.pt
Log Message:
*Moved site policies around out from the Registration Tool.
* setProperties moved to MemberDataTool
* setPassword moved to MembershipTool
* Skins and python scripts updated to support these changes...
=== Products/CMFDefault/skins/zpt_generic/logged_in.pt 1.2 => 1.3 ===
tal:define="member python: here.portal_membership.getAuthenticatedMember()">
<div tal:condition="python: member.login_time == here.ZopeTime('2000/01/01') and p_props.validate_email">
- <div tal:define="dum_reg python: here.portal_registration.setProperties(last_login_time=here.ZopeTime(),login_time=here.ZopeTime())" />
+ <div tal:define="dum_reg python: member.setProperties(last_login_time=here.ZopeTime(),login_time=here.ZopeTime())" />
<h1 class="DesktopTitle">Welcome!</h1>
<p class="Desktop">This is the first time that you've logged in to <span replace="p_props/title">Here</span>.
Before you start exploring you need to change your original password.
@@ -55,7 +55,8 @@
</form>
</div>
<div tal:condition="python: not(member.login_time == here.ZopeTime('2000/01/01') and here.validate_email)">
- <div tal:define="d_reg python: here.portal_registration.setProperties(last_login_time=member.login_time); ereg python: here.portal_registration.setProperties(login_time=here.ZopeTime())">
+ <div tal:define="d_reg python: member.setProperties(last_login_time=member.login_time);
+ ereg python: member.setProperties(login_time=here.ZopeTime())">
</div>
<div tal:condition="request/came_from | nothing ">
<div tal:define="dredirect python: request.RESPONSE.redirect(request.get('came_from'))"></div>
=== Products/CMFDefault/skins/zpt_generic/personalize_form.pt 1.2 => 1.3 ===
redirect python: request.RESPONSE.redirect( red_str )"></span>
</div>
-
-
<div class="Desktop">
<h1> Member Preferences </h1>