first commit

This commit is contained in:
2025-03-12 17:06:23 +01:00
commit 2241f7131f
13185 changed files with 1692479 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
<div id="stPayment_return" class="box roundies">
<div class="title">
<h2>{__ text="Płatność"}</h2>
</div>
<div class="content">
<p>{__ text="Błąd podczas tworzenia nowej płatności."}</p>
</div>
</div>

View File

@@ -0,0 +1,8 @@
<div id="stPayment_return" class="box roundies">
<div class="title">
<h2>{__ text="Płatność"}</h2>
</div>
<div class="content">
<p>{__ text="Płatność nie została zrealizowana."}</p>
</div>
</div>

View File

@@ -0,0 +1,8 @@
<div id="stPayment_return" class="box roundies">
<div class="title">
<h2>{__ text="Płatność"}</h2>
</div>
<div class="content">
<p>{__ text="Dziękujemy za dokonanie płatności."}</p>
</div>
</div>

View File

@@ -0,0 +1,84 @@
{use_stylesheet src="stUser.css"}
<div id="privacy_overlay" style="height: auto">
<div class="privacy_overlay_content" style="text-align: center; height: auto">
<h2>CashBill</h2>
<p>{__ text="Za chwilę nastąpi przekierowanie na stronę płatności. Proszę czekać."}</p>
<p><img src="/images/frontend/theme/responsive/preloader.gif"></p>
</div>
</div>
<div id="st_box_payment">
<img id="st_home" src="/images/frontend/theme/default2/stCashBillPlugin/logo.png" alt=""/><br />
<span>
{$description}
</span>
{if $check_configuration}
<div id="cashbill_list">
{$form_start}
{if $show_variant == 'text'}
{assign var='i' value=0}
{foreach from=$channels item=channel}
{assign var='i' value=$i+1}
<div class="line">
<input type="radio" name="channelId" id="check_{$i}" value="{$channel->id}" class="radiobutton"/>
<label class="name" for="check_{$i}">{$channel->name}</label>
</div>
{/foreach}
{elseif $show_variant == 'image'}
{assign var='i' value=0}
{foreach from=$channels item=channel}
{assign var='i' value=$i+1}
<div class="item box_form img_list">
<label for="check_{$i}">
<img src="{$channel->logoUrl}" />
<h5 class="name">{$channel->name}</h5>
<input type="radio" name="channelId" id="check_{$i}" value="{$channel->id}" class="radiobutton"/>
</label>
</div>
{/foreach}
{elseif $show_variant == 'none' && $redirect}
{literal}
<script type="text/javascript">
jQuery(function($) {
$(document).ready(function () {
$("#st_cashbill_form_new_payment").submit(function() {
var form = $(this);
if (form.data('submited')) {
return false;
}
form.data('submited', true);
$('#privacy_overlay').overlay({
mask: {
color: '#000',
loadSpeed: 'fast',
opacity: 0.5
},
close: '.close',
closeOnClick: false,
closeOnEsc: false,
top: "20%",
speed: 'fast',
load: true,
oneInstance: true
});
}).submit();
});
});
</script>
{/literal}
{/if}
<div class="clear"></div>
<div class="buttons right">
<button type="submit" class="important roundies">
<span class="arrow_right">{__ text="Zapłać"}</span>
</button>
</div>
<div class="clear"></div>
</form>
</div>
{else}
<br />{__ text="Płatność została błędnie skonfigurowana."}
{/if}
</div>

View File

@@ -0,0 +1,20 @@
{set layout="one_column"}
<div id="payment">
<div class="title">
<h1>{__ text="Płatność"}</h1>
</div>
<div class="panel panel-default center-block">
<div class="panel-heading">
{__ text="CashBill"}
</div>
<div class="panel-body text-center">
<p>
{__ text="Błąd podczas tworzenia nowej płatności."}<br/>
{__ text="Skontaktuj się z nami." langCatalogue="stPayment"}
</p>
{if $contactLink}
<a href="{$contactLink}" class="btn btn-primary">{__ text="Kontakt" langCatalogue="stPayment"}</a>
{/if}
</div>
</div>
</div>

