42 lines
2.6 KiB
Smarty
Executable File
42 lines
2.6 KiB
Smarty
Executable File
{*
|
|
* 2007-2013 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-2013 PrestaShop SA
|
|
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
|
* International Registered Trademark & Property of PrestaShop SA
|
|
*}
|
|
|
|
<p class="payment_module">
|
|
<strong>{l s='Paiement par Paypal' mod='paypal'}</strong>
|
|
{if $mobile_device==true}
|
|
<a href="javascript:void(0)" onclick="$('#paypal_payment_form').submit();" id="paypal_process_payment" title="{l s='Pay with PayPal' mod='paypal'}" class="img"><img src="{$img_dir}btPaypal_mobile.png" alt="Paypal" /></a>
|
|
<a href="javascript:void(0)" onclick="$('#paypal_payment_form').submit();" id="paypal_process_payment" title="{l s='Pay with PayPal' mod='paypal'}" class="button"><span>{l s='Payez avec PayPal' mod='paypal'}</span></a>
|
|
{else}
|
|
<a href="javascript:void(0)" onclick="$('#paypal_payment_form').submit();" id="paypal_process_payment" title="{l s='Pay with PayPal' mod='paypal'}" class="img"><img src="{$img_dir}btPaypal.png" alt="Paypal" /></a>
|
|
<a href="javascript:void(0)" onclick="$('#paypal_payment_form').submit();" id="paypal_process_payment" title="{l s='Pay with PayPal' mod='paypal'}" class="button">{l s='Payez avec PayPal' mod='paypal'}</a>
|
|
{/if}
|
|
<a href="javascript:void(0)" onclick="$('#paypal_payment_form').submit();" id="paypal_process_payment" title="{l s='Pay with PayPal' mod='paypal'}" class="small">{l s='En choisissant ce mode de paiement, vous allez être redirigé vers le serveur sécurisé de PayPal et accéder à votre compte PayPal.' mod='paypal'}</a>
|
|
</p>
|
|
|
|
<form id="paypal_payment_form" action="{$base_dir_ssl}modules/paypal/express_checkout/payment.php" data-ajax="false" title="{l s='Pay with PayPal' mod='paypal'}" method="post">
|
|
<input type="hidden" name="express_checkout" value="{$PayPal_payment_type}"/>
|
|
<input type="hidden" name="current_shop_url" value="{$PayPal_current_page}" />
|
|
</form>
|