Subida del módulo y tema de PrestaShop

This commit is contained in:
Kaloyan
2026-04-09 18:31:51 +02:00
parent 12c253296f
commit 16b3ff9424
39262 changed files with 7418797 additions and 0 deletions

View File

@@ -0,0 +1,80 @@
{**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* 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.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*}
{**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* 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.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*}
<script defer type="application/javascript" src="{$cdc_error_templating_url}"></script>
{if $cdc_script_not_found}
<script defer type="application/javascript" src="{$cdc_error_url}"></script>
{else}
<script defer type="application/javascript" src="{$cdc_url}"></script>
{/if}
{if isset($urlAccountsCdn)}
<script src="{$urlAccountsCdn}" rel=preload></script>
<script defer>
var psAccountLoaded = false;
if (window?.psaccountsVue) {
window?.psaccountsVue?.init();
psAccountLoaded = true;
}
</script>
{/if}
<script>
window.$(document).ready(function () {
window.mboDashboardContext = null;
if (typeof window.mboCdc == undefined || typeof window.mboCdc == "undefined") {
if (typeof renderCdcError === 'function') {
renderCdcError($('#cdc-tips-and-update-container'));
}
} else {
const renderTipsAndUpdate = window.mboCdc.renderDashboardTipsAndUpdate
window.mboDashboardContext = {$shop_context};
if (psAccountLoaded) {
window.mboDashboardContext.accounts_component_loaded = true;
}
renderTipsAndUpdate(window.mboDashboardContext, '#cdc-tips-and-update-container')
}
});
</script>
<prestashop-accounts style="display: none;"></prestashop-accounts>
<section id="cdc-tips-and-update-container" class="cdc-container" data-error-path="{$cdcErrorUrl}"></section>

View File

@@ -0,0 +1,41 @@
{**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* 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.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*}
<script>
window.$(document).ready(function () {
if (typeof window.mboCdc == undefined || typeof window.mboCdc == "undefined") {
if (typeof renderCdcError === 'function') {
renderCdcError($('#cdc-dashboard-news'));
}
} else {
const renderNews = window.mboCdc.renderDashboardNews
if (!window.mboDashboardContext) {
setTimeout(() => {
if (window.mboDashboardContext) {
renderNews(window.mboDashboardContext, '#cdc-dashboard-news')
}
},
1000)
} else {
renderNews(window.mboDashboardContext, '#cdc-dashboard-news')
}
}
});
</script>
<section id="cdc-dashboard-news" class="dash_news cdc-container" data-error-path="{$cdcErrorUrl}"></section>

View File

@@ -0,0 +1,28 @@
<?php
/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* 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.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*/
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,21 @@
{**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* 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.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*}
<div class="alert alert-info">
{$catchPhrase} <a href="{$linkTarget}" target="_blank">{$linkText}</a>
</div>

View File

@@ -0,0 +1,44 @@
{**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* 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.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*}
<script async type="application/javascript" src="{$cdc_error_templating_url}"></script>
{if $cdc_script_not_found}
<script async type="application/javascript" src="{$cdc_error_url}"></script>
{else}
<script async type="application/javascript" src="{$cdc_url}"></script>
{/if}
<script defer type="application/javascript" src="{$recommended_modules_js}"></script>
<link rel="stylesheet" href="{$recommended_modules_css}" type="text/css" media="all">
<script>
window.$(document).ready(function () {
if (undefined !== mbo) {
mbo.initialize({
translations: {
'Recommended Modules and Services': '{$recommendedModulesTitleTranslated|escape:'javascript':'UTF-8'}',
'Close': '{$recommendedModulesCloseTranslated|escape:'javascript':'UTF-8'}',
},
recommendedModulesUrl: '{$recommendedModulesUrl|escape:'javascript':'UTF-8'}',
shouldAttachRecommendedModulesAfterContent: {$shouldAttachRecommendedModulesAfterContent|intval},
shouldAttachRecommendedModulesButton: {$shouldAttachRecommendedModulesButton|intval},
shouldUseLegacyTheme: {$shouldUseLegacyTheme|intval},
});
}
});
</script>

View File

@@ -0,0 +1,44 @@
{**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* 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.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*}
<script defer type="application/javascript" src="{$cdc_error_templating_url}"></script>
{if isset($cdc_script_not_found) && $cdc_script_not_found}
<script defer type="application/javascript" src="{$cdc_error_url}"></script>
{else}
<script defer type="application/javascript" src="{$cdc_url}"></script>
{/if}
<script>
window.$(document).ready(function () {
$('#themes-logo-page > .card > .card-body > .row').append('<div id="cdc-explore-themes-catalog" class="col-lg-3 col-md-4 col-sm-6 theme-card-container cdc-container" data-error-path="{$cdcErrorUrl}"></div>')
if (typeof window.mboCdc == undefined || typeof window.mboCdc == "undefined") {
if (typeof renderCdcError === 'function') {
renderCdcError($('#cdc-explore-themes-catalog'));
}
} else {
const renderExploreThemesCatalog = window.mboCdc.renderExploreThemeCatalog
const exploreThemesCatalogContext = {$shop_context};
renderExploreThemesCatalog(exploreThemesCatalogContext, '#cdc-explore-themes-catalog')
}
});
</script>

View File

@@ -0,0 +1,28 @@
<?php
/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* 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.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*/
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,25 @@
{#**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* 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.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*#}
{% if moduleUrl is not empty and moduleName is not empty %}
<span class="mbo-module-read-more-grid">
<a class="mbo-module-read-more-list-btn url" id="see-more-{{ moduleName }}" href="{{ moduleUrl }}" target="_blank">
{{ 'Read More'|trans({}, 'Modules.Mbo.Modulescatalog') }}
</a>
</span>
{% endif %}

View File

@@ -0,0 +1,19 @@
{#**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* 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.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*#}
{{ 'Discover the best-selling modules of this category in the %link% page.' | trans({'%link%': '<a href="'~ categoryLink ~ '">'~categoryName~'</a>'}, 'Modules.Mbo.Modulescatalog') | raw }}

View File

@@ -0,0 +1,38 @@
{#**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* 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.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*#}
<script defer type="application/javascript" src="{{ cdc_error_templating_url }}"></script>
{% if cdc_script_not_found is defined and cdc_script_not_found is same as(true) %}
<script defer type="application/javascript" src="{{ cdc_error_url }}"></script>
{% else %}
<script defer type="application/javascript" src="{{ cdc_url }}"></script>
{% endif %}
<script>
window.$(document).ready(function () {
$('#main-div').prepend('<div class="module-manager-message-wrapper cdc-container" id="module-manager-message-cdc-container" data-error-path="{{ path('admin_mbo_module_cdc_error') }}"></div>')
if (typeof window.mboCdc !== undefined && typeof window.mboCdc !== "undefined") {
const renderModulesManagerMessage = window.mboCdc.renderModulesManagerMessage
const context = {{ shop_context|json_encode()|raw }};
renderModulesManagerMessage(context, '#module-manager-message-cdc-container')
}
});
</script>