2454cd7863
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13573 b9a71923-0436-4b27-9f14-aed3839534dd
89 lines
4.0 KiB
Smarty
89 lines
4.0 KiB
Smarty
{*
|
|
* 2007-2012 PrestaShop
|
|
*
|
|
* NOTICE OF LICENSE
|
|
*
|
|
* This source file is subject to the Academic Free License (AFL 3.0)
|
|
* that is bundled with this package in the file LICENSE.txt.
|
|
* It is also available through the world-wide-web at this URL:
|
|
* http://opensource.org/licenses/afl-3.0.php
|
|
* If you did not receive a copy of the license and are unable to
|
|
* obtain it through the world-wide-web, please send an email
|
|
* to license@prestashop.com so we can send you a copy immediately.
|
|
*
|
|
* DISCLAIMER
|
|
*
|
|
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
|
* versions in the future. If you wish to customize PrestaShop for your
|
|
* needs please refer to http://www.prestashop.com for more information.
|
|
*
|
|
* @author PrestaShop SA <contact@prestashop.com>
|
|
* @copyright 2007-2012 PrestaShop SA
|
|
* @version Release: $Revision: 6594 $
|
|
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
|
* International Registered Trademark & Property of PrestaShop SA
|
|
*}
|
|
|
|
{capture name=path}{l s='Guest tracking'}{/capture}
|
|
{include file="./breadcrumb.tpl"}
|
|
|
|
<h1>{l s='Guest Tracking'}</h1>
|
|
|
|
{if isset($order)}
|
|
<div id="block-history">
|
|
<div id="block-order-detail" class="std" style="zoom:1">
|
|
{include file="./order-detail.tpl"}
|
|
</div>
|
|
</div>
|
|
|
|
<h2 id="guestToCustomer">{l s='For more advantages...'}</h2>
|
|
|
|
{include file="$tpl_dir./errors.tpl"}
|
|
|
|
{if isset($transformSuccess)}
|
|
<p class="success">{l s='Your guest account has been successfully transformed into a customer account. You can now log in on this'} <a href="{$link->getPageLink('authentication', true)}">{l s='page'}</a></p>
|
|
{else}
|
|
<form method="post" action="{$action|escape:'htmlall':'UTF-8'}#guestToCustomer" class="std">
|
|
<fieldset class="description_box">
|
|
<p class="bold">{l s='Transform your guest account to a customer account and enjoy :'}</p>
|
|
<ul class="bullet">
|
|
<li>{l s='Personalized and secure access'}</li>
|
|
<li>{l s='Fast and easy check out'}</li>
|
|
<li>{l s='Easier merchandise return'}</li>
|
|
</ul>
|
|
<p class="text">
|
|
<label>{l s='Define your password:'}</label>
|
|
<input type="password" name="password" />
|
|
</p>
|
|
|
|
<input type="hidden" name="id_order" value="{if isset($smarty.get.id_order)}{$smarty.get.id_order|escape:'htmlall':'UTF-8'}{else}{if isset($smarty.post.id_order)}{$smarty.post.id_order|escape:'htmlall':'UTF-8'}{/if}{/if}" />
|
|
<input type="hidden" name="email" value="{if isset($smarty.get.email)}{$smarty.get.email|escape:'htmlall':'UTF-8'}{else}{if isset($smarty.post.email)}{$smarty.post.email|escape:'htmlall':'UTF-8'}{/if}{/if}" />
|
|
|
|
<p class="center"><input type="submit" class="exclusive_large" name="submitTransformGuestToCustomer" value="{l s='Send'}" /></p>
|
|
</fieldset>
|
|
</form>
|
|
{/if}
|
|
{else}
|
|
{include file="$tpl_dir./errors.tpl"}
|
|
{if isset($show_login_link) && $show_login_link}
|
|
<p><img src="{$img_dir}icon/userinfo.gif" alt="{l s='Information'}" class="icon" /><a href="{$link->getPageLink('my-account.php', true)}">{l s='Click here to log-in to your customer account'}</a><br /><br /></p>
|
|
{/if}
|
|
<form method="post" action="{$action|escape:'htmlall':'UTF-8'}" class="std">
|
|
<fieldset class="description_box">
|
|
<p>{l s='To track your order, please enter the following information:'}</p>
|
|
<p class="text">
|
|
<label>{l s='Order ID:'} <b>#</b></label>
|
|
<input type="text" name="id_order" value="{if isset($smarty.get.id_order)}{$smarty.get.id_order|escape:'htmlall':'UTF-8'}{else}{if isset($smarty.post.id_order)}{$smarty.post.id_order|escape:'htmlall':'UTF-8'}{/if}{/if}" size="8" />
|
|
<i>{l s='For example: 010123'}</i>
|
|
</p>
|
|
|
|
<p class="text">
|
|
<label>{l s='E-mail:'}</label>
|
|
<input type="text" name="email" value="{if isset($smarty.get.email)}{$smarty.get.email|escape:'htmlall':'UTF-8'}{else}{if isset($smarty.post.email)}{$smarty.post.email|escape:'htmlall':'UTF-8'}{/if}{/if}" />
|
|
</p>
|
|
|
|
<p class="center"><input type="submit" class="button" name="submitGuestTracking" value="{l s='Send'}" /></p>
|
|
</fieldset>
|
|
</form>
|
|
{/if}
|