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,34 @@
<?php
/**
* 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
*/
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,60 @@
{*
* 2007-2018 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-2018 PrestaShop SA
* @license http://addons.prestashop.com/en/content/12-terms-and-conditions-of-use
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="modal fade" id="upload-child-modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<h4 class="modal-title module-modal-title" id="exampleModalLongTitle">{l s='Upload child theme' mod='ps_themecusto'}</h4>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-12">
<form action="#" class="dropzone dz-clickable" id="importDropzone">
<div class="loader"></div>
<div class="module-import-start">
<i class="module-import-start-icon material-icons">cloud_upload</i><br>
<p class="module-import-start-main-text">
{l s='Drop your child theme archive here or' mod='ps_themecusto'} <a href="#" class="module-import-start-select-manual">{l s='select file' mod='ps_themecusto'}</a>
</p>
<p class="module-import-start-footer-text">
{l s='Please upload one file at a time, .zip. Your child theme will be installed right after that.' mod='ps_themecusto'}
</p>
</div>
<div class="module-import-failure">
<i class="module-import-failure-icon material-icons">error</i><br>
<p class="module-import-failure-msg">{l s='Oops... Upload failed.' mod='ps_themecusto'}</p>
<a href="#" class="module-import-failure-details-action">{l s='What happened?' mod='ps_themecusto'}</a>
<div class="module-import-failure-details">{l s='An error has occurred.' mod='ps_themecusto'}</div>
<p>
<a class="module-import-failure-retry btn btn-tertiary" href="#">{l s='Try again' mod='ps_themecusto'}</a>
</p>
</div>
<div class="module-import-success">
<i class="module-import-success-icon material-icons">done</i><br>
<p class="module-import-success-msg"></p>
</div>
<input type="hidden" name="action" value="UploadChildTheme" />
<div class="dz-default dz-message"><span></span></div><input name="childthemefile" type="file" class="dz-hidden-input" accept=".zip" style="visibility: hidden; position: absolute; top: 0px; left: 0px; height: 0px; width: 0px;">
</form>
</div>
</div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,34 @@
<?php
/**
* 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
*/
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,94 @@
{*
* 2007-2018 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-2018 PrestaShop SA
* @license http://addons.prestashop.com/en/content/12-terms-and-conditions-of-use
* International Registered Trademark & Property of PrestaShop SA
*}
<div id="psthemecusto">
<div class="panel col-lg-12">
<div class="panel-heading">
{l s='Advanced Customization' mod='ps_themecusto'}
</div>
<div class="row">
<div class="col-ld-12">
<p>{l s='You can edit your theme sheet by using the Parent/Child theme feature' mod='ps_themecusto'}:</p>
</div>
{if $isPsReady}
<div class="alert alert-warning" role="alert">
<b>{l s='Advanced use only.' mod='ps_themecusto'}</b>
<p class="alert-text">
{l s='Support team might not be able to assist you on issues created by your own child theme.' mod='ps_themecusto'}
</p>
</div>
{/if}
<div class="col-ld-12 steps">
<div class="col-lg-3">
<div class="col-lg-12 center-img">
<img src="{$images}download.png"/>
</div>
<b>1 - {l s='Download your current theme' mod='ps_themecusto'}</b>
<div class="col-lg-12">
<p>{l s='You picked a theme but still want to bring some specific adjustments? Get a child theme, it will allow you to keep the parts you want and customize the others!' mod='ps_themecusto'}</p>
</div>
</div>
<div class="col-lg-3 col-lg-push-1">
<div class="col-lg-12 center-img">
<img src="{$images}edit.png"/>
</div>
<b>2 - {l s='Edit your child theme' mod='ps_themecusto'}</b>
<div class="col-lg-12">
<p>{l s='Once the child theme created, next step is simple: apply the changes you want within the desired files, it will handle the customization part while keeping the parent themes look and functionality.' mod='ps_themecusto'}</p>
</div>
</div>
<div class="col-lg-3 col-lg-push-2">
<div class="col-lg-12 center-img">
<img src="{$images}reupload.png"/>
</div>
<b>3 - {l s='Upload your child theme' mod='ps_themecusto'}</b>
<div class="col-lg-12">
<p>{l s='As you only bring modification to the child theme, you can upgrade the parent theme easily, without losing your customization.' mod='ps_themecusto'}</p>
</div>
</div>
</div>
</div>
<div class="row row-buttons">
<div class="col-lg-3">
<div class="alert alert-danger download_child_theme_error" role="alert">
<b>{l s='An error occurred' mod='ps_themecusto'}</b>
<p class="alert-text">{l s='Please check that you have the rights to write to the folders /app/cache/ and /themes/' mod='ps_themecusto'}</p>
</div>
<div class="btn btn-primary btn-lg btn-block" rel="noopener" id="download_child_theme">
{l s='Download theme' mod='ps_themecusto'}
</div>
<div class="btn btn-primary btn-lg btn-block js-loader" rel="noopener" >
{l s='Downloading' mod='ps_themecusto'}<div class="loader"></div>
</div>
</div>
<div class="col-lg-3 col-lg-push-1">
<a href="https://devdocs.prestashop.com/1.7/themes/reference/template_inheritance/parent_child_feature/" class="link-child btn btn-outline-secondary btn-lg btn-block" rel="noopener" target="_blank">{l s='How to use parents/child themes' mod='ps_themecusto'} <i class="icon-external-link"></i></a>
</div>
<div class="col-lg-3 col-lg-push-2">
<a href="#" class="btn btn-primary btn-lg btn-block" rel="noopener" data-toggle="modal" data-target="#upload-child-modal" >{l s='Upload child theme' mod='ps_themecusto'}</a>
</div>
</div>
<div class="alert alert-info col-lg-12" role="alert">
<b>{l s='Information' mod='ps_themecusto'}</b>
{if $isPsReady}
<p class="alert-text">{l s='By using this method you can only override the CSS of your theme.' mod='ps_themecusto'}</p>
{else}
<p class="alert-text">{l s='By using this method you can override the CSS and html of your theme, and add analytics tags.' mod='ps_themecusto'}</p>
{/if}
<p class="alert-text">{l s='Once uploaded, the child theme will be available in your Theme & Logo section' mod='ps_themecusto'}</p>
</div>
{include file="./elem/modal.tpl"}
</div>
</div>

View File

@@ -0,0 +1,164 @@
<div id="{$idModal}Modal" class="modalCusto clearfix {$defaultModalClass}">
<div class="col-xl-4 col-lg-5 col-md-5 col-sm-6 col-xs-12">
{include file="./elem/wireframe_{$idModal}.tpl"}
</div>
<div class="col-xl-8 col-lg-7 col-md-7 col-sm-6 col-xs-12 sticky">
<div class="row">
<div class="col-xl-1 col-lg-1 col-md-0 col-sm-0"></div>
<div class="col-xl-11 col-lg-12 col-md-12 col-sm-12 col-xs-12 module-list">
{foreach from=$elementsList key=categoryname item=categories name=cat}
<div class="row configuration-rectangle">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 js-module-name js-title-{$categoryname}" data-module_name="{$categoryname}">
<span class="col-lg-11 col-sm-11 col-xs-11 col-md-11">
{$listCategories[$categoryname]}
</span>
<span class="col-lg-1 col-sm-1 col-xs-1 col-md-1 configuration-rectangle-caret">
<i class="material-icons down">keyboard_arrow_down</i>
<i class="material-icons up">keyboard_arrow_up</i>
</span>
</div>
{foreach from=$categories key=type item=elements}
{if $type == 'pages'}
{foreach from=$elements item=page}
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 module-informations">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="col-lg-1 col-md-1 col-sm-1 col-xs-1">
{if $page.name == 'AdminCategories'}
<img src="{$moduleImgUri}category_page_feature.png" class="img-fluid module-logo">
{else if $page.name == 'AdminCmsContent'}
<img src="{$moduleImgUri}cms_page_feature.png" class="img-fluid module-logo">
{else if $page.name == 'AdminAttributesGroups'}
<img src="{$moduleImgUri}manage_attributes_feature.png" class="img-fluid module-logo">
{else if $page.name == 'AdminManufacturers'}
<img src="{$moduleImgUri}brands_page_feature.png" class="img-fluid module-logo">
{else if $page.name == 'AdminProducts'}
<img src="{$moduleImgUri}manage_catalog_feature.png" class="img-fluid module-logo">
{else if $page.name == 'admin_product_catalog'}
<img src="{$moduleImgUri}manage_catalog_feature.png" class="img-fluid module-logo">
{else if $page.name == 'admin_stock_overview'}
<img src="{$moduleImgUri}display_stock_feature.png" class="img-fluid module-logo">
{else if $page.name == 'AdminStockManagement'}
<img src="{$moduleImgUri}display_stock_feature.png" class="img-fluid module-logo">
{else if $page.name == 'AdminStores'}
<img src="{$moduleImgUri}shop_ino_link_feature.png" class="img-fluid module-logo">
{else if $page.name == 'admin_product_preferences'}
<img src="{$moduleImgUri}display_product_feature.png" class="img-fluid module-logo">
{else}
<i class="icon-cogs"></i>
{/if}
</div>
<div class="col-lg-11 col-md-11 col-sm-11 col-xs-11">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<b>{$page.displayName}</b>
</div>
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-7 description">
{$page.description}
</div>
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-4 col-lg-offset-1 col-md-offset-1 col-sm-offset-1 col-xs-offset-1 general-action">
<a class="col-lg-12 col-md-12 col-sm-12 col-xs-12 no-radius-right btn btn-primary-reverse btn-outline-primary light-button" href="{$page.url}">
{l s='Configure' mod='ps_themecusto'}
</a>
</div>
</div>
</div>
</div>
{/foreach}
{else if $type == 'sfRoutePages'}
{foreach from=$elements item=page}
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 module-informations">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="col-lg-1 col-md-1 col-sm-1 col-xs-1">
{if $page.name == 'AdminCategories'}
<img src="{$moduleImgUri}category_page_feature.png" class="img-fluid module-logo">
{else if $page.name == 'AdminCmsContent'}
<img src="{$moduleImgUri}cms_page_feature.png" class="img-fluid module-logo">
{else if $page.name == 'AdminAttributesGroups'}
<img src="{$moduleImgUri}manage_attributes_feature.png" class="img-fluid module-logo">
{else if $page.name == 'AdminManufacturers'}
<img src="{$moduleImgUri}brands_page_feature.png" class="img-fluid module-logo">
{else if $page.name == 'admin_product_catalog'}
<img src="{$moduleImgUri}manage_catalog_feature.png" class="img-fluid module-logo">
{else if $page.name == 'admin_stock_overview'}
<img src="{$moduleImgUri}display_stock_feature.png" class="img-fluid module-logo">
{else if $page.name == 'AdminStores'}
<img src="{$moduleImgUri}shop_ino_link_feature.png" class="img-fluid module-logo">
{else if $page.name == 'admin_product_preferences'}
<img src="{$moduleImgUri}display_stock_feature.png" class="img-fluid module-logo">
{else}
<i class="icon-cogs"></i>
{/if}
</div>
<div class="col-lg-11 col-md-11 col-sm-11 col-xs-11">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<b>{$page.displayName}</b>
</div>
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-7 description">
{$page.description}
</div>
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-4 col-lg-offset-1 col-md-offset-1 col-sm-offset-1 col-xs-offset-1 general-action">
<a class="col-lg-12 col-md-12 col-sm-12 col-xs-12 no-radius-right btn btn-primary-reverse btn-outline-primary light-button" href="{$page.url}">
{l s='Configure' mod='ps_themecusto'}
</a>
</div>
</div>
</div>
</div>
{/foreach}
{else}
{foreach from=$elements item=module name=mods}
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 module-informations">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 ">
<div class="col-lg-1 col-md-1 col-sm-1 col-xs-1">
<img class="module-logo" src="{$ps_uri|cat:$module.logo}"/>
</div>
<div class="col-lg-11 col-md-11 col-sm-11 col-xs-11">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<b>{$module.displayName}</b>
</div>
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-7 description">
{$module.description}
</div>
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-4 col-lg-offset-1 col-md-offset-1 col-sm-offset-1 col-xs-offset-1">
{include file="./elem/module_actions.tpl"}
</div>
</div>
</div>
</div>
{/foreach}
{/if}
{foreachelse}
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 module-informations">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="col-lg-1 col-md-1 col-sm-1 col-xs-1">
<i class="material-icons hidden-xs">extension</i>
</div>
<div class="col-lg-11 col-md-11 col-sm-11 col-xs-11">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<b>{l s='There is no module for this section' mod='ps_themecusto'}</b>
</div>
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-7 description">
{l s='You can install a module for this section from our Modules Selection' mod='ps_themecusto'}
</div>
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-4 col-lg-offset-1 col-md-offset-1 col-sm-offset-1 col-xs-offset-1 general-action">
<a class="col-lg-12 col-md-12 col-sm-12 col-xs-12 no-radius-right btn btn-primary-reverse btn-outline-primary light-button" href="{$selectionModulePage}" >
{l s='See modules selection' mod='ps_themecusto'}
</a>
</div>
</div>
</div>
</div>
{/foreach}
</div>
{/foreach}
<div class="row">
<div class="col-lg-4 col-lg-offset-8">
<a class="btn btn-primary btn-lg btn-block" href="{$installedModulePage}#theme_modules">
{l s='See all theme\'s modules' mod='ps_themecusto'}
</a>
</div>
</div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,34 @@
<?php
/**
* 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
*/
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,52 @@
{*
* 2007-2018 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-2018 PrestaShop SA
* @license http://addons.prestashop.com/en/content/12-terms-and-conditions-of-use
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="modal fade" id="moduleActionModal" tabindex="-1" role="dialog" aria-labelledby="moduleActionModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="uninstall action_available modal-title" id="moduleActionlModalLongTitle">{l s='Uninstall module?' mod='ps_themecusto'}</h4>
<h4 class="disable action_available modal-title" id="moduleActionlModalLongTitle">{l s='Disable module?' mod='ps_themecusto'}</h4>
<h4 class="reset action_available modal-title" id="moduleActionlModalLongTitle">{l s='Reset module?' mod='ps_themecusto'}</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="uninstall action_available">
<p>{l s='You are about to uninstall' mod='ps_themecusto'} <span class="module-displayname" ></span></p>
<p>{l s='This will definitely disable the module.' mod='ps_themecusto'}</p>
</div>
<div class="disable action_available">
<p>{l s='You are about to disable ' mod='ps_themecusto'} <span class="module-displayname" ></span></p>
<p>{l s='Your current settings will be saved, but the module will no longer be active.' mod='ps_themecusto'}</p>
</div>
<div class="reset action_available">
<p>{l s='You are about to reset ' mod='ps_themecusto'} <span class="module-displayname" ></span></p>
<p>{l s='This will restore the defaults settings.' mod='ps_themecusto'}</p>
<p>{l s='This action cannot be undone.' mod='ps_themecusto'}</p>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">{l s='Cancel' mod='ps_themecusto'}</button>
<a class="btn btn-primary uppercase" href="#" data-dismiss="modal" data-action="false" data-name="false" data-deletion="true">
<span class="uninstall action_available">{l s='Yes, uninstall it' mod='ps_themecusto'}</span>
<span class="disable action_available">{l s='Yes, disable it' mod='ps_themecusto'}</span>
<span class="reset action_available">{l s='Yes, reset it' mod='ps_themecusto'}</span>
</a>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,95 @@
{*
* 2007-2018 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-2018 PrestaShop SA
* @license http://addons.prestashop.com/en/content/12-terms-and-conditions-of-use
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="loader src_loader_{$module.name}"></div>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 btn-group form-action-button-container src_parent_{$module.name}" data-id_module="{$module.id_module}" >
{if $module.url_active != 'install'}
<div class="col-lg-9 col-md-9 col-sm-9 col-xs-9 no-padding general-action" data-module_name="{$module.name}" data-action="{$module.url_active }" data-module_displayname="{$module.displayName}">
{if $module.url_active == 'configure'}
<a class="col-lg-12 col-md-12 col-sm-12 col-xs-12 no-radius-right btn btn-primary-reverse btn-outline-primary light-button module_action_menu_{$module.url_active}" href="{$module.actions_url.configure}">
{l s='Configure' mod='ps_themecusto'}
</a>
{elseif $module.url_active == 'disable' }
<button type="button" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 no-radius-right btn btn-primary-reverse btn-outline-primary light-button module_action_menu_{$module.url_active}" data-confirm_modal="module-modal-confirm-{$module.name}-{$module.url_active}" data-toggle="modal" data-target="#moduleActionModal">
{l s='Disable' mod='ps_themecusto'}
</button>
{else}
<button type="button" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 no-radius-right btn btn-primary-reverse btn-outline-primary light-button module_action_menu_{$module.url_active}" data-confirm_modal="module-modal-confirm-{$module.name}-{$module.url_active}" >
{l s='Enable' mod='ps_themecusto'}
</button>
{/if}
</div>
<input type="hidden" class="btn">
<button type="button" class="col-lg-3 col-md-3 col-sm-3 col-xs-3 btn btn-outline-primary dropdown-action" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="material-icons">keyboard_arrow_down</i>
</button>
<div class="dropdown-menu">
{foreach from=$moduleActions item=action key=key}
{if ($action != $module.url_active)
&& !($module.url_active eq 'configure' && $action eq 'enable')
&& !($module.url_active eq 'enable' && $action eq 'disable')
&& !($module.url_active eq 'disable' && $action eq 'enable')
&& !($module.url_active eq 'disable' && $action eq 'configure')
&& !(!$module.can_configure && $action eq 'configure')
&& !($action eq 'install')
&& !($action eq 'uninstall' && $isPsReady)
&& !($action eq 'install' && $isPsReady)
}
<li>
<div data-action="{$action}" data-module_name="{$module.name}" data-module_displayname="{$module.displayName}">
{if $action eq 'uninstall' || $action eq 'disable' || $action eq 'reset'}
<button type="button" class="dropdown-item module_action_menu_{$action}" data-confirm_modal="module-modal-confirm-{$module.name}-{$action}" data-toggle="modal" data-target="#moduleActionModal">
{if $action eq 'uninstall'}
{l s='Uninstall' mod='ps_themecusto'}
{elseif $action eq 'disable'}
{l s='Disable' mod='ps_themecusto'}
{elseif $action eq 'reset'}
{l s='Reset' mod='ps_themecusto'}
{/if}
</button>
{else if $action eq 'configure'}
<a class="dropdown-item module_action_menu_configure" href="{$module.actions_url.configure}">
{l s='Configure' mod='ps_themecusto'}
</a>
{else}
{if $action eq 'enable'}
<button type="button" class="dropdown-item module_action_menu_{$action}">
{l s='Enable' mod='ps_themecusto'}
</button>
{elseif ($module.enable_mobile eq 7 || $module.enable_mobile eq 1 || $module.enable_mobile eq 0) && $action eq 'disable_mobile'}
<button type="button" class="dropdown-item module_action_menu_{$action}">
{l s='Disable mobile' mod='ps_themecusto'}
</button>
{elseif ($module.enable_mobile eq 3 || $module.enable_mobile eq 0) && $action eq 'enable_mobile'}
<button type="button" class="dropdown-item module_action_menu_{$action}">
{l s='Enable mobile' mod='ps_themecusto'}
</button>
{/if}
{/if}
</div>
</li>
{/if}
{/foreach}
</div>
{else}
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 no-padding general-action" data-module_name="{$module.name}" data-action="{$module.url_active }" data-module_displayname="{$module.displayName}">
<button type="button" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 no-radius-right btn btn-primary-reverse btn-outline-primary light-button module_action_menu_{$module.url_active}" data-confirm_modal="module-modal-confirm-{$module.name}-{$module.url_active}" >
{l s='Install' mod='ps_themecusto'}
</button>
</div>
{/if}
</div>

View File

@@ -0,0 +1,56 @@
{*
* 2007-2018 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-2018 PrestaShop SA
* @license http://addons.prestashop.com/en/content/12-terms-and-conditions-of-use
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="row js-wireframe">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 js-img-menu" data-module_name="menu">
<img class="out-element" src="{$moduleImgUri}/wireframe/header.jpg"/>
<img class="hover-element" src="{$moduleImgUri}/wireframe/header-hover.jpg"/>
<img class="active-element" src="{$moduleImgUri}/wireframe/header-selected.jpg"/>
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 js-img-slider" data-module_name="slider">
<img class="out-element" src="{$moduleImgUri}/wireframe/slider.jpg"/>
<img class="hover-element" src="{$moduleImgUri}/wireframe/slider-hover.jpg"/>
<img class="active-element" src="{$moduleImgUri}/wireframe/slider-selected.jpg"/>
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 js-img-home_products" data-module_name="home_products">
<img class="out-element" src="{$moduleImgUri}/wireframe/home_products.jpg"/>
<img class="hover-element" src="{$moduleImgUri}/wireframe/home_products-hover.jpg"/>
<img class="active-element" src="{$moduleImgUri}/wireframe/home_products-selected.jpg"/>
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 js-img-block_text" data-module_name="block_text">
<img class="out-element" src="{$moduleImgUri}/wireframe/block_text.jpg"/>
<img class="hover-element" src="{$moduleImgUri}/wireframe/block_text-hover.jpg"/>
<img class="active-element" src="{$moduleImgUri}/wireframe/block_text-selected.jpg"/>
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 js-img-home_products" data-module_name="home_products">
<img class="out-element" src="{$moduleImgUri}/wireframe/home_products2.jpg"/>
<img class="hover-element" src="{$moduleImgUri}/wireframe/home_products2-hover.jpg"/>
<img class="active-element" src="{$moduleImgUri}/wireframe/home_products2-selected.jpg"/>
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 js-img-banner" data-module_name="banner">
<img class="out-element" src="{$moduleImgUri}/wireframe/banner.jpg"/>
<img class="hover-element" src="{$moduleImgUri}/wireframe/banner-hover.jpg"/>
<img class="active-element" src="{$moduleImgUri}/wireframe/banner-selected.jpg"/>
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 js-img-social_newsletter" data-module_name="social_newsletter">
<img class="out-element" src="{$moduleImgUri}/wireframe/newsletter.jpg"/>
<img class="hover-element" src="{$moduleImgUri}/wireframe/newsletter-hover.jpg"/>
<img class="active-element" src="{$moduleImgUri}/wireframe/newsletter-selected.jpg"/>
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 js-img-footer" data-module_name="footer">
<img class="out-element" src="{$moduleImgUri}/wireframe/footer.jpg"/>
<img class="active-element" src="{$moduleImgUri}/wireframe/footer_hover.jpg"/>
</div>
</div>

View File

@@ -0,0 +1,55 @@
{*
* 2007-2018 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-2018 PrestaShop SA
* @license http://addons.prestashop.com/en/content/12-terms-and-conditions-of-use
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="row no-gutter js-wireframe">
<div class="col-xs-12 js-img-menu" data-module_name="menu">
<img class="out-element" src="{$moduleImgUri}/wireframe/commons/header.jpg"/>
<img class="hover-element hide" src="{$moduleImgUri}/wireframe/commons/header-hover.jpg"/>
<img class="active-element hide" src="{$moduleImgUri}/wireframe/commons/header-selected.jpg"/>
</div>
<div class="col-xs-12">
<div class="row no-gutter">
<div class="col-xs-3 js-img-navigation_column" data-module_name="navigation_column">
<img class="out-element" src="{$moduleImgUri}/wireframe/category/navigation-column.jpg"/>
<img class="hover-element hide" src="{$moduleImgUri}/wireframe/category/navigation-column-hover.jpg"/>
<img class="active-element hide" src="{$moduleImgUri}/wireframe/category/navigation-column-selected.jpg"/>
</div>
<div class="col-xs-9">
<div class="row no-gutter">
<div class="col-xs-12 js-img-categories" data-module_name="categories">
<img class="out-element" src="{$moduleImgUri}/wireframe/category/category.jpg"/>
<img class="hover-element hide" src="{$moduleImgUri}/wireframe/category/category-hover.jpg"/>
<img class="active-element hide" src="{$moduleImgUri}/wireframe/category/category-selected.jpg"/>
</div>
<div class="col-xs-12 js-img-content" data-module_name="content">
<img class="out-element" src="{$moduleImgUri}/wireframe/category/content.jpg"/>
<img class="hover-element hide" src="{$moduleImgUri}/wireframe/category/content-hover.jpg"/>
<img class="active-element hide" src="{$moduleImgUri}/wireframe/category/content-selected.jpg"/>
</div>
</div>
</div>
</div>
</div>
<div class="col-xs-12 js-img-social_newsletter" data-module_name="social_newsletter">
<img class="out-element" src="{$moduleImgUri}/wireframe/commons/newsletter.jpg"/>
<img class="hover-element hide" src="{$moduleImgUri}/wireframe/commons/newsletter-hover.jpg"/>
<img class="active-element hide" src="{$moduleImgUri}/wireframe/commons/newsletter-selected.jpg"/>
</div>
<div class="col-xs-12 js-img-footer" data-module_name="footer">
<img class="out-element" src="{$moduleImgUri}/wireframe/commons/footer.jpg"/>
<img class="hover-element hide" src="{$moduleImgUri}/wireframe/commons/footer-hover.jpg"/>
<img class="active-element hide" src="{$moduleImgUri}/wireframe/commons/footer-selected.jpg"/>
</div>
</div>

View File

@@ -0,0 +1,57 @@
{*
* 2007-2018 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-2018 PrestaShop SA
* @license http://addons.prestashop.com/en/content/12-terms-and-conditions-of-use
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="row no-gutter js-wireframe">
<div class="col-xs-12 js-img-menu" data-module_name="menu">
<img class="out-element" src="{$moduleImgUri}/wireframe/commons/header.jpg"/>
<img class="hover-element hide" src="{$moduleImgUri}/wireframe/commons/header-hover.jpg"/>
<img class="active-element hide" src="{$moduleImgUri}/wireframe/commons/header-selected.jpg"/>
</div>
<div class="col-xs-12 js-img-slider" data-module_name="slider">
<img class="out-element" src="{$moduleImgUri}/wireframe/homepage/slider.jpg"/>
<img class="hover-element hide" src="{$moduleImgUri}/wireframe/homepage/slider-hover.jpg"/>
<img class="active-element hide" src="{$moduleImgUri}/wireframe/homepage/slider-selected.jpg"/>
</div>
<div class="col-xs-12 js-img-home_products" data-module_name="home_products">
<img class="out-element" src="{$moduleImgUri}/wireframe/homepage/home_products.jpg"/>
<img class="hover-element hide" src="{$moduleImgUri}/wireframe/homepage/home_products-hover.jpg"/>
<img class="active-element hide" src="{$moduleImgUri}/wireframe/homepage/home_products-selected.jpg"/>
</div>
<div class="col-xs-12 js-img-block_text" data-module_name="block_text">
<img class="out-element" src="{$moduleImgUri}/wireframe/homepage/block_text.jpg"/>
<img class="hover-element hide" src="{$moduleImgUri}/wireframe/homepage/block_text-hover.jpg"/>
<img class="active-element hide" src="{$moduleImgUri}/wireframe/homepage/block_text-selected.jpg"/>
</div>
<div class="col-xs-12 js-img-home_products" data-module_name="home_products">
<img class="out-element" src="{$moduleImgUri}/wireframe/homepage/home_products2.jpg"/>
<img class="hover-element hide" src="{$moduleImgUri}/wireframe/homepage/home_products2-hover.jpg"/>
<img class="active-element hide" src="{$moduleImgUri}/wireframe/homepage/home_products2-selected.jpg"/>
</div>
<div class="col-xs-12 js-img-banner" data-module_name="banner">
<img class="out-element" src="{$moduleImgUri}/wireframe/homepage/banner.jpg"/>
<img class="hover-element hide" src="{$moduleImgUri}/wireframe/homepage/banner-hover.jpg"/>
<img class="active-element hide" src="{$moduleImgUri}/wireframe/homepage/banner-selected.jpg"/>
</div>
<div class="col-xs-12 js-img-social_newsletter" data-module_name="social_newsletter">
<img class="out-element" src="{$moduleImgUri}/wireframe/commons/newsletter.jpg"/>
<img class="hover-element hide" src="{$moduleImgUri}/wireframe/commons/newsletter-hover.jpg"/>
<img class="active-element hide" src="{$moduleImgUri}/wireframe/commons/newsletter-selected.jpg"/>
</div>
<div class="col-xs-12 js-img-footer" data-module_name="footer">
<img class="out-element" src="{$moduleImgUri}/wireframe/commons/footer.jpg"/>
<img class="hover-element hide" src="{$moduleImgUri}/wireframe/commons/footer-hover.jpg"/>
<img class="active-element hide" src="{$moduleImgUri}/wireframe/commons/footer-selected.jpg"/>
</div>
</div>

View File

@@ -0,0 +1,47 @@
{*
* 2007-2018 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-2018 PrestaShop SA
* @license http://addons.prestashop.com/en/content/12-terms-and-conditions-of-use
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="row no-gutter js-wireframe">
<div class="col-xs-12 js-img-menu" data-module_name="menu">
<img class="out-element" src="{$moduleImgUri}/wireframe/commons/header.jpg"/>
<img class="hover-element hide" src="{$moduleImgUri}/wireframe/commons/header-hover.jpg"/>
<img class="active-element hide" src="{$moduleImgUri}/wireframe/commons/header-selected.jpg"/>
</div>
<div class="col-xs-12 js-img-product_management" data-module_name="product_management">
<img class="out-element" src="{$moduleImgUri}/wireframe/product/product_mgmt.jpg"/>
<img class="hover-element hide" src="{$moduleImgUri}/wireframe/product/product_mgmt-hover.jpg"/>
<img class="active-element hide" src="{$moduleImgUri}/wireframe/product/product_mgmt-selected.jpg"/>
</div>
<div class="col-xs-12 js-img-product_detail" data-module_name="product_detail">
<img class="out-element" src="{$moduleImgUri}/wireframe/product/product_detail.jpg"/>
<img class="hover-element hide" src="{$moduleImgUri}/wireframe/product/product_detail-hover.jpg"/>
<img class="active-element hide" src="{$moduleImgUri}/wireframe/product/product_detail-selected.jpg"/>
</div>
<div class="col-xs-12 js-img-product_block" data-module_name="product_block">
<img class="out-element" src="{$moduleImgUri}/wireframe/product/products_block.jpg"/>
<img class="hover-element hide" src="{$moduleImgUri}/wireframe/product/products_block-hover.jpg"/>
<img class="active-element hide" src="{$moduleImgUri}/wireframe/product/products_block-selected.jpg"/>
</div>
<div class="col-xs-12 js-img-social_newsletter" data-module_name="social_newsletter">
<img class="out-element" src="{$moduleImgUri}/wireframe/commons/newsletter.jpg"/>
<img class="hover-element hide" src="{$moduleImgUri}/wireframe/commons/newsletter-hover.jpg"/>
<img class="active-element hide" src="{$moduleImgUri}/wireframe/commons/newsletter-selected.jpg"/>
</div>
<div class="col-xs-12 js-img-footer" data-module_name="footer">
<img class="out-element" src="{$moduleImgUri}/wireframe/commons/footer.jpg"/>
<img class="hover-element hide" src="{$moduleImgUri}/wireframe/commons/footer-hover.jpg"/>
<img class="active-element hide" src="{$moduleImgUri}/wireframe/commons/footer-selected.jpg"/>
</div>
</div>

View File

@@ -0,0 +1,34 @@
<?php
/**
* 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
*/
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,35 @@
{*
* 2007-2018 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-2018 PrestaShop SA
* @license http://addons.prestashop.com/en/content/12-terms-and-conditions-of-use
* International Registered Trademark & Property of PrestaShop SA
*}
<div id="psthemecusto" class="container-fluid clearfix">
{if $isPsReady}
{include file="./ps_ready.tpl"}
{/if}
<div class="panel row">
<div class="panel-heading text-center">
<button class="btn btn-primary btn-lg selected" data-id-modal="homepageModal">{l s='Homepage' mod='ps_themecusto'}</button>
<button class="btn btn-primary btn-lg" data-id-modal="categoryModal">{l s='Category page' mod='ps_themecusto'}</button>
<button class="btn btn-primary btn-lg" data-id-modal="productModal">{l s='Product page' mod='ps_themecusto'}</button>
</div>
{include file="./dropdownList.tpl" elementsList=$homePageList idModal='homepage' defaultModalClass='' }
{include file="./dropdownList.tpl" elementsList=$categoryPageList idModal='category' defaultModalClass='hide'}
{include file="./dropdownList.tpl" elementsList=$productPageList idModal='product' defaultModalClass='hide'}
</div>
{include file="./elem/modal.tpl"}
</div>

View File

@@ -0,0 +1,21 @@
<div class="panel col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="panel-heading">
{l s='Change colors, typography and your logo position' mod='ps_themecusto'}
</div>
<div class="row">
<div class="col-lg-1 col-md-1 col-sm-1 col-xs-1">
<img src="{$iconConfiguration}"/>
</div>
<div class="col-lg-9 col-md-9 col-sm-9 col-xs-9">
<p>
{l s='Use the Theme configurator module to customize the main graphic elements of your website : colors, buttons, typography, logo position.' mod='ps_themecusto'}:
<br/>
</p>
</div>
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
<a href="{$themeConfiguratorUrl}" class="btn btn-primary btn-lg btn-block" rel="noopener">
{l s='Configure' mod='ps_themecusto'}
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,34 @@
<?php
/**
* 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
*/
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;