1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-05 07:54:24 +03:00
ifhub.club/application/frontend/skin/developer/components/item/item.tpl
2014-10-28 19:06:24 +07:00

25 lines
699 B
Smarty

{**
* Item
*}
{$component = 'item'}
{block 'options'}
{$image = $smarty.local.image}
{$classes = $smarty.local.classes}
{$mods = $smarty.local.mods}
{$content = $smarty.local.content}
{$title = $smarty.local.title}
{/block}
<li class="{$component} {$smarty.local.classes} {mod name=$component mods=$smarty.local.mods}" {$smarty.local.attributes}>
<img src="{$image[ 'path' ]}" alt="{$image[ 'alt' ]}" title="{$image[ 'title' ]}" class="{$component}-image {$image[ 'classes' ]}">
<div class="{$component}-content js-{$component}-content">
{if $title}
<h3 class="{$component}-title">{$title}</h3>
{/if}
{$content}
</div>
</li>