first commit

This commit is contained in:
2024-11-05 12:22:50 +01:00
commit e5682a3912
19641 changed files with 2948548 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
<div class="panel">
<h3><i class="icon-picture-o"></i> {l s='Live from PrestaShop Addons' mod='ps_emailsmanager'}</h3>
<div class="row margin-bottom">
<div class="panel clearfix">
<div class="col-lg-2 col-md-12 col-sm-12">
<img alt="PrestaShop Addons" src="https://medias1.prestastore.com/themes/prestastore/img/front/logo.png">
</div>
<div class="col-lg-7 col-md-12 col-sm-12">
{l s='Simply choose the template you prefer, then just personalize the colors, and all your automatic emails (account creation, order confirmation, payment accepted, etc.) will have a professional design optimized for all devices: computer, smartphone, tablet.' mod='ps_emailsmanager'}
</div>
<div class="col-lg-3 col-md-12 col-sm-12">
<a href="https://addons.prestashop.com/en/625-prestashop-email-templates?utm_source=back-office&utm_medium=emailtemplate&utm_content=download{$ps_version|intval}" class="btn btn-primary btn-lg btn-block" target="_blank" rel="noopener">{l s='See all email templates' mod='ps_emailsmanager'}</a>
</div>
</div>
</div>
<div class="row">
{foreach from=$addons_products item=product}
<div class="col-lg-3 col-md-6 col-sm-12">
<div class="panel">
<header class="panel-heading">{$product.displayName|escape:'htmlall':'UTF-8'}</header>
<a href="{$product.url|escape:'quotes':'UTF-8'}?utm_source=back-office&utm_medium=emailtemplate&utm_content=download{$ps_version|intval}" target="_blank">
<img class="img-responsive" src="{$product.cover.big|escape:'quotes':'UTF-8'}">
</a>
<br/>
<a href="{$product.url|escape:'quotes':'UTF-8'}?utm_source=back-office&utm_medium=emailtemplate&utm_content=download{$ps_version|intval}" class="btn btn-primary btn-lg btn-block" target="_blank">{l s='Discover' mod='ps_emailsmanager'}</a>
</div>
</div>
{/foreach}
</div>
</div>

View File

@@ -0,0 +1,69 @@
{*
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 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/afl-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-2017 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if !empty($availableTemplates) && count($availableTemplates) > 1}
<div class="panel">
<h3>{l s='Available templates' mod='ps_emailsmanager'}</h3>
<div class="row">
{foreach from=$availableTemplates item=template}
<div class="col-sm-12 col-md-6 col-lg-3">
<div class="theme-container">
<h4 class="theme-title" style="margin-bottom:0;">{$template.name|escape:'htmlall':'UTF-8'} {$template.version|escape:'htmlall':'UTF-8'}</h4>
<div class="thumbnail-wrapper">
<div class="action-wrapper">
<div class="action-overlay"></div>
<div class="action-buttons">
<div class="btn-group">
<a href="{$moduleLink|escape:'quotes':'UTF-8'}&amp;select_template={$template.folder|escape:'htmlall':'UTF-8'}" class="btn btn-default">
<i class="icon-check"></i> {l s='Use this template' mod='ps_emailsmanager'}
</a>
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<i class="icon-caret-down"></i>&nbsp;
</button>
<ul class="dropdown-menu">
<li>
<a href="{$previewLink|escape:'quotes':'UTF-8'}{$template.folder|escape:'htmlall':'UTF-8'}" target="_blank">
<i class="icon-eye"></i> {l s='Preview' mod='ps_emailsmanager'}
</a>
</li>
{if $template.name != 'classic'}
<li>
<a href="{$moduleLink|escape:'quotes':'UTF-8'}&amp;delete_template={$template.name|escape:'htmlall':'UTF-8'}" title="{l s='Delete this template' mod='ps_emailsmanager'}" class="delete" onclick="return confirm('{l s='This action will delete the template from your server. Are you sure?' mod='ps_emailsmanager' js=1}')">
<i class="icon-trash"></i> {l s='Delete this template' mod='ps_emailsmanager'}
</a>
</li>
{/if}
</ul>
</div>
</div>
</div>
<img class="center-block img-thumbnail" src="{$module_dir|escape:'quotes':'UTF-8'}imports/{$template.folder|escape:'htmlall':'UTF-8'}/preview.jpg" alt="{$template.name|escape:'htmlall':'UTF-8'}">
</div>
</div>
</div>
{/foreach}
</div>
</div>
{/if}

View File

