Initial commit

This commit is contained in:
2019-11-20 07:44:43 +01:00
commit 5bf49c4a81
41188 changed files with 5459177 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
<?php
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,59 @@
{*
* SiretProgram
*
* @author IXYCOM <contact@ixycom.com>
* @copyright 2012-2015 IXYCOM
* @license You are just allowed to modify this copy for your own use. You must not redistribute it. License is permitted for one Prestashop instance only but you can install it on your test instances.
*/
*}
{extends 'customer/page.tpl'}
{block name='page_title'}
{l s='SIRET Program' d='Shop.Module.Siretprogram'}
{/block}
{block name='page_content'}
{capture name=path}{l s='SIRET Program' mod='siretprogram'}{/capture}
{if $ok && isset($ok)}
<p class="alert alert-success">
{$ok|escape:'html':'UTF-8'}
{if $mode_manuel == 1 && $statut == 1}
{l s='Il sera vérifié prochainement.' mod='siretprogram'}
{/if}
{if $mode_manuel == 1 && $en_attente == 0}
{l s='Vous aurez rapidement accès à notre boutique.' mod='siretprogram'}
{/if}
</p>
{/if}
<form action="{$link->getModuleLink('siretprogram', 'actions', ['process' => 'submitSiret'], true)|escape:'html':'UTF-8'}" method="post" class="box">
<div class="form_content clearfix">
<p>{l s='Vous devez fournir votre numero SIRET pour bénéficier des avantages réservés aux professionnels.' mod='siretprogram'}</p>
{if $erreur != ''}
<div class="alert alert-danger" id="create_account_error">{$erreur|escape:'html':'UTF-8'}</div>
{/if}
<div class="form-group row ">
<label class="col-md-3 form-control-label " for="siret">
{l s='SIRET number' mod='siretprogram'}
</label>
<div class="col-md-6">
<input type="text" class="form-control" id="siret" name="siret" value="{if $siret && isset($siret)}{$siret|intval}{/if}">
</div>
<div class="col-md-3 form-control-comment">
</div>
</div>
<div class="submit">
<button class="btn btn-primary button form-control-submit pull-xs-right" type="submit" id="submitSiret" name="submitSiret">
{l s='Validate' mod='siretprogram'}
</button>
</div>
</div>
</form>
{/block}

View File

@@ -0,0 +1,23 @@
{*
* SiretProgram
*
* @author IXYCOM <contact@ixycom.com>
* @copyright 2012-2015 IXYCOM
* @license You are just allowed to modify this copy for your own use. You must not redistribute it. License is permitted for one Prestashop instance only but you can install it on your test instances.
*/
*}
<!-- MODULE siretprogram -->
<div class="form-group row ">
<label class="col-md-3 form-control-label {if $obligatoire == 1}required {/if}" for="siret">
{l s='Numéro SIRET' mod='siretprogram'}
</label>
<div class="col-md-6">
<input class="form-control" name="siret" type="text" id="siret" value {if $obligatoire == 1}required{/if}">
</div>
<div class="col-md-3 form-control-comment">
</div>
</div>
<!-- END : MODULE siretprogram -->

View File

@@ -0,0 +1,8 @@
<?php
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 @@
{*
* SiretProgram
*
* @author IXYCOM <contact@ixycom.com>
* @copyright 2012-2015 IXYCOM
* @license You are just allowed to modify this copy for your own use. You must not redistribute it. License is permitted for one Prestashop instance only but you can install it on your test instances.
*/
*}
<!-- MODULE siretprogram -->
<a class="col-lg-4 col-md-6 col-sm-6 col-xs-12 lnk_siret" id="lnk_siret" href="{$link->getModuleLink('siretprogram')|escape:'html':'UTF-8'}">
<span class="link-item">
<i class="material-icons"></i>
{l s='Fill my SIRET' mod='siretprogram'}
</span>
</a>
<!-- END : MODULE siretprogram -->

View File

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