27 Sep
2004
27 Sep
'04
2:55 p.m.
Laura McCord wrote:
<dtml-var standard_html_header> <dtml-let msg=""> <dtml-var msg> </dtml-let><br> <dtml-let msg2=""> <dtml-var msg2> </dtml-let> <dtml-var standard_html_footer>
Why isn't the above just a python script? return context.your_zpt( msg1=resetpassword(myacct='testacct6', mypasswd='findme1.'), msg2=testpassword(myacct='testacct6', mypasswd='findme1.') ) then in your ZPT: <i tal:condition="options/msg1|nothing" tal:content="options/msg1"/> cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk