first commit

This commit is contained in:
2024-12-17 13:43:22 +01:00
commit 8e6cd8b410
21292 changed files with 3514826 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
{**
* 2019-2020 MDWeb
*
* @author MDWeb
* @copyright 2019-2020 MDWeb
* @license Commercial
*}
<div class="content-wrap panel">
<form id="configuration_form" class="defaultForm form-horizontal weglot" method="post" enctype="multipart/form-data" novalidate="">
<div class="form-group mdc_form_group">
<div class='mdc_container'>
<div class='mdc_left_block'>
<label class="control-label col-lg-1 mdc_label">
{l s="Clé API" mod="weglot"}
</label>
<div class="col-sm-7 col-md-5 col-lg-5">
<div class="form-group mdc_form_group">
<div class='col-sm-11'>
<input type="text" name="api_key" value="{$api_key|escape:'html_all':'utf-8'}">
<p>{l s='Sign up to [1]Weglot[/1] to get your API key' tags=['<a href="https://dashboard.weglot.com/register-prestashop" target="_blank">'] mod='weglot'}</p>
</div>
</div>
</div>
<div class="mdc_button_position">
<button type="submit" value="1" id="configuration_form_submit_btn" name="submitWeglotConfigure" class="button mdc_outline_button">
{l s='Save' mod='weglot'}
</button>
</div>
</div>
<div class='mdc_right_block'>
<span class='mdc_title'>{l s='Manage my translations' mod='weglot'}</span>
<span class='mdc_text'>{l s='To edit your translations and your integration of Weglot, go to your Weglot dashboard' mod='weglot'}</span>
<a href="https://dashboard.weglot.com" target="_blank" class="mdc_button">
{l s='Edit my translations' mod='weglot'}
</a>
</div>
</div>
</div>
</form>
</div>

View File

@@ -0,0 +1,35 @@
<?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;