first commit
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
{assign var=params value=['payment_type' => 'ApplePay']}
|
||||
<p class="payment_module paylane-applepay-wrapper" id="paylane_payment_button">
|
||||
<a class="paylane-expander applepay{if $withImage} with-image{/if}" href="{$link->getModuleLink('paylane', 'payment', $params)|escape:'html'}" title="{{$applePayLabel}}">
|
||||
{if $withImage}<img src="{$thisPath|escape:'htmlall':'UTF-8'}modules/paylane/views/img/applepay.png" alt="Zapłać przez moduł płatności" width="80" height="auto">{/if}
|
||||
{{$applePayLabel}}
|
||||
</a>
|
||||
</p>
|
||||
@@ -0,0 +1,7 @@
|
||||
{assign var=params value=['payment_type' => 'BankTransfer']}
|
||||
<p class="payment_module paylane-bank-transfer-wrapper" id="paylane_payment_button">
|
||||
<a class="paylane-expander bank-transfer{if $withImage} with-image{/if}" href="{$link->getModuleLink('paylane', 'payment', $params)|escape:'html'}" title="{{$paymentMethodLabel}}">
|
||||
{if $withImage}<img src="{$thisPath|escape:'htmlall':'UTF-8'}modules/paylane/views/img/banktransfer.png" alt="Zapłać przez moduł płatności" width="80" height="auto">{/if}
|
||||
{{$paymentMethodLabel}}
|
||||
</a>
|
||||
</p>
|
||||
@@ -0,0 +1,7 @@
|
||||
{assign var=params value=['payment_type' => 'Blik']}
|
||||
<p class="payment_module paylane-blik-wrapper" id="paylane_payment_button">
|
||||
<a class="paylane-expander blik{if $withImage} with-image{/if}" href="{$link->getModuleLink('paylane', 'payment', $params)|escape:'html'}" title="{{$blikLabel}}">
|
||||
{if $withImage}<img src="{$thisPath|escape:'htmlall':'UTF-8'}modules/paylane/views/img/blik.png" alt="Zapłać przez moduł płatności" width="80" height="auto">{/if}
|
||||
{{$blikLabel}}
|
||||
</a>
|
||||
</p>
|
||||
@@ -0,0 +1,7 @@
|
||||
{assign var=params value=['payment_type' => 'CreditCard']}
|
||||
<p class="payment_module paylane-credit-card-wrapper" id="paylane_payment_button">
|
||||
<a class="paylane-expander credit-card{if $withImage} with-image{/if}" href="{$link->getModuleLink('paylane', 'payment', $params)|escape:'html'}" title="{{$paymentMethodLabel}}">
|
||||
{if $withImage}<img src="{$thisPath|escape:'htmlall':'UTF-8'}modules/paylane/views/img/creditcard.png" alt="Zapłać przez moduł płatności" width="80" height="auto">{/if}
|
||||
{{$paymentMethodLabel}}
|
||||
</a>
|
||||
</p>
|
||||
@@ -0,0 +1,7 @@
|
||||
{assign var=params value=['payment_type' => 'DirectDebit']}
|
||||
<p class="payment_module paylane-direct-debit-wrapper" id="paylane_payment_button">
|
||||
<a class="paylane-expander direct-debit{if $withImage} with-image{/if}" href="{$link->getModuleLink('paylane', 'payment', $params)|escape:'html'}" title="{{$paymentMethodLabel}}">
|
||||
{if $withImage}<img src="{$thisPath|escape:'htmlall':'UTF-8'}modules/paylane/views/img/directdebit.png" alt="Zapłać przez moduł płatności" width="80" height="auto">{/if}
|
||||
{{$paymentMethodLabel}}
|
||||
</a>
|
||||
</p>
|
||||
@@ -0,0 +1,7 @@
|
||||
{assign var=params value=['payment_type' => 'GooglePay']}
|
||||
<p class="payment_module paylane-googlepay-wrapper" id="paylane_payment_button">
|
||||
<a class="paylane-expander googlepay{if $withImage} with-image{/if}" href="{$link->getModuleLink('paylane', 'payment', $params)|escape:'html'}" title="{{$googlePayLabel}}">
|
||||
{if $withImage}<img src="{$thisPath|escape:'htmlall':'UTF-8'}modules/paylane/views/img/googlepay.png" alt="Zapłać przez moduł płatności" width="80" height="auto">{/if}
|
||||
{{$googlePayLabel}}
|
||||
</a>
|
||||
</p>
|
||||
@@ -0,0 +1,7 @@
|
||||
{assign var=params value=['payment_type' => 'Ideal']}
|
||||
<p class="payment_module paylane-ideal-wrapper" id="paylane_payment_button">
|
||||
<a class="paylane-expander ideal{if $withImage} with-image{/if}" href="{$link->getModuleLink('paylane', 'payment', $params)|escape:'html'}" title="{{$paymentMethodLabel}}">
|
||||
{if $withImage}<img src="/modules/paylane/views/img/ideal.png" alt="Zapłać przez moduł płatności" width="80" height="auto">{/if}
|
||||
{{$paymentMethodLabel}}
|
||||
</a>
|
||||
</p>
|
||||
33
modules/paylane/views/templates/front/payment_link/index.php
Normal file
33
modules/paylane/views/templates/front/payment_link/index.php
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
<?php
|
||||
/*
|
||||
* 2007-2016 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-2016 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
header('Location: ../../../../../../');
|
||||
exit;
|
||||
@@ -0,0 +1,7 @@
|
||||
{assign var=params value=['payment_type' => 'PayPal']}
|
||||
<p class="payment_module paylane-paypal-wrapper" id="paylane_payment_button">
|
||||
<a class="paylane-expander paypal{if $withImage} with-image{/if}" href="{$link->getModuleLink('paylane', 'payment', $params)|escape:'html'}" title="{{$paymentMethodLabel}}">
|
||||
{if $withImage}<img src="{$thisPath|escape:'htmlall':'UTF-8'}modules/paylane/views/img/paypal.png" alt="Zapłać przez moduł płatności" width="80" height="auto">{/if}
|
||||
{{$paymentMethodLabel}}
|
||||
</a>
|
||||
</p>
|
||||
@@ -0,0 +1,7 @@
|
||||
{assign var=params value=['payment_type' => 'SecureForm']}
|
||||
<p class="payment_module" id="paylane_payment_button">
|
||||
<a class="paylane-expander secureform{if $withImage} with-image{/if}" href="{$link->getModuleLink('paylane', 'payment', $params)|escape:'html'}" title="{{$paymentMethodLabel}}">
|
||||
{if $withImage}<img src="{$thisPath|escape:'htmlall':'UTF-8'}modules/paylane/views/img/secureform.png" alt="Zapłać przez moduł płatności" width="80" height="auto">{/if}
|
||||
{{$paymentMethodLabel}}
|
||||
</a>
|
||||
</p>
|
||||
@@ -0,0 +1,7 @@
|
||||
{assign var=params value=['payment_type' => 'Sofort']}
|
||||
<p class="payment_module paylane-sofort-wrapper" id="paylane_payment_button">
|
||||
<a class="paylane-expander sofort{if $withImage} with-image{/if}" href="{$link->getModuleLink('paylane', 'payment', $params)|escape:'html'}" title="{{$paymentMethodLabel}}">
|
||||
{if $withImage}<img src="/modules/paylane/views/img/sofort.png" alt="Zapłać przez moduł płatności" width="80" height="auto">{/if}
|
||||
{{$paymentMethodLabel}}
|
||||
</a>
|
||||
</p>
|
||||
Reference in New Issue
Block a user