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/block.stream_comment.tpl

16 lines
801 B
Smarty
Raw Normal View History

2009-05-08 23:24:43 +03:00
<ul class="stream-content">
{foreach from=$aComments item=oComment name="cmt"}
2010-02-08 04:10:30 +02:00
{assign var="oUser" value=$oComment->getUser()}
{assign var="oTopic" value=$oComment->getTarget()}
{assign var="oBlog" value=$oTopic->getBlog()}
2009-05-08 23:24:43 +03:00
<li>
2010-02-08 04:10:30 +02:00
<a href="{$oUser->getUserWebPath()}" class="stream-author">{$oUser->getLogin()}</a>&nbsp;&#8594;
<a href="{$oBlog->getUrlFull()}" class="stream-blog">{$oBlog->getTitle()|escape:'html'}</a>&nbsp;/
<a href="{$oTopic->getUrl()}#comment{$oComment->getId()}" class="stream-comment">{$oTopic->getTitle()|escape:'html'}</a>
<span>({$oTopic->getCountComment()})</span>
2009-05-08 23:24:43 +03:00
</li>
{/foreach}
2010-02-08 04:10:30 +02:00
</ul>
<div class="right"><a href="{router page='comments'}">{$aLang.block_stream_comments_all}</a> | <a href="{router page='rss'}allcomments/">RSS</a></div>