first commit

This commit is contained in:
2024-10-25 14:16:28 +02:00
commit 925276dbb2
33795 changed files with 4780077 additions and 0 deletions

View File

@@ -0,0 +1,90 @@
{**
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2016 PrestaShop SA
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<form id="emailAttachementsManager" class="defaultForm form-horizontal" action="{$form_action}" method="POST" enctype="multipart/form-data" novalidate>
<input type="hidden" name="AEUC_emailAttachmentsManager" value="1">
<div class="panel">
<div class="panel-heading">
<i class="icon-envelope"></i>
{l s='Email content inclusion' d='Modules.Legalcompliance.Admin'}
</div>
<p>
{l s='This section allows you to include information from the "Legal Content Management" section above at the bottom of your shop\'s emails.' d='Modules.Legalcompliance.Admin'}
</p>
<p>
{l s='For each type of email, you can define which content you would like to include.' d='Modules.Legalcompliance.Admin'}
</p>
<br/>
<div class="form-wrapper">
<table class="table accesses">
<thead>
<tr>
<th>
<span class="title_box">
<input id="selectall_attach" type="checkbox"/>
{l s='Email templates' d='Modules.Legalcompliance.Admin'}
</span>
</th>
{foreach from=$legal_options item=option}
<th class="center fixed-width-xs">
<span class="title_box">
<input id="selectall_opt_{$option.id|intval}" type="checkbox"/>
{$option.name|escape:'htmlall'}
</span>
</th>
{/foreach}
</tr>
</thead>
<tbody>
{foreach from=$mails_available item=mail}
<tr>
<td><input id="mail_{$mail.id_mail|intval}" class="select-all-for-mail" type="checkbox"/></th>&nbsp;{$mail.display_name|escape:'htmlall'}</td>
{foreach from=$legal_options item=option}
<td class="center">
<input name="attach_{$mail.id_mail|intval}_{$option.id|intval}" id="attach_{$mail.id_mail|intval}_{$option.id|intval}" type="checkbox"
{if in_array($mail.id_mail, $option.list_id_mail_assoc)}
checked="true"
{/if}
/></th>
</td>
{/foreach}
</tr>
{/foreach}
</tbody>
</table>
</div>
<div class="panel-footer">
<button type="submit" class="btn btn-default pull-right">
<i class="process-icon-save"></i> {l s='Save' d='Admin.Actions'}
</button>
</div>
</div>
</form>

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2016 PrestaShop SA
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
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,75 @@
{**
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2016 PrestaShop SA
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<form id="legalCMSManager" class="defaultForm form-horizontal" action="{$form_action}" method="POST" enctype="multipart/form-data" novalidate>
<input type="hidden" name="AEUC_legalContentManager" value="1">
<div class="panel">
<div class="panel-heading">
<i class="icon-cogs"></i>
{l s='Legal content management' d='Modules.Legalcompliance.Admin'}
</div>
<p>
{l s='Your country\'s legislation may require you to communicate some specific legal information to your customers.' d='Modules.Legalcompliance.Admin'}
</p>
<p>
{l s='The Legal Compliance module provides the means to indicate legally required informations to your customer, using static pages (some created on purpose by the module). It is your responsibility to fill in the corresponding pages with the required content.' d='Modules.Legalcompliance.Admin'}
</p>
<p>
{l s='For each of the topics below, first indicate which of your Pages contains the required information:' d='Modules.Legalcompliance.Admin'}
</p>
<br/>
<div class="form-wrapper">
{foreach from=$cms_roles_assoc key=id_cms_role item=cms_role_assoc}
<div class="form-group">
<label class="control-label col-lg-3">
{$cms_role_assoc['role_title']|escape:'htmlall'}
</label>
<div class="col-lg-9">
<select class="form-control fixed-width-xxl" name="CMSROLE_{$id_cms_role|intval}" id="CMSROLE_{$id_cms_role|intval}">
<option value="{$cms_pages[-1]->id|intval}" {if $cms_role_assoc['id_cms'] == $cms_pages[-1]->id}selected{/if}>{$cms_pages[-1]->meta_title|escape:'htmlall'}</option>
{foreach from=$cms_pages key=item_key item=cms_page}
{if $item_key !== -1}
<option value="{$cms_page->id|intval}" {if $cms_role_assoc['id_cms'] == $cms_page->id}selected{/if}>{$cms_page->meta_title|escape:'htmlall'}</option>
{/if}
{/foreach}
</select>
</div>
</div>
{/foreach}
</div>
<div class="panel-footer">
<button type="submit" class="btn btn-default pull-right">
<i class="process-icon-save"></i> {l s='Save' d='Admin.Actions'}
</button>
<a href="{$add_cms_link}" class="btn btn-default">
<i class="process-icon-plus"></i> {l s='Add new Page' d='Modules.Legalcompliance.Admin'}
</a>
</div>
</div>
</form>