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,7 @@
{**
* For the full copyright and license information, please view the
* docs/licenses/LICENSE.txt file that was distributed with this source code.
*}
<div id="statsContainer" class="col-md-9">
{include file="../../form_date_range_picker.tpl"}

View File

@@ -0,0 +1,49 @@
{**
* For the full copyright and license information, please view the
* docs/licenses/LICENSE.txt file that was distributed with this source code.
*}
{*
<form action="{$smarty.server.REQUEST_URI|escape}" method="post" id="settings_form" name="settings_form" class="form-horizontal">
<h3><i class="icon-cog"></i> {l s='Settings' d='Admin.Global'}</h3>
<div class="form-group">
<label for="engine_stats_render">{l s='Graph engine'} </label>
{if count($array_graph_engines)}
<select name="PS_STATS_RENDER" id="engine_stats_render">
{foreach $array_graph_engines as $k => $value}
<option value="{$k}" {if $k == $graph_engine}selected="selected"{/if}>{$value[0]}</option>
{/foreach}
</select>
{else}
{l s='No graph engine module has been installed.'}
{/if}
</div>
<div class="form-group">
<label for="engine_grid_render">{l s='Grid engine'} </label>
{if count($array_grid_engines)}
<select name="PS_STATS_GRID_RENDER" id="engine_grid_render">
{foreach $array_grid_engines as $k => $value}
<option value="{$k}" {if $k == $grid_engine}selected="selected"{/if}>{$value[0]}</option>
{/foreach}
</select>
{else}
{l s='No grid engine module has been installed.'}
{/if}
</div>
<div class="form-group">
<label for="engine_auto_clean">{l s='Auto-clean period'}</label>
<select name="PS_STATS_OLD_CONNECT_AUTO_CLEAN" id="engine_auto_clean">
{foreach $array_auto_clean as $k => $value}
<option value="{$k}" {if $k == $auto_clean}selected="selected"{/if}>{$value}</option>
{/foreach}
</select>
</div>
<p>
<input type="submit" value="{l s='Save' d='Admin.Actions'}" name="submitSettings" id="submitSettings" class="btn btn-default" />
</p>
</form>
*}

View File

@@ -0,0 +1,15 @@
<?php
/**
* For the full copyright and license information, please view the
* docs/licenses/LICENSE.txt file that was distributed with this source code.
*/
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,15 @@
<?php
/**
* For the full copyright and license information, please view the
* docs/licenses/LICENSE.txt file that was distributed with this source code.
*/
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,39 @@
{**
* For the full copyright and license information, please view the
* docs/licenses/LICENSE.txt file that was distributed with this source code.
*}
{extends file="helpers/view/view.tpl"}
{block name="override_tpl"}
<script type="text/javascript">
$(function() {
var btn_save_calendar = $('span[class~="process-icon-save-calendar"]').parent();
var btn_submit_calendar = $('#submitDatePicker');
if (btn_save_calendar.length > 0 && btn_submit_calendar.length > 0)
{
btn_submit_calendar.hide();
btn_save_calendar.on('click', function() {
btn_submit_calendar.before('<input type="hidden" name="'+btn_submit_calendar.attr("name")+'" value="1" />');
$('#calendar_form').submit();
});
}
var btn_save_settings = $('span[class~="process-icon-save-settings"]').parent();
var btn_submit_settings = $('#submitSettings');
if (btn_save_settings.length > 0 && btn_submit_settings.length > 0)
{
btn_submit_settings.hide();
btn_save_settings.on('click', function() {
btn_submit_settings.before('<input type="hidden" name="'+btn_submit_settings.attr("name")+'" value="1" />');
$('#settings_form').submit();
});
}
});
</script>
{/block}

View File

@@ -0,0 +1,15 @@
<?php
/**
* For the full copyright and license information, please view the
* docs/licenses/LICENSE.txt file that was distributed with this source code.
*/
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,18 @@
{**
* For the full copyright and license information, please view the
* docs/licenses/LICENSE.txt file that was distributed with this source code.
*}
<div id="container" class="row">
<div class="sidebar navigation col-md-3">
<nav class="list-group categorieList">
{if count($modules)}
{foreach $modules as $module}
{if $module_instance[$module.name]}
<a class="list-group-item{if ($current_module_name && $current_module_name == $module.name)} active{/if}" href="{$current|escape:'html':'UTF-8'}&amp;token={$token|escape:'html':'UTF-8'}&amp;module={$module.name}">{$module_instance[$module.name]->displayName}</a>
{/if}
{/foreach}
{else}
{l s='No module has been installed.' d='Admin.Notifications.Warning'}
{/if}
</nav>
</div>

View File

@@ -0,0 +1,18 @@
{**
* For the full copyright and license information, please view the
* docs/licenses/LICENSE.txt file that was distributed with this source code.
*}
<div class="panel">
{if $module_name}
{if $module_instance && $module_instance->active}
{$hook}
{else}
{l s='Module not found' d='Admin.Stats.Notification'}
{/if}
{else}
<h3 class="space">{l s='Please select a module from the left column.' d='Admin.Stats.Notification'}</h3>
{/if}
</div>
</div>
</div>