This commit is contained in:
2025-04-01 00:38:54 +02:00
parent d4d4c0c09d
commit 87da06293a
22351 changed files with 5168854 additions and 7538 deletions

View File

@@ -0,0 +1,23 @@
<div class="x13gpsr x13gpsr-shop-{$x13gpsr.shopId} x13gpsr--{$x13gpsr.hookName}">
{if $x13gpsr.config.layout != 'default'}
<p class="x13gpsr-info-desc">
{l s='Product compliance details:' mod='x13gpsr'}
<a href="#x13gpsr" rel="nofollow" class="x13gpsr__btn--show">
{if !empty($x13gpsr.responsibleManufacturer) && !empty($x13gpsr.responsiblePerson)}
{l s='Manufacturer and person responsible for the product' mod='x13gpsr'}
{elseif !empty($x13gpsr.responsibleManufacturer)}
{l s='Manufacturer responsible for the product' mod='x13gpsr'}
{elseif !empty($x13gpsr.responsiblePerson)}
{l s='Responsibility for the Product' mod='x13gpsr'}
{/if}
</a>
</p>
{include file='../../front/1.6/modal.tpl'}
{else}
<h2>{$x13gpsr.blockTitle}</h2>
<div class="rte">
{include file='../_partials/1.6/info.tpl'}
</div>
{/if}
</div>

View File

@@ -0,0 +1,25 @@
<div class="x13gpsr x13gpsr-shop-{$x13gpsr.shopId} x13gpsr--{$x13gpsr.hookName}">
{if $x13gpsr.config.layout != 'default'}
<p class="x13gpsr-info-desc">
{l s='Product compliance details:' mod='x13gpsr'}
<a href="#x13gpsr" rel="nofollow" class="x13gpsr__btn--show">
{if !empty($x13gpsr.responsibleManufacturer) && !empty($x13gpsr.responsiblePerson)}
{l s='Manufacturer and person responsible for the product' mod='x13gpsr'}
{elseif !empty($x13gpsr.responsibleManufacturer)}
{l s='Manufacturer responsible for the product' mod='x13gpsr'}
{elseif !empty($x13gpsr.responsiblePerson)}
{l s='Responsibility for the Product' mod='x13gpsr'}
{/if}
</a>
</p>
{include file='../../front/1.6/modal.tpl'}
{else}
<section class="page-product-box">
<h3 class="page-product-heading">{$x13gpsr.blockTitle}</h3>
<div class="rte">
{include file='../_partials/1.6/info.tpl'}
</div>
</section>
{/if}
</div>

View File

@@ -0,0 +1,13 @@
{if !empty($x13gpsr.responsibleManufacturer)}
{include file='../responsible_manufacturer.tpl'}
{/if}
{if !empty($x13gpsr.responsiblePerson)}
{include file='../responsible_person.tpl'}
{/if}
{if $x13gpsr.config.displayExtraSafetyInformation}
<div class="x13gpsr__informations">
{$x13gpsr.extraSafetyInformation nofilter}
</div>
{/if}

View File

@@ -0,0 +1,37 @@
{if !empty($x13gpsr.responsibleManufacturer) || !empty($x13gpsr.responsiblePerson)}
<ul class="x13gpsr__nav" id="x13gpsrTab" role="tablist">
{if !empty($x13gpsr.responsibleManufacturer)}
<li class="x13gpsr__nav-item">
<a class="x13gpsr__nav-link active" id="x13gpsr-manufacturer-tab" data-toggle="x13gpsr-tab"
href="#x13gpsrManufacturer" role="tab" aria-controls="x13gpsrManufacturer"
aria-selected="true">{l s='Manufacturer' mod='x13gpsr'}</a>
</li>
{/if}
{if !empty($x13gpsr.responsiblePerson)}
<li class="x13gpsr__nav-item">
<a class="x13gpsr__nav-link{if empty($x13gpsr.responsibleManufacturer)} active{/if}" id="x13gpsr-person-tab" data-toggle="x13gpsr-tab" href="#x13gpsrPerson" role="tab"
aria-controls="x13gpsrPerson" aria-selected="false">{l s='Responsible person' mod='x13gpsr'}</a>
</li>
{/if}
</ul>
<div class="x13gpsr__tab-content" id="x13gpsrTabContent">
{if !empty($x13gpsr.responsibleManufacturer)}
<div class="x13gpsr__tab-pane active" id="x13gpsrManufacturer" role="tabpanel"
aria-labelledby="x13gpsr-manufacturer-tab">
{include file='../../_partials/responsible_manufacturer.tpl'}
</div>
{/if}
{if !empty($x13gpsr.responsiblePerson)}
<div class="x13gpsr__tab-pane{if empty($x13gpsr.responsibleManufacturer)} active{/if}" id="x13gpsrPerson" role="tabpanel" aria-labelledby="x13gpsr-person-tab">
{include file='../../_partials/responsible_person.tpl'}
</div>
{/if}
</div>
{/if}
{if $x13gpsr.config.displayExtraSafetyInformation}
<div class="x13gpsr__informations">
{$x13gpsr.extraSafetyInformation nofilter}
</div>
{/if}

