fix templates field Image Mega
This commit is contained in:
@@ -34,7 +34,7 @@ $image.http Есть ли в ссылке http или https (true/false)
|
||||
{/if}
|
||||
{/if}
|
||||
<img src="{$image.url}" alt="{if isset($image.title) && $image.title != ''}{$image.title}{/if}" title="{if isset($image.title) && $image.title != ''}{$image.title}{/if}">
|
||||
{if isset($image.link)}
|
||||
{if isset($image.link) && $image.link != ''}
|
||||
</a>
|
||||
{/if}
|
||||
{if isset($image.description) && $image.description != ''}
|
||||
|
||||
@@ -34,12 +34,12 @@ $image.http Есть ли в ссылке http или https (true/false)
|
||||
{/if}
|
||||
{/if}
|
||||
<img src="{$image.url}" alt="{if isset($image.title) && $image.title != ''}{$image.title}{/if}" title="{if isset($image.title) && $image.title != ''}{$image.title}{/if}">
|
||||
{if isset($image.link)}
|
||||
{if isset($image.link) && $image.link != ''}
|
||||
</a>
|
||||
{/if}
|
||||
{if isset($image.description) && $image.description != ''}
|
||||
<p>
|
||||
{$image.description}
|
||||
{$image.description|html_entity_decode}
|
||||
</p>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user