1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-07 17:04:24 +03:00
ifhub.club/application/frontend/skin/developer/actions/ActionBlog/topic.tpl
2014-11-06 23:51:24 +07:00

30 lines
1 KiB
Smarty

{**
* Топик
*}
{extends 'layouts/layout.base.tpl'}
{block 'layout_content'}
{* Топик *}
{include 'components/topic/topic.tpl' topic=$oTopic}
{* Комментарии *}
{include 'components/comment/comments.tpl'
comments = $aComments
count = $oTopic->getCountComment()
classes = 'js-comments-topic'
attributes = [ 'id' => 'comments' ]
targetId = $oTopic->getId()
targetType = 'topic'
authorId = $oTopic->getUserId()
authorText = $aLang.topic.author
dateReadLast = $oTopic->getDateRead()
forbidAdd = $oTopic->getForbidComment()
forbidText = $aLang.topic.comments.notices.not_allowed
useSubscribe = true
isSubscribed = $oTopic->getSubscribeNewComment() && $oTopic->getSubscribeNewComment()->getStatus()
lastCommentId = $iMaxIdComment
pagination = $aPagingCmt
useVote = true
useFavourite = true}
{/block}