View File

@@ -0,0 +1,13 @@
{if !empty($x13gpsr.responsibleManufacturer)}
{include file='module:x13gpsr/views/templates/hook/_partials/responsible_manufacturer.tpl'}
{/if}
{if !empty($x13gpsr.responsiblePerson)}
{include file='module:x13gpsr/views/templates/hook/_partials/responsible_person.tpl'}
{/if}
{if $x13gpsr.config.displayExtraSafetyInformation}
<div class="x13gpsr__informations">
{$x13gpsr.extraSafetyInformation nofilter}
</div>
{/if}

View File

@@ -0,0 +1,35 @@
{if $x13gpsr.config.displayManufacturerLogo && $x13gpsr.hasManufacturer && $x13gpsr.manufacturerLogo}
<p class="x13gpsr__manufacturer">
<a href="{$x13gpsr.manufacturerUrl}" title="{$x13gpsr.manufacturerName}">
<img src="{$x13gpsr.manufacturerLogo}" alt="{$x13gpsr.manufacturerName}">
</a>
</p>
{/if}
<p class="x13gpsr__list">
<strong class="x13gpsr__item x13gpsr__title">{l s='Manufacturer' mod='x13gpsr'}</strong>
<span class="x13gpsr__item">{if $x13gpsr.config.displayLabel}<span class="x13gpsr__label">{l s='Manufacturer Name' mod='x13gpsr'}:</span>{/if}
{$x13gpsr.responsibleManufacturer.name}</span>
<span class="x13gpsr__item">{if $x13gpsr.config.displayLabel}<span
class="x13gpsr__label">{l s='Adress' mod='x13gpsr'}:</span> {/if}{$x13gpsr.responsibleManufacturer.address}</span>
<span class="x13gpsr__item">{if $x13gpsr.config.displayLabel}<span
class="x13gpsr__label">{l s='City' mod='x13gpsr'}:</span> {/if}{$x13gpsr.responsibleManufacturer.postcode}
{$x13gpsr.responsibleManufacturer.city}</span>
<span class="x13gpsr__item">{if $x13gpsr.config.displayLabel}<span
class="x13gpsr__label">{l s='Country' mod='x13gpsr'}:</span>
{/if}{$x13gpsr.responsibleManufacturer.country}</span>
{if $x13gpsr.responsibleManufacturer.email}
<span class="x13gpsr__item">{if $x13gpsr.config.displayLabel}<span
class="x13gpsr__label">{l s='E-mail' mod='x13gpsr'}:</span> {/if}<a
href="mailto:{$x13gpsr.responsibleManufacturer.email}">{$x13gpsr.responsibleManufacturer.email}</a></span>
{/if}
{if $x13gpsr.responsibleManufacturer.phone}
<span class="x13gpsr__item">{if $x13gpsr.config.displayLabel}<span
class="x13gpsr__label">{l s='Phone' mod='x13gpsr'}:</span> {/if}{$x13gpsr.responsibleManufacturer.phone}</span>
{/if}
</p>
{if !empty($x13gpsr.responsibleManufacturer.extra_note)}
<div class="x13gpsr__extraNote">
{$x13gpsr.responsibleManufacturer.extra_note nofilter}
</div>
{/if}

View File

