update
This commit is contained in:
43
Admin/template/partial/Image/EditStructure.tpl
Normal file
43
Admin/template/partial/Image/EditStructure.tpl
Normal file
@@ -0,0 +1,43 @@
|
||||
|
||||
{dropDownContainer title=$moduleName|default:"Lista" icon=$moduleBoxConfg['files'] moduleBoxId=$moduleBoxId publish=$param.modulePublication}
|
||||
<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>
|
||||
{*<form action="{url Image=UploadImage}" method="post" enctype="multipart/form-data" >
|
||||
<input type="file" name="uploadfile" onchange="submit();" />
|
||||
|
||||
<label for="file-upload" class="custom-file-upload">
|
||||
Przeglądaj...
|
||||
</label>
|
||||
<span id="file-selected" class="fileSelected">...</span>
|
||||
<input name="uploadfile" id="file-upload" type="file" onchange="submit();"/>
|
||||
</form>*}
|
||||
<br />
|
||||
<form action="{url Image=SortImage}" method="post" enctype="multipart/form-data" >
|
||||
<div>
|
||||
{*{foreach from=$arrayPhoto item=image}
|
||||
<div style="float: left; margin-right: 5px; margin-bottom: 5px;" >
|
||||
<img src="{$urlStatic}/upload/Banner/111/{$image->GetPath()}"/>
|
||||
<div>
|
||||
Kolejność <input name="sort[{$image->GetId()}]" size="3" value="{$image->GetPosition()}" />
|
||||
<a href="{url Image=DeleteImageBanner reload=true photo=$image->GetId()}"><img src="{$urlStatic}/image/Admin/iconDelete.gif" alt="Usuń" title="Usuń" border="0"/></a>
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}*}
|
||||
{foreach from=$arrayImage item=image name=photo key=key}
|
||||
<div id="image_{$image->GetId()}" style="float:left; border:1px solid #000000; margin-right:5px; margin-bottom: 5px; position: relative; text-align: center;">
|
||||
<img src="{$image->GetFullUrlMiniId($idArticleStructureMain)}" alt="test" style="margin-bottom: 5px" />
|
||||
<br />
|
||||
<div style="position: absolute; top: 52px ;right: 2px; background: rgba(72, 137, 174, .7);">Kolejność <input name="image_sort[{$image->GetId()}]" size="3" value="{$image->getWeight()}" style="width: 25px;" /></div>
|
||||
<div style="position: absolute;top: 0;right: 2px;"><a class="optionIcon iconDelete" onclick="DeletePhoto('{url Image=DeleteImage}', '{$image->GetId()}'); return false;"> </a></div>
|
||||
<textarea name="image_description[{$image->GetId()}]" rows="1" cols="11">{$image->GetDescription()}</textarea>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
<div name="PhotoDisplay" id="PhotoDisplay" class="PhotoDisplay">
|
||||
|
||||
</div>
|
||||
<div class="clearBoth"></div>
|
||||
{/dropDownContainer}
|
||||
Reference in New Issue
Block a user