Update htaccess to include rewrite rules for non-existing files and directories

This commit is contained in:
2024-10-29 11:25:55 +01:00
parent 32d594c545
commit ff248acfc4
33 changed files with 2362 additions and 2038 deletions

View File

@@ -6,7 +6,7 @@
Chcesz skorzystać z odroczonych płatności <img src="/layout/images/paypo-logo.svg">? Wybierz jedną z form dostawy: <strong>odbiór osobisty, Paczkomaty InPost - przedpłata lub Kurier - przedpłata</strong>.<br/>
Wartość zamówienia musi mieścić się w przedziale od 40 zł do 1000 zł.
</div>
<? if ( is_array( $this -> basket ) and count( $this -> basket ) ):?>
<? if ( is_array( $this -> basket ) and count( $this -> basket ) ):?>
<div class="basket-options">
<div class="content">
<div class="left">
@@ -18,12 +18,6 @@
<a href="#" onclick="inpost_check(); return false;" class="inpost-hide"><?= \S::lang( 'zamknij' );?></a>
<div id="inpost-map"></div>
</div>
<!-- <div class="orlen-map-container">
<a href="#" onclick="orlen_check(); return false;" class="orlen-hide"><?= \S::lang( 'zamknij' );?></a>
<div id="orlen-map"></div>
</div> -->
</div>
<div class="right">
<div class="box-title"><?= ucfirst( \S::lang( 'platnosc' ) );?>:</div>
@@ -44,7 +38,6 @@
<script class="footer" type="text/javascript" src="https://geowidget.easypack24.net/js/sdk-for-javascript.js"></script>
<script class="footer" type="text/javascript">
var inpost_transport_method_id = '';
var orlen_transport_method_id = '';
function inpost_check() {
@@ -67,23 +60,6 @@
return false;
}
// function orlen_check() {
// $.ajax({
// type: 'POST',
// cache: false,
// url: '/shopBasket/orlen_check',
// beforeSend: function() {},
// success: function(response) {
// data = jQuery.parseJSON(response);
// if (data.result == 'bad') {
// $('.orlen-info-' + orlen_transport_method_id).html('<a href="#" onclick="orlen_map(' + orlen_transport_method_id + '); return false;">wybierz</a>');
// }
// $('.orlen-map-container').hide();
// }
// });
// return false;
// }
function payment_checked( payment_method_id )
{
$.ajax(
@@ -142,33 +118,6 @@
$( '.inpost-map-container' ).show();
}
// function orlen_map(transport_method_id) {
// orlen_transport_method_id = transport_method_id;
// window.orlenPackAsyncInit = function () {
// orlenPack.init({
// mapType: 'osm',
// });
// var map = orlenPack.mapWidget('orlen-map', function(point) {
// $.ajax({
// type: 'POST',
// cache: false,
// url: '/shopBasket/orlen_save',
// data: {
// paczka: point.name + ' | ' + point.address.line1 + ', ' + point.address.line2
// },
// beforeSend: function() {},
// success: function(response) {
// $('.orlen-info-' + transport_method_id).html(point.name + ' | ' + point.address.line1 + ', ' + point.address.line2 + '<a href="#" onclick="orlen_map(' + transport_method_id + '); return false;">Змінити</a>');
// $('.orlen-map-container').hide();
// }
// });
// });
// };
// $('.orlen-map-container').show();
// }
function transport_checked( transport_method_id, payment_method_id, event_click )
{
$.ajax({