Initial commit

This commit is contained in:
2019-11-20 07:44:43 +01:00
commit 5bf49c4a81
41188 changed files with 5459177 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
<p class="buttons_bottom_block no-print dd_available" style="text-align:center;">
<b>{$available_text|escape:'quotes':'UTF-8'}</b>
</p>
{if isset($oot_text)}
<p class="buttons_bottom_block no-print dd_oot hidden" style="text-align:center;">
<b>{$oot_text|escape:'quotes':'UTF-8'}</b>
</p>
{/if}

View File

@@ -0,0 +1,8 @@
<div class="dd_available">
<b><i class="material-icons">local_shipping</i> {$available_text|escape:'quotes':'UTF-8'}</b>
</div>
{if isset($oot_text)}
<div class="dd_oot hidden">
<b>{$oot_text|escape:'quotes':'UTF-8'}</b>
</div>
{/if}

View File

@@ -0,0 +1,6 @@
<br>
<fieldset>
<legend><img src="../img/admin/delivery.gif">{l s='Delivery dates' mod='deliverydate'}</legend>
{l s='Minimal delivery date' mod='deliverydate'} <b>{$date_min|escape:'htmlall':'UTF-8'}</b><br>
{l s='Maximal delivery date' mod='deliverydate'} <b>{$date_max|escape:'htmlall':'UTF-8'}</b>
</fieldset>

View File

@@ -0,0 +1,4 @@
<div class="tab-pane" id="deliverydate">
{l s='Minimal delivery date' mod='deliverydate'}: <b>{$date_min|escape:'htmlall':'UTF-8'}</b><br>
{l s='Maximal delivery date' mod='deliverydate'}: <b>{$date_max|escape:'htmlall':'UTF-8'}</b>
</div>

View File

@@ -0,0 +1,3 @@
<li>
<a href="#deliverydate" style="line-height: 24px;"><i class="icon-calendar-o"></i> {l s='Date(s)' mod='deliverydate'}</a>
</li>

View File

@@ -0,0 +1,5 @@
<div class="delivery_date"></div>
{if isset($reason) && $reason && $reason != ''}
<div class="delivery_reason">{$reason|escape:'htmlall':'UTF-8'}</div>
{/if}

View File

@@ -0,0 +1,19 @@
<script type="text/javascript">
var deliveries = JSON.parse('{$deliveries nofilter}');
var delivery_text_between = "{l s='By choosing [name], your order will be delivered between the [start] and [end]' mod='deliverydate' d='Modules.DeliveryDate.Shop'}";
var delivery_text = "{l s='By choosing [name], your order will be delivered the [start]' mod='deliverydate' d='Modules.DeliveryDate.Shop'}";
document.addEventListener('DOMContentLoaded', function() {
{if isset($position) && $position == 'bottom'}
moveDates();
{if isset($reason) && $reason && $reason != ''}
moveReason();
{/if}
{/if}
changeDeliveryDate();
});
</script>

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 @@
<div class="delivery_date" style="padding: 10px;margin-top: 10px;margin-bottom: 10px;border: 1px solid #D3D3D3;background: #FDFDFD;">{$text|escape:'htmlall':'UTF-8'}</div>

View File

@@ -0,0 +1 @@
<li><a href="#DeliveryDate">{l s='Delivery' mod='deliverydate'}</a></li>

View File

@@ -0,0 +1,28 @@
{* $only_content is only for 1.7 *}
{if isset($tab) && $tab == true && !$only_content}
<div id="DeliveryDate" class="product_accordion rte block_hidden_only_for_screen hidden">
{else if !$only_content}
<section class="page-product-box hidden">
<h3 class="page-product-heading">{l s='Delivery' mod='deliverydate'}</h3>
{/if}
<table class="table-data-sheet" id="dd_carriers_list">
<tbody>
{foreach from=$carriers item=c key=id_carrier}
<tr class="odd dd_available">
<td align="center"><img src="{$c.logo|escape:'quotes':'UTF-8'}" style="max-height:50px;{if isset($tab) && $tab}margin-right:10px;{/if}" /></td>
<td><b>{$c.name|escape:'htmlall':'UTF-8'}</b> : {$c.date nofilter}</td>
</tr>
{if isset($carrier.oot_date)}
<tr class="odd hidden dd_oot">
<td align="center"><img src="{$carrier.logo|escape:'quotes':'UTF-8'}" style="max-height:50px;{if isset($tab) && $tab}margin-right:10px;{/if}" /></td>
<td><b>{$carrier.name|escape:'htmlall':'UTF-8'}</b> : {$carrier.oot_date nofilter}</td>
</tr>
{/if}
{/foreach}
</tbody>
</table>
{if isset($tab) && $tab == true && !$only_content}
</div>
{else if !$only_content}
</section>
{/if}