[CMF-checkins] CVS: Products/CMFDecor/skins/zpt_generic - search_form.pt:1.7
Jens Vagelpohl
jens@zope.com
Wed, 10 Oct 2001 14:10:49 -0400
Update of /cvs-repository/Products/CMFDecor/skins/zpt_generic
In directory cvs.zope.org:/tmp/cvs-serv27148/CMFDecor/skins/zpt_generic
Modified Files:
search_form.pt
Log Message:
Fixed last_login_time choice on search form (value was always "1")
(CMF Tracker issue 377)
=== Products/CMFDecor/skins/zpt_generic/search_form.pt 1.6 => 1.7 ===
<option value=""
tal:condition="python:not(here.portal_membership.isAnonymousUser())"
- tal:define="member python:here.portal_membership.getAuthenticatedMember(); lastLogin exists: member/last_login_time"
+ tal:define="member python:here.portal_membership.getAuthenticatedMember();
+ lastLogin member/last_login_time|nothing"
tal:attributes="value lastLogin">Last login</option>
<option value=""
tal:define="yesterday python:(today-1).Date()"