<tal:root define="lt string:&lt;;gt string:&gt;;
                  dummy python:request.RESPONSE.setHeader('Content-Type', 'text/plain;; charset=%s' % options['charset']);
                  member python:options['member'];
                  reset python:options['reset']"
>From: "<span tal:replace="python:here.email_from_name" />" <span tal:replace="structure lt"/><span tal:replace="python:here.email_from_address" /><span tal:replace="structure gt"/>
To: <span tal:replace="python:member.getProperty('email')" />
Subject: <span i18n:domain="passwordresettool" i18n:translate="mailtemplate_subject_resetpasswordrequest" tal:omit-tag="">Password reset request</span>
Content-Type: text/plain; charset=<span tal:replace="python:options['charset']" />

<div i18n:domain="passwordresettool"
     i18n:translate="mailtemplate_text_linkreset"
     tal:omit-tag=""
     tal:define="fullname python: test(member.fullname,
                 ' ' + member.fullname, '')">
    Someone requested that the password to your account at
    '<span i18n:name="site_name"
          tal:omit-tag=""
          tal:content="python:here.portal_url.getPortalObject().Title()" />'
    be reset.

    If this was not you, you may safely ignore this mail. If you wish to
    proceed and reset your password, please visit this address:

    <span tal:content="python:here.pwreset_constructURL(reset['randomstring'])"
          tal:omit-tag=""
          i18n:name="reset_url" />

</div>
<div i18n:domain="passwordresettool"
     i18n:translate="mailtemplate_text_expirationdate_linkreset"
     tal:omit-tag="">
    This password reset request will expire in
    <span tal:content="here/portal_password_reset/getExpirationTimeout"
          tal:omit-tag=""
          i18n:name="hours" />
    hours on
    <span tal:content="python:reset['expires'].aCommonZ()"
          tal:omit-tag=""
          i18n:name="expirationdate" />.
</div>
<div i18n:domain="passwordresettool"
     i18n:translate="mailtemplate_tracking_information"
     tal:omit-tag="">
    Tracking information:

    Request made from IP address
    <span tal:define="host request/HTTP_X_FORWARDED_FOR|request/REMOTE_ADDR"
          tal:content="host"
          tal:omit-tag=""
          i18n:name="ipaddress" />
    at
    <span tal:content="here/ZopeTime"
          tal:omit-tag=""
          i18n:name="datetime_now" />
</div>
</tal:root>
