first commit
This commit is contained in:
29
views/templates/front/redirect.tpl
Normal file
29
views/templates/front/redirect.tpl
Normal file
@@ -0,0 +1,29 @@
|
||||
{*
|
||||
* Hutko - Платіжний сервіс, який рухає бізнеси вперед.
|
||||
*
|
||||
* Запускайтесь, набирайте темп, масштабуйтесь – ми підстрахуємо всюди.
|
||||
*
|
||||
* @author panariga
|
||||
* @copyright 2025 Hutko
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*}
|
||||
|
||||
{extends "$layout"}
|
||||
|
||||
{block name="content"}
|
||||
|
||||
{l s='You will be redirected to the website in a few seconds.' d='Modules.Hutko.Shop'}
|
||||
<div class="form-group">
|
||||
<form id="hutko_redirect" method="POST" action="{$hutko_url}" accept-charset="utf-8">
|
||||
|
||||
{foreach from=$hutko_inputs item=item key=key name=name}
|
||||
<input type="hidden" name="{$key|escape:'htmlall'}" value="{$item|escape:'htmlall'}" />
|
||||
{/foreach}
|
||||
<button class="btn btn-primary"
|
||||
type="submit">{l s='Go to payment (if auto redirect doesn`t work)' d='Modules.Hutko.Shop'}</button>
|
||||
</form>
|
||||
<div>
|
||||
<script>
|
||||
document.getElementById("hutko_redirect").submit();
|
||||
</script>
|
||||
{/block}
|
||||
Reference in New Issue
Block a user