first commit

This commit is contained in:
2025-01-06 20:47:25 +01:00
commit 3bdbd78c2f
25591 changed files with 3586440 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
<?php
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;

View File

@@ -0,0 +1,16 @@
{if $data_processing_notices}
{assign var=unique_id value=1|mt_rand:20}
<div class="paynow-data-processing-info">
{foreach from=$data_processing_notices item=notice}
<div class="paynow-data-processing-info-less">
{$notice.title nofilter}
{if $notice.content}<br><a href="#" data-toggle="collapse" data-target="#paynow_disclaimer_{$unique_id}" class="js-show-details">{l s='Read more' mod='paynow'}</a>{/if}
</div>
{if $notice.content}
<div class="paynow-data-processing-info-more collapse" id="paynow_disclaimer_{$unique_id}">
{$notice.content nofilter}
</div>
{/if}
{/foreach}
</div>
{/if}

View File

@@ -0,0 +1,6 @@
<div class="col-lg-3 col-xs-4 paynow-payment-option-pbl {if !$method->isEnabled()}disabled{/if}">
<input type="radio" name="paymentMethodId" value="{$method->getId()|escape:'htmlall':'UTF-8'}" id="paynow_method_{$method->getId()|escape:'htmlall':'UTF-8'}" {if !$method->isEnabled()}disabled{/if}>
<label for="paynow_method_{$method->getId()}">
<img src="{$method->getImage()|escape:'htmlall':'UTF-8'}" alt="{$method->getDescription()|escape:'htmlall':'UTF-8'}" />
</label>
</div>

View File

@@ -0,0 +1,26 @@
{*
* NOTICE OF LICENSE
*
* This source file is subject to the MIT License (MIT)
* that is bundled with this package in the file LICENSE.md.
*
* @author mElements S.A.
* @copyright mElements S.A.
* @license MIT License
*}
{extends file=$layout}
{block name='content'}
<div class="paynow-confirm-blik">
<h2>{l s='Confirm the payment using the app on your phone.' mod='paynow'}</h2>
<img src="{$link->getMediaLink("`$module_dir`views/img/blik-confirm.png")}" alt="{l s='Confirm the BLIK payment' mod='paynow'}">
<div class="order-data clearfix">
{if !empty($order_reference)}
<p>{l s='Your order number:' mod='paynow'} {$order_reference|escape:'htmlall':'UTF-8'}</p>
{/if}
{if !empty($order_status)}
<p>{l s='Current order status:' mod='paynow'} <span class="status">{$order_status|escape:'htmlall':'UTF-8'}</span></p>
{/if}
</div>
</div>
{/block}

View File

@@ -0,0 +1,34 @@
{*
* NOTICE OF LICENSE
*
* This source file is subject to the MIT License (MIT)
* that is bundled with this package in the file LICENSE.md.
*
* @author mElements S.A.
* @copyright mElements S.A.
* @license MIT License
*}
{extends file=$layout}
{block name='content'}
<h2>{$cta_text|escape:'htmlall':'UTF-8'}</h2>
<div class="table-responsive-row clearfix">
<div class="clearfix">
<p class="amount-info">
{l s='Pay for your order' mod='paynow'}:
<strong>{$total_to_pay|escape:'htmlall':'UTF-8'}</strong>
</p>
</div>
<div class="alert alert-warning">
{l s='An error occurred while processing your payment.' mod='paynow'}
</div>
<p class="cart_navigation clearfix" id="cart_navigation">
<a class="button btn btn-primary button-medium" href="{$button_action|escape:'htmlall':'UTF-8'}">
<span>{l s='Retry payment with paynow.pl' mod='paynow'}<i class="icon-chevron-right right"></i></span>
</a>
</p>
</div>
{/block}

View File

@@ -0,0 +1,11 @@
<?php
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;

View File

@@ -0,0 +1,23 @@
{*
* NOTICE OF LICENSE
*
* This source file is subject to the MIT License (MIT)
* that is bundled with this package in the file LICENSE.md.
*
* @author mElements S.A.
* @copyright mElements S.A.
* @license MIT License
*}
{if $paynowPbls}
<form class="payment-form paynow-payment-form" method="POST" action="{$action}">
<div class="paynow-payment-option-container">
<p>{l s='Choose bank:' mod='paynow'}</p>
<div class="row paynow-payment-pbls">
{foreach from=$paynowPbls item=method}
{include file="module:paynow/views/templates/front/1.7/_partials/payment_method_pbl.tpl"}
{/foreach}
</div>
{include file="module:paynow/views/templates/front/1.7/_partials/payment_data_processing_info.tpl"}
</div>
</form>
{/if}

View File

@@ -0,0 +1,29 @@
{*
* NOTICE OF LICENSE
*
* This source file is subject to the MIT License (MIT)
* that is bundled with this package in the file LICENSE.md.
*
* @author mElements S.A.
* @copyright mElements S.A.
* @license MIT License
*}
<form class="payment-form paynow-payment-form paynow-blik-form" data-method="POST" data-action="{$action_blik}" data-token="{$action_token}" data-error-message="{$error_message}" data-terms-message="{$terms_message}">
<div class="paynow-payment-option-container">
<div class="form-group row">
<label for="paynow_blik_code" class="col-md-3 form-control-label required">
{l s='Enter the BLIK code' mod='paynow'}
</label>
<div class="col-md-4">
<input autocomplete="off" inputmode="numeric" pattern="[0-9]{'{3}'|escape:'htmlall':'UTF-8'} [0-9]{'{3}'|escape:'htmlall':'UTF-8'}" minlength="6" maxlength="6" size="6" id="paynow_blik_code" name="blikCode" type="text" value="" class="required form-control">
<span class="error"></span>
</div>
<div class="col-md-3">
<button class="btn btn-primary" disabled>
{l s='Pay' mod='paynow'}
</button>
</div>
</div>
{include file="module:paynow/views/templates/front/1.7/_partials/payment_data_processing_info.tpl"}
</div>
</form>

View File

@@ -0,0 +1,44 @@
{*
* NOTICE OF LICENSE
*
* This source file is subject to the MIT License (MIT)
* that is bundled with this package in the file LICENSE.md.
*
* @author mElements S.A.
* @copyright mElements S.A.
* @license MIT License
*}
{extends file=$layout}
{block name='content'}
<div class="paynow-return">
<img src="{$logo|escape:'htmlall':'UTF-8'}" alt="{l s='Pay by online transfer or BLIK' mod='paynow'}">
<h2>{l s='Thank you for your order!' mod='paynow'}</h2>
<div class="order-data clearfix">
<p>
{l s='Your order number:' mod='paynow'} {$order_reference|escape:'htmlall':'UTF-8'}
</p>
<p>
{l s='Order status:' mod='paynow'} {$order_status|escape:'htmlall':'UTF-8'}
</p>
{if $show_retry_button}
<p>
<a href="{$retry_url|escape:'htmlall':'UTF-8'}" title="{l s='Retry payment with paynow.pl' mod='paynow'}" class="btn btn-primary">
{l s='Retry payment with paynow.pl' mod='paynow'}
</a>
</p>
{/if}
{if $show_details_button}
<p>
<a class="button btn btn-primary button-medium pull-left" href="{$details_url|escape:'htmlall':'UTF-8'}">
<span>
{l s='Order details' mod='paynow'}
<i class="icon-chevron-right"></i>
</span>
</a>
</p>
{/if}
</div>
{*HTML CONTENT*}{$HOOK_ORDER_CONFIRMATION nofilter}
</div>
{/block}