Add view classes for articles, banners, languages, menu, newsletter, containers, shop categories, clients, payment methods, products, and search
- Created `Articles` class for rendering article views including full articles, miniature lists, and news sections. - Added `Banners` class for handling banner displays. - Introduced `Languages` class for rendering language options. - Implemented `Menu` class for rendering page and menu structures. - Developed `Newsletter` class for newsletter rendering. - Created `Scontainers` class for rendering specific containers. - Added `ShopCategory` class for managing shop category views and pagination. - Implemented `ShopClient` class for client-related views including address management and login forms. - Created `ShopPaymentMethod` class for displaying payment methods in the basket. - Added `ShopProduct` class for generating product URLs. - Introduced `ShopSearch` class for rendering a simple search form. - Added `.htaccess` file in the plugins directory to enhance security by restricting access to sensitive files and directories.
This commit is contained in:
@@ -11,24 +11,24 @@
|
||||
<div class="basket-options">
|
||||
<div class="content">
|
||||
<div class="left">
|
||||
<div class="box-title"><?= ucfirst(\S::lang('dostawa')); ?>:</div>
|
||||
<div class="box-title"><?= ucfirst(\Shared\Helpers\Helpers::lang('dostawa')); ?>:</div>
|
||||
<div id="transport-methods">
|
||||
<?= $this->transport_methods; ?>
|
||||
</div>
|
||||
<div class="inpost-map-container">
|
||||
<a href="#" onclick="inpost_check(); return false;" class="inpost-hide"><?= \S::lang('zamknij'); ?></a>
|
||||
<a href="#" onclick="inpost_check(); return false;" class="inpost-hide"><?= \Shared\Helpers\Helpers::lang('zamknij'); ?></a>
|
||||
<div id="inpost-map"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="box-title"><?= ucfirst(\S::lang('platnosc')); ?>:</div>
|
||||
<div class="box-title"><?= ucfirst(\Shared\Helpers\Helpers::lang('platnosc')); ?>:</div>
|
||||
<div id="payment-methods"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<a href="/koszyk-podsumowanie" id="btn-basket-summary" class="btn btn-success disabled float-right"><span class="text"><?= ucfirst(\S::lang('przejdz-do-podsumowania')); ?></span></a>
|
||||
<a href="/koszyk-podsumowanie" id="btn-basket-summary" class="btn btn-success disabled float-right"><span class="text"><?= ucfirst(\Shared\Helpers\Helpers::lang('przejdz-do-podsumowania')); ?></span></a>
|
||||
</div>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
@@ -245,7 +245,7 @@
|
||||
|
||||
$.alert({
|
||||
|
||||
title: '<?= ucfirst(\S::lang('uwaga')); ?>',
|
||||
title: '<?= ucfirst(\Shared\Helpers\Helpers::lang('uwaga')); ?>',
|
||||
content: 'Proszę wybrać punkt odbioru',
|
||||
type: 'blue',
|
||||
closeIcon: true,
|
||||
@@ -257,7 +257,7 @@
|
||||
autoClose: 'confirm|5000',
|
||||
buttons: {
|
||||
confirm: {
|
||||
text: '<?= \S::lang('zamknij'); ?>',
|
||||
text: '<?= \Shared\Helpers\Helpers::lang('zamknij'); ?>',
|
||||
btnClass: 'btn-blue',
|
||||
keys: ['enter'],
|
||||
action: function() {}
|
||||
@@ -406,8 +406,8 @@
|
||||
var product_hash = $(this).attr('product-hash');
|
||||
|
||||
$.alert({
|
||||
title: '<?= ucfirst(\S::lang('potwierdz')); ?>',
|
||||
content: '<?= \S::lang('potwierdz-usuniecie-produktu-z-koszyka'); ?>',
|
||||
title: '<?= ucfirst(\Shared\Helpers\Helpers::lang('potwierdz')); ?>',
|
||||
content: '<?= \Shared\Helpers\Helpers::lang('potwierdz-usuniecie-produktu-z-koszyka'); ?>',
|
||||
closeIcon: true,
|
||||
closeIconClass: 'fa fa-close',
|
||||
typeAnimated: true,
|
||||
@@ -417,7 +417,7 @@
|
||||
autoClose: 'cancel|10000',
|
||||
buttons: {
|
||||
confirm: {
|
||||
text: '<?= \S::lang('usun'); ?>',
|
||||
text: '<?= \Shared\Helpers\Helpers::lang('usun'); ?>',
|
||||
btnClass: 'btn-orange',
|
||||
keys: ['enter'],
|
||||
action: function() {
|
||||
@@ -454,7 +454,7 @@
|
||||
}
|
||||
},
|
||||
cancel: {
|
||||
text: '<?= \S::lang('zamknij'); ?>',
|
||||
text: '<?= \Shared\Helpers\Helpers::lang('zamknij'); ?>',
|
||||
btnClass: 'btn-blue',
|
||||
action: function() {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user