+++ /dev/null
-<html xmlns:tal="http://xml.zope.org/namespaces/tal"
- xmlns:metal="http://xml.zope.org/namespaces/metal"
- metal:use-macro="here/main_template/macros/master">
- <head>
- <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
- </head>
- <body metal:fill-slot="main_no_tabs" i18n:domain="photoprint" tal:omit-tag="">
- <div tal:condition="python:request.get('came_from', '').endswith('/my_cart')"
- tal:define="step_authentication python:True"
- tal:omit-tag="">
- <div metal:use-macro="here/sell_macros/macros/sell_steps"></div>
- </div>
- <table width="70%">
- <tr>
- <td width="50%">
- <h2 i18n:translate="">You already have an account?</h2>
- <div i18n:translate="">Please login to continue</div>
- </td>
- <td width="50%">
- <h2 i18n:translate="">New customer?</h2>
- <div i18n:translate="">Welcome!<br/>
- Please create an account to order.</div>
- </tr>
- <tr>
- <td>
- <form method="post" tal:attributes="action string:${here/portal_url}/logged_in">
- <input type="hidden" name="noAjax" value="1" />
-
- <!-- ****** Enable the automatic redirect ***** -->
- <span tal:condition="exists: request/came_from">
- <input type="hidden" name="came_from" value=""
- tal:attributes="value request/came_from" />
- </span>
- <!-- ****** Enable the automatic redirect ***** -->
- <input type="hidden" name="just_login" value="True" />
- <table class="TwoColumnForm">
- <tr>
- <th i18n:translate="user_name">Login</th>
- <td>
- <input type="text" name="__ac_name" size="20" value=""
- tal:attributes="value python: request.get('__ac_name') or ''" />
- </td>
- </tr>
- <tr>
- <th i18n:translate="">Password</th>
- <td>
- <input type="password" name="__ac_password" size="20" />
- </td>
- </tr>
- <tr>
- <td><br/></td>
- <td>
- <label>
- <input type="checkbox" name="__ac_persistent" checked="checked" />
- <span i18n:translate="" tal:omit-tag="">Remember my name.</span>
- </label>
- </td>
- </tr>
-
- <tr>
- <td><br/></td>
- <td>
- <input type="submit" name="submit" value=" Login "
- i18n:attributes="value" />
- </td>
- </tr>
-
- </table>
- </form>
- </td>
- <td>
- <form method="get" tal:attributes="action string:${here/portal_url}/customer_join_form">
- <input type="submit" value="Open new account >>" i18n:attributes="value"/>
- <input type="hidden" name="came_from" tal:condition="exists: request/came_from"
- tal:attributes="value request/came_from" />
- </form>
- </td>
- </tr>
- </table>
-
- <p><a href=""
- tal:attributes="href string:${here/portal_url}/request_password_reset_form"
- i18n:translate=""
- >Forgot your password?</a>
- </p>
-
- <p i18n:translate="">Having trouble logging in? Make sure to enable cookies in
- your web browser.
- </p>
- <p i18n:translate="">Don't forget to logout or exit your browser when you're
- done.
- </p>
-
- <p i18n:translate="">Setting the 'Remember my name' option will set a cookie
- with your username, so that when you next log in, your user name will
- already be filled in for you.
- </p>
- </body>
-</html>
-