Файл: base-sys/base/decorators/mini_ipc.html
Строк: 29
<?php
{* `mini IPC` decorator template *}
{style}
{literal}
.peep_mini_ipc_toolbar span{
display:inline-block;
}
{/literal}
{/style}
<div class="peep_mini_ipc peep_smallmargin {if !empty($data.addClass)}{$data.addClass}{/if} clearfix">
<div class="peep_mini_ipc_picture">
{if !empty($data.avatar)}
{decorator name='avatar_item' src=$data.avatar.src title=$data.avatar.title}
{else}
<img src="{$data.imageSrc}" alt="{$data.imageTitle}" title="{$data.imageTitle}" />
{/if}
</div>
<div class="peep_mini_ipc_info">
<div class="peep_mini_ipc_header"><a href="{$data.profileUrl}" class="mipc_url">{$data.displayName}</a>
<div class="peep_mini_ipc_content">{$data.content}</div>
{if !empty($data.date) || !empty($data.toolbar)}
<div class="clearfix">
<div class="peep_mini_ipc_toolbar peep_remark peep_tiny">
<span class="peep_nowrap">{$data.date}</span>{if !empty($data.toolbar)} ·{/if}
{if !empty($data.toolbar)}
{foreach from=$data.toolbar item='item' name='toolbar'}
{if !$smarty.foreach.toolbar.first} <span class="peep_delimiter">·</span> {/if}
<span class="peep_nowrap{if !empty($item.class)} {$item.class}{/if}">
{if isset($item.href)}<a{if isset($item.id)} id="{$item.id}"{/if} href="{$item.href}">{/if}
{$item.label}
{if isset($item.href)}</a>{/if}
</span>
{/foreach}
{/if}
</div>
</div>
{/if}
</div>
</div>
?>