@@ -0,0 +1,28 @@
<p class="x13gpsr__list">
<strong class="x13gpsr__item x13gpsr__title">{l s='Responsible person' mod='x13gpsr'}</strong>
<span class="x13gpsr__item">{if $x13gpsr.config.displayLabel}<span
class="x13gpsr__label">{l s='Company name / Person Name' mod='x13gpsr'}:</span>
{/if}{$x13gpsr.responsiblePerson.name}</span>
<span class="x13gpsr__item">{if $x13gpsr.config.displayLabel}<span
class="x13gpsr__label">{l s='Adress' mod='x13gpsr'}:</span> {/if}{$x13gpsr.responsiblePerson.address}</span>
<span class="x13gpsr__item">{if $x13gpsr.config.displayLabel}<span
class="x13gpsr__label">{l s='City' mod='x13gpsr'}:</span> {/if}{$x13gpsr.responsiblePerson.postcode}
{$x13gpsr.responsiblePerson.city}</span>
<span class="x13gpsr__item">{if $x13gpsr.config.displayLabel}<span
class="x13gpsr__label">{l s='Country' mod='x13gpsr'}:</span> {/if}{$x13gpsr.responsiblePerson.country}</span>
{if $x13gpsr.responsiblePerson.email}
<span class="x13gpsr__item">{if $x13gpsr.config.displayLabel}<span
class="x13gpsr__label">{l s='E-mail' mod='x13gpsr'}:</span> {/if}<a
href="mailto:{$x13gpsr.responsiblePerson.email}">{$x13gpsr.responsiblePerson.email}</a></span>
{/if}
{if $x13gpsr.responsiblePerson.phone}
<span class="x13gpsr__item">{if $x13gpsr.config.displayLabel}<span
class="x13gpsr__label">{l s='Phone' mod='x13gpsr'}:</span> {/if}{$x13gpsr.responsiblePerson.phone}</span>
{/if}
</p>
{if !empty($x13gpsr.responsiblePerson.extra_note)}
<div class="x13gpsr__extraNote">
{$x13gpsr.responsiblePerson.extra_note nofilter}
</div>
{/if}

View File

@@ -0,0 +1,37 @@
{if !empty($x13gpsr.responsibleManufacturer) || !empty($x13gpsr.responsiblePerson)}
<ul class="x13gpsr__nav" id="x13gpsrTab" role="tablist">
{if !empty($x13gpsr.responsibleManufacturer)}
<li class="x13gpsr__nav-item">
<a class="x13gpsr__nav-link active" id="x13gpsr-manufacturer-tab" data-toggle="x13gpsr-tab"
href="#x13gpsrManufacturer" role="tab" aria-controls="x13gpsrManufacturer"
aria-selected="true">{l s='Manufacturer' mod='x13gpsr'}</a>
</li>
{/if}
{if !empty($x13gpsr.responsiblePerson)}
<li class="x13gpsr__nav-item">
<a class="x13gpsr__nav-link{if empty($x13gpsr.responsibleManufacturer)} active{/if}" id="x13gpsr-person-tab" data-toggle="x13gpsr-tab" href="#x13gpsrPerson" role="tab"
aria-controls="x13gpsrPerson" aria-selected="false">{l s='Responsible person' mod='x13gpsr'}</a>
</li>
{/if}
</ul>
<div class="x13gpsr__tab-content" id="x13gpsrTabContent">
{if !empty($x13gpsr.responsibleManufacturer)}
<div class="x13gpsr__tab-pane active" id="x13gpsrManufacturer" role="tabpanel"
aria-labelledby="x13gpsr-manufacturer-tab">
{include file='module:x13gpsr/views/templates/hook/_partials/responsible_manufacturer.tpl'}
</div>
{/if}
{if !empty($x13gpsr.responsiblePerson)}
<div class="x13gpsr__tab-pane{if empty($x13gpsr.responsibleManufacturer)} active{/if}" id="x13gpsrPerson" role="tabpanel" aria-labelledby="x13gpsr-person-tab">
{include file='module:x13gpsr/views/templates/hook/_partials/responsible_person.tpl'}
</div>
{/if}
</div>
{/if}
{if $x13gpsr.config.displayExtraSafetyInformation}
<div class="x13gpsr__informations">
{$x13gpsr.extraSafetyInformation nofilter}
</div>
{/if}

View File

