first commit

This commit is contained in:
2024-11-11 18:46:54 +01:00
commit a630d17338
25634 changed files with 4923715 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
{extends file="helpers/form/form.tpl"}
{$isModernLayout = version_compare($smarty.const._PS_VERSION_, '1.7.7.0', '>=')}
{block name="legend"}
{$smarty.block.parent}
<div class="clearfix">
<div class="form-wrapper">
<div class="{if $isModernLayout}col-lg-4{else}col-lg-3{/if}"></div>
<div class="{if $isModernLayout}col-lg-8{else}col-lg-9{/if}">
<div class="{if $isModernLayout}col-lg-4{else}col-lg-3{/if}"><h4>{l s='Przewoźnik w Twoim sklepie' mod='x13allegro'}</h4></div>
{if $f > 0}<div class="{if $isModernLayout}col-lg-4{else}col-lg-3{/if}"><h4>{l s='Operator numeru śledzenia w Allegro' mod='x13allegro'}</h4></div>{/if}
</div>
</div>
</div>
{/block}
{block name="input"}
{if $f > 0}
<div class="{if $isModernLayout}col-lg-4{else}col-lg-3{/if}">{$smarty.block.parent}</div>
<div class="{if $isModernLayout}col-lg-8{else}col-lg-9{/if}">
<select id="{if isset($input.id)}{$input.id}{else}{$input.name_operator}[id_operator]{/if}" class="fixed-width-xxl allegro-operator-select" name="{$input.name_operator|escape:'html':'utf-8'}[id_operator]">
{if isset($input.options_operators.default)}
<option value="{$input.options_operators.default.value|escape:'html':'utf-8'}">{$input.options_operators.default.label|escape:'html':'utf-8'}</option>
{/if}
{foreach $input.options_operators.query as $option}
{capture name='select_name'}{$input.name_operator}[id_operator]{/capture}
<option value="{$option.id|escape:'html':'utf-8'}" {if $fields_value[$smarty.capture.select_name] == $option.id}selected="selected"{/if}>{$option.name|escape:'html':'utf-8'}</option>
{/foreach}
</select>
<div class="allegro-operator-other" style="display: none;">
{capture name='input_name'}{$input.name_operator}[operator_name]{/capture}
<input type="text" id="{if isset($input.id)}{$input.id}{else}{$input.name_operator}[operator_name]{/if}" class="fixed-width-xxl" name="{$input.name_operator|escape:'html':'utf-8'}[operator_name]" value="{$fields_value[$smarty.capture.input_name]|escape:'html':'UTF-8'}">
<p class="help-block">{l s='Wybierając operatora "Inny" musisz podać jego nazwę' mod='x13allegro'}</p>
</div>
</div>
{else}
{$smarty.block.parent}
{/if}
{/block}
{block name="after"}
<script>
var XAllegro = new X13Allegro();
XAllegro.carriersForm();
</script>
{/block}

View File

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