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,97 @@
{**
* 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 Open Software License (OSL 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/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 https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
*}
<div class="modal-body">
{if $add_permission eq '1'}
{if !isset($logged_on_addons) || !$logged_on_addons}
{if $check_url_fopen eq 'ko' OR $check_openssl eq 'ko'}
<div class="alert alert-warning">
{l s='If you want to be able to fully use the AdminModules panel and have free modules available, you should enable the following configuration on your server:'}
<br />
{if $check_url_fopen eq 'ko'}- {l s='Enable PHP\'s allow_url_fopen setting'}<br />{/if}
{if $check_openssl eq 'ko'}- {l s='Enable PHP\'s OpenSSL extension'}<br />{/if}
</div>
{else}
<!--start addons login-->
<form id="addons_login_form" method="post" >
<div>
<a href="{$addons_register_link|escape:'html':'UTF-8'}"><img class="img-responsive center-block" src="{$img_base_path}themes/default/img/prestashop-addons-logo.png" alt="Logo PrestaShop Addons"/></a>
<h3 class="text-center">{l s="Connect your shop to PrestaShop's marketplace in order to automatically import all your Addons purchases."}</h3>
<hr />
</div>
<div class="row">
<div class="col-md-6">
<h4>{l s="Don't have an account?"}</h4>
<p class='text-justify'>{l s="Discover the Power of PrestaShop Addons! Explore the PrestaShop Official Marketplace and find over 3 500 innovative modules and themes that optimize conversion rates, increase traffic, build customer loyalty and maximize your productivity"}</p>
</div>
<div class="col-md-6">
<h4>{l s='Connect to PrestaShop Addons'}</h4>
<div class="form-group">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="icon-user"></i></span>
</div>
<input id="username_addons" name="username_addons" type="text" value="" autocomplete="off" class="form-control ac_input">
</div>
</div>
<div class="form-group">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="icon-key"></i></span>
</div>
<input id="password_addons" name="password_addons" type="password" value="" autocomplete="off" class="form-control ac_input">
</div>
<a class="btn btn-link float-right _blank" href="{$addons_forgot_password_link}">{l s='I forgot my password'}</a>
<br>
</div>
</div>
</div>
<div class="row row-padding-top">
<div class="col-md-6">
<div class="form-group">
<a class="btn btn-default btn-block btn-lg _blank" href="{$addons_register_link|escape:'html':'UTF-8'}">
{l s="Create an Account"}
<i class="icon-external-link"></i>
</a>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<button id="addons_login_button" class="btn btn-primary btn-block btn-lg" type="submit">
<i class="icon-unlock"></i> {l s='Sign in'}
</button>
</div>
</div>
</div>
<div id="addons_loading" class="help-block"></div>
</form>
<!--end addons login-->
{/if}
{/if}
{/if}
</div>