This commit is contained in:
2026-05-15 18:33:51 +02:00
parent 3601be572f
commit c980004309
8442 changed files with 783630 additions and 1 deletions

View File

@@ -0,0 +1,101 @@
<script language="javascript" type="text/javascript">urlStatic='{$urlStatic}';</script>
{if isset($obj)}
<input type="hidden" name="lang" value="{$lang}" />
{/if}
<input type="hidden" name="SaveArt" value="true" />
{assign var="additionalTitle" value=""}
<div style="display: block;">
{assign var=EditShortNote value=true}
{assign var=TitleShortNote value='Zajawka'}
{if $objModule->Getid() == 3 || $objModule->Getid() == 4}
{assign var=EditShortNote value=false}
{assign var=TitleShortNote value='Zajawka'}
{/if}
{dropDownContainer title=$TitleShortNote isClose=false isHidden=$EditShortNote}
<div class="articlePreviewRight">
{if isset($obj)}
{assign var='shortnote' value=$obj->GetShortnote()}
{else}
{assign var='shortnote' value=''}
{/if}
{insertCkEditor width='620' height='159' name='shortnote' toolbar='Basic' value=$shortnote}
{if isset($error.shortnote)}<div style="color: red;" id="actionError">{$error.shortnote}</div>{/if}
<div>
</div>
</div>
<div class="clearBoth"></div>
{/dropDownContainer}
</div>
{dropDownContainer title="Treść"}
<div class="center">
{if isset($obj)}
{assign var='description' value=$obj->GetDescription()}
{else}
{assign var='description' value=''}
{/if}
{insertCkEditor width='1020' height='480' name='description' toolbar='Formix' value=$description}
{if isset($error.description)}<div style="color: red;" id="actionError">{$error.description}</div>{/if}
</div>
{/dropDownContainer}
{*dropDownContainer title="Ustawienia"}
<table width="100%" cellspacing="0" cellpadding="5" border="0" class="frameTableForm tableContetntWhite">
<tbody>
<tr>
<td>Publikuj:</td>
<td>{formField type='checkbox' name='publication' obj='obj' func='GetPublication'}</td>
</tr>
<tr>
<td>Publikuj w języku</td>
<td>{formField type='checkbox' name='publikujWJezyku' obj='obj' func='GetLangPublication'}</td>
</tr>
<tr>
<td>Tagi:<br /><small>po przecinkach</small></td>
<td><input type="text" name="tagi" value="" /></td>
</tr>
</tbody>
</table>
{/dropDownContainer*}
{* TODO: sprawdzić czy można do wywyalić *}
{if $objModule->GetId() == 16 || 1==1}
{dropDownContainer title="Dodaj zdjecia" isHidden=true}
<iframe name="PhotoUpload" id="PhotoUpload" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" height="70" width="625" src="{url Image='Form'}">
<noscript>
Do wyświetlenia konieczne jest działanie ramek (iframe).
</noscript>
</iframe>
{/dropDownContainer}
{dropDownContainer title="Zdjecia" isHidden=true}
{if isset($arrayImage)}
<div >
{foreach from=$arrayImage item=image name=photo key=key}
<div id="image_{$image->GetId()}" style="float:left; height:185px; text-align: center; border:1px solid #000000; margin-right:5px; margin-bottom: 5px"><img src="{$image->GetFullUrlMiniId($obj->GetId())}" alt="test" />
<div>
<a href="#" onclick="DeletePhoto('{url Image=DeleteImage}', '{$image->GetId()}'); return false;"><img src="{$urlStatic}/image/Admin/iconDelete.gif" alt="Usuń" title="Usuń" border="0"/></a>
</div>
</div> {/foreach}
</div>
{/if}
<div name="PhotoDisplay" id="PhotoDisplay" class="PhotoDisplay">
{foreach from=$arrayPhoto item=file name=photo key=key}<div style="float:left; text-align: center; height:185px; border:1px solid #000000; margin-right:5px; margin-bottom: 5px"><img src="{$urlStatic}/temp/{$file.th}" alt="test" style="margin-bottom: 5px" /><br /><textarea name="image_description[{$key}]" rows="1" cols="11"></textarea></div> {/foreach}
</div>
<div class="clearBoth"></div>
{/dropDownContainer}
{/if}