1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-08 09:24:25 +03:00
ifhub.club/templates/skin/developer-jquery/topic_part_header.tpl

39 lines
1.2 KiB
Smarty

{assign var="oBlog" value=$oTopic->getBlog()}
{assign var="oUser" value=$oTopic->getUser()}
{assign var="oVote" value=$oTopic->getVote()}
<article class="topic topic-type-{$oTopic->getType()} js-topic">
<header class="topic-header">
<h1 class="topic-title">
{if $oTopic->getPublish() == 0}
<i class="icon-tag" title="{$aLang.topic_unpublish}"></i>
{/if}
{if $oTopic->getType() == 'link'}
<i class="icon-share-alt" title="{$aLang.topic_link}"></i>
{/if}
{if $bTopicList}
<a href="{$oTopic->getUrl()}">{$oTopic->getTitle()|escape:'html'}</a>
{else}
{$oTopic->getTitle()|escape:'html'}
{/if}
</h1>
{if $oTopic->getType() == 'link'}
<div class="topic-url">
<a href="{router page='link'}go/{$oTopic->getId()}/" title="{$aLang.topic_link_count_jump}: {$oTopic->getLinkCountJump()}">{$oTopic->getLinkUrl()}</a>
</div>
{/if}
<div class="topic-info">
<a href="{$oBlog->getUrlFull()}" class="topic-blog">{$oBlog->getTitle()|escape:'html'}</a>
<time datetime="{date_format date=$oTopic->getDateAdd() format='c'}" pubdate title="{date_format date=$oTopic->getDateAdd() format='j F Y, H:i'}">
{date_format date=$oTopic->getDateAdd() format="j F Y, H:i"}
</time>
</div>
</header>