@@ -0,0 +1,56 @@
{*
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 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/afl-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-2017 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<br />
<fieldset id="available_templates">
<legend>{l s='Available templates' mod='ps_emailsmanager'}</legend>
{foreach from=$availableTemplates item=template}
<div class="select_theme {if $currentTemplate.name == $template.name}select_theme_choice{/if}">
{$template.name|escape:'htmlall':'UTF-8'} {$template.version|escape:'htmlall':'UTF-8'}<br><br>
<img src="{$module_dir|escape:'htmlall':'UTF-8'}imports/{$template.folder|escape:'htmlall':'UTF-8'}/preview.jpg" alt="{$template.name|escape:'htmlall':'UTF-8'}"><br><br>
<a href="{$previewLink|escape:'quotes':'UTF-8'}{$template.folder|escape:'htmlall':'UTF-8'}" class="button" target="_blank">
{l s='Preview' mod='ps_emailsmanager'}
</a>
<br />
{if $currentTemplate.name != $template.name}
<a href="{$moduleLink|escape:'quotes':'UTF-8'}&amp;select_template={$template.folder|escape:'htmlall':'UTF-8'}" class="button">
{l s='Use this template' mod='ps_emailsmanager'}
</a>
{if $template.name != 'classic'}
<br />
<a href="{$moduleLink|escape:'quotes':'UTF-8'}&amp;delete_template={$template.name|escape:'htmlall':'UTF-8'}" title="{l s='Delete this template' mod='ps_emailsmanager'}" class="button" onclick="return confirm('{l s='This action will delete the template from your server. Are you sure?' mod='ps_emailsmanager' js=1}')">
{l s='Delete this template' mod='ps_emailsmanager'}
</a>
{/if}
{else}
{if $template.name != 'classic'}
<a href="{$moduleLink|escape:'quotes':'UTF-8'}&amp;select_template={$template.folder|escape:'htmlall':'UTF-8'}" class="button">
{l s='Change settings' mod='ps_emailsmanager'}
</a>
{/if}
{/if}
</div>
{/foreach}
</fieldset>

View File

@@ -0,0 +1,47 @@
{*
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 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/afl-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-2017 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="panel">
<h3>{l s='Current template' mod='ps_emailsmanager'}</h3>
<div class="row">
<div class="col-md-6">
<img src="{$module_dir|escape:'quotes':'UTF-8'}imports/{$currentTemplate.name|escape:'quotes':'UTF-8'}/preview.jpg" style="width:200px;" class='center-block'>
</div>
<div class="col-md-6 col-centered">
<h2>{$currentTemplate.name|escape:'htmlall':'UTF-8'} <small>{l s='version' mod='ps_emailsmanager'} {if isset($currentTemplate.version)}{$currentTemplate.version|escape:'htmlall':'UTF-8'}{/if}</small></h2>
{if isset($currentTemplate.author)}<p>{l s='Author:' mod='ps_emailsmanager'} {$currentTemplate.author|escape:'htmlall':'UTF-8'}</p>{/if}
</div>
</div>
<div class="panel-footer">
{if $currentTemplate.name != 'classic'}
<a href="{$moduleLink|escape:'quotes':'UTF-8'}&amp;select_template={$currentTemplate.name|escape:'htmlall':'UTF-8'}" class="btn btn-default pull-right">
<i class="process-icon-configure"></i> {l s='Settings' mod='ps_emailsmanager'}
</a>
{/if}
<a href="{$previewLink|escape:'quotes':'UTF-8'}{$currentTemplate.name|escape:'htmlall':'UTF-8'}" class="btn btn-default pull-right" target="_blank">
<i class="process-icon-preview"></i> {l s='Preview' mod='ps_emailsmanager'}
</a>
</div>
</div>

View File

@@ -0,0 +1,37 @@
{*
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 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/afl-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-2017 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="panel">
<h3>{l s='What does this module do?' mod='ps_emailsmanager'}</h3>
<div class="emailsmanager-help">
<img src="../modules/ps_emailsmanager/logo.png" />
<p>{l s='This module allows you to easily add new email templates, modify them and save your configurations.' mod='ps_emailsmanager'}</p>
<ul>
<li>{l s='Start by importing a pack of template that you can buy on ' mod='ps_emailsmanager'} <a href="https://addons.prestashop.com/en/625-prestashop-email-templates" target="_blank">addons.prestashop.com</a></li>
<li>{l s='In "Current template", you can preview your current template and modify it by clicking on Settings (not available for "classic").' mod='ps_emailsmanager'}</li>
<li>{l s='In the last block, you can see all your available templates and choose one according to your needs !.' mod='ps_emailsmanager'}</li>
</ul>
</div>
</div>

View File

@@ -0,0 +1,38 @@
{*
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 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/afl-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-2017 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<fieldset>
<legend>{l s='What does this module do?' mod='ps_emailsmanager'}</legend>
<div class="emailsmanager-help">
<img src="../modules/ps_emailsmanager/logo.png" />
<p>{l s='This module allows you to easily add new email templates, modify them and save your configurations.' mod='ps_emailsmanager'}</p>
<ul>
<li>{l s='Start by importing a pack of template that you can buy on ' mod='ps_emailsmanager'} <a href="https://addons.prestashop.com/en/625-prestashop-email-templates" target="_blank">addons.prestashop.com</a></li>
<li>{l s='In "Current template", you can preview your current template and modify it by clicking on Settings (not available for "classic").' mod='ps_emailsmanager'}</li>
<li>{l s='In the last block, you can see all your available templates and choose one according to your needs !.' mod='ps_emailsmanager'}</li>
</ul>
</div>
</fieldset>
<br />

View File

@@ -0,0 +1,25 @@
<?php
/**
* 2007-2014 PrestaShop
*
* 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-2014 PrestaShop SA
* @license http://addons.prestashop.com/en/content/12-terms-and-conditions-of-use
* 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;