mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-07 17:04:24 +03:00
15 lines
548 B
Smarty
15 lines
548 B
Smarty
{if $aTargetItems}
|
|
{foreach $aTargetItems as $oTarget}
|
|
<p class="mb-20">
|
|
<a href="#" class="button" onclick="ls.media.removePreviewFile({$oTarget->getMediaId()}); return false;">Удалить превью</a>
|
|
</p>
|
|
|
|
{$aPreview = $oTarget->getPreviewImageItemsWebPath()}
|
|
|
|
{foreach $aPreview as $sPreviewFile}
|
|
<img src="{$sPreviewFile}" alt=""><br>
|
|
{/foreach}
|
|
{/foreach}
|
|
{else}
|
|
Превью можно <a href="#" onclick="jQuery('.js-tab-show-gallery').first().click(); return false;">выбрать из галереи</a>.
|
|
{/if} |