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

16 lines
961 B
Smarty
Raw Normal View History

2009-01-10 21:11:09 +02:00
<ul class="stream-content">
{foreach from=$aComments item=oComment name="cmt"}
2009-06-23 20:06:19 +03:00
{assign var="oUser" value=$oComment->getUser()}
{assign var="oTopic" value=$oComment->getTarget()}
{assign var="oBlog" value=$oTopic->getBlog()}
2009-03-01 19:01:00 +02:00
<li {if $smarty.foreach.cmt.iteration % 2 == 1}class="even"{/if}>
2009-06-27 18:05:17 +03:00
<a href="{$oUser->getUserWebPath()}" class="stream-author">{$oUser->getLogin()}</a>&nbsp;&#8594;
2009-06-23 20:06:19 +03:00
<span class="stream-comment-icon"></span><a href="{$oTopic->getUrl()}#comment{$oComment->getId()}" class="stream-comment">{$oTopic->getTitle()|escape:'html'}</a>
<span> {$oTopic->getCountComment()}</span> в <a href="{$oBlog->getUrlFull()}" class="stream-blog">{$oBlog->getTitle()|escape:'html'}</a>
</li>
{/foreach}
2009-12-01 18:43:50 +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>