first commit

This commit is contained in:
2025-01-06 20:47:25 +01:00
commit 3bdbd78c2f
25591 changed files with 3586440 additions and 0 deletions

View File

@@ -0,0 +1,89 @@
{**
* 2007-2018 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:
* https://opensource.org/licenses/OSL-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.
*
* 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 https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file="helpers/form/form.tpl"}
{block name="input"}
{if $input.type == 'special'}
<div id="#resultCheckLangPack">
<p id="lang_pack_loading" style="display:none"><img src="../img/admin/{$input.img}" alt="" /> {$input.text}</p>
<p id="lang_pack_msg" style="display:none"></p>
</div>
{else}
{$smarty.block.parent}
{/if}
{/block}
{block name=script}
var langPackOk = "<img src=\"{$smarty.const._PS_IMG_}admin/information.png\" alt=\"\" /> {l s='A language pack is available for this ISO.' d='Admin.International.Notification'}";
var langPackVersion = "{l s='The Prestashop version compatible with this language and your system is:' d='Admin.International.Notification'}";
var langPackInfo = "{l s='After creating the language, you can import the content of the language pack, which you can download under "International -- Translations."' d='Admin.International.Notification'}";
var noLangPack = "<img src=\"{$smarty.const._PS_IMG_}admin/information.png\" alt=\"\" /> {l s='No language pack is available on prestashop.com for this ISO code' d='Admin.International.Notification'}";
var download = "{l s='Download' d='Admin.Actions'}";
$(document).ready(function() {
$('#iso_code').keyup(function(e) {
e.preventDefault();
checkLangPack("{$token|escape:'html':'UTF-8'}");
});
});
{/block}
{block name="other_fieldsets"}
{if isset($fields['new'])}
<br /><br />
<div class="panel" style="width:572px;">
{foreach $fields['new'] as $key => $field}
{if $key == 'legend'}
<legend>
{if isset($field.image)}<img src="{$field.image}" alt="{$field.title}" />{/if}
{$field.title}
</legend>
<p>{l s='This language pack is NOT complete and cannot be used in the front or back office because some files are missing.' d='Admin.International.Notification'}</p>
<br />
{elseif $key == 'list_files'}
{foreach $field as $list}
<label>{$list.label}</label>
<div class="margin-form" style="margin-top:4px;">
{foreach $list.files as $key => $file}
{if !file_exists($key)}
<font color="red">
{/if}
{$key}
{if !file_exists($key)}
</font>
{/if}
<br />
{/foreach}
</div>
<br style="clear:both;" />
{/foreach}
{/if}
{/foreach}
<br />
<div class="small">{l s='Missing files are marked in red' d='Admin.International.Help'}</div>
</div>
{/if}
{/block}

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2018 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:
* https://opensource.org/licenses/OSL-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.
*
* 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 https://opensource.org/licenses/OSL-3.0 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;