@@ -0,0 +1,97 @@
<br/>
<div class="panel bootstrap">
<!-- Responsible Manufacturer -->
<h3>{l s='Responsible Manufacturer' mod='x13gpsr'}</h3>
<div class="form-group mb-3">
{if $responsibleManufacturerByBrand}
<div class="alert alert-info">
<strong>{l s='Responsible manufacturer assigned by the brand of the product:' mod='x13gpsr'}</strong>
{$responsibleManufacturerByBrand.name} ({$responsibleManufacturerByBrand.email})
</div>
{/if}
<select name="responsible_manufacturer" id="x13gpsr_responsible_manufacturer" class="custom-select">
<option value="0">{l s='Select to override' mod='x13gpsr'}</option>
{foreach from=$responsibleManufacturers key=name item=id}
<option value="{$id}" {if $id == $assignedResponsibleManufacturer}selected{/if}>{$name}</option>
{/foreach}
</select>
</div>
</div>
<hr>
<div class="panel bootstrap">
<!-- Responsible Person -->
<h3>{l s='Responsible Person' mod='x13gpsr'}</h3>
<div class="form-group mb-3 mt-3">
{if $responsiblePersonByBrand}
<div class="alert alert-info">
<strong>{l s='Responsible person assigned by the brand of the product:' mod='x13gpsr'}</strong>
{$responsiblePersonByBrand.name} ({$responsiblePersonByBrand.email})
</div>
{/if}
<select name="responsible_person" id="x13gpsr_responsible_person" class="custom-select">
<option value="0">{l s='Select to override' mod='x13gpsr'}</option>
{foreach from=$responsiblePersons key=name item=id}
<option value="{$id}" {if $id == $assignedResponsiblePerson}selected{/if}>{$name}</option>
{/foreach}
</select>
</div>
</div>
<hr>
<div class="panel bootstrap">
<!-- Additional Safety Information -->
<h3>{l s='Additional safety information' mod='x13gpsr'}</h3>
<div class="form-group mb-3">
<div>
<ul class="nav nav-tabs" role="tablist">
{foreach from=$languages item=language}
<li class="nav-item {if $language.id_lang == $defaultLanguage}active{/if}" role="presentation">
<a class="{if $language.id_lang == $defaultLanguage}active{/if} nav-link"
id="lang-tab-{$language.id_lang}" data-toggle="tab" href="#lang-{$language.id_lang}" role="tab"
aria-controls="lang-{$language.id_lang}"
{if $language.id_lang == $defaultLanguage}aria-selected="true"
{else}aria-selected="false"
{/if}>
{$language.iso_code}
</a>
</li>
{/foreach}
</ul>
<div class="tab-content p-3 border rounded">
{foreach from=$languages item=language}
<div class="tab-pane {if $language.id_lang == $defaultLanguage}active{/if}"
id="lang-{$language.id_lang}" role="tabpanel" aria-labelledby="lang-tab-{$language.id_lang}">
<textarea name="additional_safety_information_{$language.id_lang}"
id="x13gpsr_additional_safety_information_{$language.id_lang}" class="form-control autoload_rte"
rows="5">{$additionalSafetyInformation->extra_information[$language.id_lang]|default:'' nofilter}</textarea>
</div>
{/foreach}
</div>
</div>
</div>
{if $isPs16}
<div class="panel-footer">
<a href="{$link->getAdminLink('AdminProducts')}" class="btn btn-default">
<i class="process-icon-cancel"></i>
{l s='Cancel'}
</a>
<button type="submit" name="submitAddproduct" class="btn btn-default pull-right">
<i class="process-icon-save"></i>
{l s='Save'}
</button>
<button type="submit" name="submitAddproductAndStay" class="btn btn-default pull-right">
<i class="process-icon-save"></i>
{l s='Save and stay'}
</button>
</div>
<script type="text/javascript">
$(document).ready(function() {
tinySetup({
editor_selector: "autoload_rte"
});
});
</script>
{/if}
</div>

View File

@@ -0,0 +1,23 @@
<div class="x13gpsr x13gpsr-shop-{$x13gpsr.shopId} x13gpsr--{$x13gpsr.hookName}">
{if $x13gpsr.config.layout != 'default'}
<p class="x13gpsr-info-desc">
{l s='Product compliance details:' mod='x13gpsr'}
<a href="#x13gpsr" rel="nofollow" class="x13gpsr__btn--show">
{if !empty($x13gpsr.responsibleManufacturer) && !empty($x13gpsr.responsiblePerson)}
{l s='Manufacturer and person responsible for the product' mod='x13gpsr'}
{elseif !empty($x13gpsr.responsibleManufacturer)}
{l s='Manufacturer responsible for the product' mod='x13gpsr'}
{elseif !empty($x13gpsr.responsiblePerson)}
{l s='Responsibility for the Product' mod='x13gpsr'}
{elseif !empty($x13gpsr.extraSafetyInformation)}
{l s='Person responsible for the product' mod='x13gpsr'}
{/if}
</a>
</p>
{include file='module:x13gpsr/views/templates/front/modal.tpl'}
{else}
<h2>{$x13gpsr.blockTitle}</h2>
{include file='module:x13gpsr/views/templates/hook/_partials/info.tpl'}
{/if}
</div>

View File

