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,27 @@
<div class="panel col-lg-12">
<fieldset>
<div class="panel-heading">Przykładowa galeria zdjęć dla znacznika &#123;gallery&#125;</div>
<p>Kod dodajemy w sekcji <b>&lt;style&gt;</b> w naszym szablonie</p>
{literal}
<textarea rows="15" cols="50" style="width:99%;">
.x13allegro_galeria a, .x13allegro_galeria a:hover { text-decoration: none; }
.x13allegro_galeria img { border: 0; margin: 0; padding: 0; }
.x13allegro_galeria { width: 740px; margin: auto;}
.x13allegro_galeria .x13allegro_container { width: 740px; position: relative; text-align: center; z-index: 1; }
.x13allegro_galeria .x13allegro_image_li{ margin: 0 6px 12px 0; display: inline-block; vertical-align: top; }
.x13allegro_galeria .a_thumb { border: 1px solid #eee; display: block; cursor: default; }
.x13allegro_galeria .a_thumb div{display:block; width: 130px; height: 130px; margin:2px; display: block; background-position: center center; background-size: contain; background-repeat: no-repeat; cursor: pointer;}
.x13allegro_galeria .a_thumb:hover { border:#666 1px solid; }
.x13allegro_galeria .x13allegro_zdj { height: 420px; width: 100%; }
.x13allegro_galeria .a_hidden { position: absolute; left: 0; top: 0; height: 420px; text-align: center; width: 740px; overflow: hidden; z-index: 1; background: #fff; display: block; cursor: default;}
.x13allegro_galeria .a_hidden img { border: none; max-width: 740px; max-height: 400px; }
.x13allegro_galeria .x13allegro_image_li:hover .a_hidden { z-index: 999;}
</textarea>
{/literal}
</fieldset>
</div>

View File

@@ -0,0 +1,25 @@
{extends file="helpers/form/form.tpl"}
{block name=input}
{if $input.type == 'new_content'}
<div class="bootstrap">
<div id="new_content"></div>
<textarea{if isset($input.readonly) && $input.readonly} readonly="readonly"{/if} name="{$input.name}" id="new_content_textarea" class="{if isset($input.autoload_rte) && $input.autoload_rte}rte autoload_rte{else}textarea-autosize{/if}{if isset($input.class)} {$input.class}{/if}"{if isset($input.maxlength) && $input.maxlength} maxlength="{$input.maxlength|intval}" data-maxchar="{$input.maxchar|intval}"{/if} style="display: none !important;">{$new_content|escape:'html':'UTF-8'}</textarea>
</div>
{else}
{$smarty.block.parent}
{/if}
{/block}
{block name="after"}
<div class="bootstrap">
<div class="new-content-block row">
{include file="../../variables.tpl" variables=$template_variables}
</div>
</div>
<script>
var additionalImages = '{$template_additional_images}';
var XAllegro = new X13Allegro();
XAllegro.templateForm();
</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,3 @@
<a href="{$href|escape:'html':'UTF-8'}" title="{$action|escape:'html':'UTF-8'}">
<i class="icon-copy"></i>&nbsp;{$action|escape:'html':'UTF-8'}
</a>

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,22 @@
<div class="panel col-lg-12">
<fieldset>
<div class="panel-heading">{l s='Dostępne znaczniki' mod='x13allegro'}</div>
<table class="table" cellspacing="0" cellpadding="0" style="margin: auto;">
<thead>
<tr>
<th>{l s='Znacznik' mod='x13allegro'}</th>
<th>{l s='Opis' mod='x13allegro'}</th>
</tr>
</thead>
<tbody>
{foreach $variables as $key => $value}
<tr class="{cycle values=",alt_row odd"}">
<td><span class="x13allegro_black">{literal}{{/literal}{$key}{literal}}{/literal}</span></td>
<td>{$value}</td>
</tr>
{/foreach}
</tbody>
</table>
</fieldset>
</div>