View File

@@ -0,0 +1,20 @@
{set layout="one_column"}
<div id="payment">
<div class="title">
<h1>{__ text="Płatność"}</h1>
</div>
<div class="panel panel-default center-block">
<div class="panel-heading">
{__ text="CashBill"}
</div>
<div class="panel-body text-center">
<p>
{__ text="Płatność nie została zrealizowana."}<br/>
{__ text="Skontaktuj się z nami." langCatalogue="stPayment"}
</p>
{if $contactLink}
<a href="{$contactLink}" class="btn btn-primary">{__ text="Kontakt" langCatalogue="stPayment"}</a>
{/if}
</div>
</div>
</div>

View File

@@ -0,0 +1,15 @@
{set layout="one_column"}
<div id="payment">
<div class="title">
<h1>{__ text="Płatność"}</h1>
</div>
<div class="panel panel-default center-block">
<div class="panel-heading">
{__ text="CashBill"}
</div>
<div class="panel-body text-center">
<p>{__ text="Dziękujemy za dokonanie płatności."}</p>
<a href="/" class="btn btn-primary">{__ text="Wróć do zakupów" langCatalogue="stPayment"}</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,79 @@
<div class="modal fade modal-vertical-centered" id="order-process-modal" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" data-keyboard="false">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<h3 class="text-center">{__ text="CashBill"}</h3>
<p class="text-center">{__ text="Za chwilę nastąpi przekierowanie na stronę płatności. Proszę czekać."}</p>
<div class="preloader"></div>
</div>
</div>
</div>
</div>
<div class="panel panel-default center-block"{if $show_variant == 'image'} id="payment-list"{elseif $show_variant == 'text'} id="payment-list-text"{/if}>
<div class="panel-heading">
{__ text="CashBill"}
</div>
<div class="panel-body text-center">
{if $check_configuration}
<img src="/images/frontend/theme/default2/stCashBillPlugin/logo.png" alt="{__ text="CashBill"}"/><br />
<span>
{$description}
</span>
{$form_start}
{$hidden_order_id}
{if $show_variant == 'text'}
{assign var='i' value=0}
<div class="row" data-equalizer>
{foreach from=$channels item=channel}
{assign var='i' value=$i+1}
<div class="col-sm-6 col-md-4 col-lg-3" data-equalizer-watch>
<label for="check_{$i}" class="btn btn-default">
<input type="radio" name="channelId" id="check_{$i}" value="{$channel->id}"/>
{$channel->name}
</label>
</div>
{/foreach}
</div>
{elseif $show_variant == 'image'}
{assign var='i' value=0}
<div class="row" data-equalizer>
{foreach from=$channels item=channel}
{assign var='i' value=$i+1}
<div class="col-xs-6 col-sm-3 col-md-2" data-equalizer-watch>
<label for="check_{$i}" class="text-center btn btn-default">
<img class="img-responsive" src="{$channel->logoUrl}" alt="{$channel->name}"/>
<input type="radio" name="channelId" id="check_{$i}" value="{$channel->id}"/>
</label>
</div>
{/foreach}
</div>
{elseif $show_variant == 'none' && $redirect}
{literal}
<script type="text/javascript">
jQuery(function($) {
$(document).ready(function () {
$("#st_cashbill_form_new_payment").submit(function() {
var form = $(this);
if (form.data('submited')) {
return false;
}
form.data('submited', true);
$('#order-process-modal').modal({ show: true });
}).submit();
});
});
</script>
{/literal}
{/if}
<button type="submit" class="btn btn-primary pull-right">
{__ text="Zapłać"}
</button>
</form>
{else}
{__ text="Płatność została błędnie skonfigurowana."}
{/if}
</div>
</div>