@@ -0,0 +1,6 @@
<style>
:root {
--x13gpsr-color-link: {$x13gpsr_color_link};
--x13gpsr-color-tab: {$x13gpsr_color_tab};
}
</style>

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,58 @@
{if $x13gpsr.config.displayManufacturerLogo && $x13gpsr.hasManufacturer}
<p class="x13gpsr__manufacturer">
{if $x13gpsr.manufacturerLogo}
<a href="{$x13gpsr.manufacturerUrl}" title="{$x13gpsr.manufacturerName}">
<img src="{$x13gpsr.manufacturerLogo}" alt="{$x13gpsr.manufacturerName}">
</a>
{else}
{l s='Manufacturer' mod='x13gpsr'}: <a href="{$x13gpsr.manufacturerUrl}" title="{$x13gpsr.manufacturerName}">{$x13gpsr.manufacturerName}</a>
{/if}
</a>
</p>
{/if}
{if !empty($x13gpsr.responsibleManufacturer)}
<p class="x13gpsr__list">
<strong class="x13gpsr__item">{l s='Manufacturer' mod='x13gpsr'}</strong>
<span class="x13gpsr__item">{$x13gpsr.responsibleManufacturer.name}</span>
<span class="x13gpsr__item">{$x13gpsr.responsibleManufacturer.address}</span>
<span class="x13gpsr__item">{$x13gpsr.responsibleManufacturer.postcode}
{$x13gpsr.responsibleManufacturer.city}</span>
<span class="x13gpsr__item">{$x13gpsr.responsibleManufacturer.country}</span>
<a class="x13gpsr__item"
href="mailto:{$x13gpsr.responsibleManufacturer.email}">{$x13gpsr.responsibleManufacturer.email}</a>
{if $x13gpsr.responsibleManufacturer.phone}
<span class="x13gpsr__item">{$x13gpsr.responsibleManufacturer.phone}</span>
{/if}
</p>
{if !empty($x13gpsr.responsibleManufacturer.extra_note)}
<div class="x13gpsr__extraNote">
{$x13gpsr.responsibleManufacturer.extra_note nofilter}
</div>
{/if}
{/if}
{if !empty($x13gpsr.responsiblePerson)}
<p class="x13gpsr__list">
<strong class="x13gpsr__item">{l s='Responsible person' mod='x13gpsr'}</strong>
<span class="x13gpsr__item">{$x13gpsr.responsiblePerson.name}</span>
<span class="x13gpsr__item">{$x13gpsr.responsiblePerson.address}</span>
<span class="x13gpsr__item">{$x13gpsr.responsiblePerson.postcode} {$x13gpsr.responsiblePerson.city}</span>
<span class="x13gpsr__item">{$x13gpsr.responsiblePerson.country}</span>
<a class="x13gpsr__item" href="mailto:{$x13gpsr.responsiblePerson.email}">{$x13gpsr.responsiblePerson.email}</a>
{if $x13gpsr.responsiblePerson.phone}
<span class="x13gpsr__item">{$x13gpsr.responsiblePerson.phone}</span>
{/if}
</p>
{if !empty($x13gpsr.responsiblePerson.extra_note)}
<div class="x13gpsr__extraNote">
{$x13gpsr.responsiblePerson.extra_note nofilter}
</div>
{/if}
{/if}
{if $x13gpsr.config.displayExtraSafetyInformation}
<div class="x13gpsr__informations">
{$x13gpsr.extraSafetyInformation nofilter}
</div>
{/if}

View File

@@ -0,0 +1,28 @@
<div class="x13gpsr x13gpsr-shop-{$x13gpsr.shopId} x13gpsr--{$x13gpsr.hookName}">
{if $x13gpsr.config.layout != 'default'}
<p class="x13gpsr-info-desc">
{l s='Product compliance details:' mod='x13gpsr'}
<a href="#x13gpsr" rel="nofollow" class="x13gpsr__btn--show">
{if !empty($x13gpsr.responsibleManufacturer) && !empty($x13gpsr.responsiblePerson)}
{l s='Manufacturer and person responsible for the product' mod='x13gpsr'}
{elseif !empty($x13gpsr.responsibleManufacturer)}
{l s='Manufacturer responsible for the product' mod='x13gpsr'}
{elseif !empty($x13gpsr.responsiblePerson)}
{l s='Person responsible for the product' mod='x13gpsr'}
{elseif !empty($x13gpsr.extraSafetyInformation)}
{l s='Responsibility for the Product' mod='x13gpsr'}
{/if}
</a>
</p>
{include file='module:x13gpsr/views/templates/front/modal.tpl'}
{else}
<h2>{$x13gpsr.blockTitle}</h2>
<div class="card card-block">
<div class="card-body">
{include file='module:x13gpsr/views/templates/hook/_partials/info.tpl'}
</div>
</div>
{/if}
</div>

View File

@@ -0,0 +1,3 @@
<div class="x13gpsr x13gpsr-shop-{$x13gpsr.shopId} x13gpsr--{$x13gpsr.hookName}">
{include file='module:x13gpsr/views/templates/hook/_partials/info.tpl'}
</div>