2013-06-19 16:32:58 +03:00
|
|
|
{**
|
|
|
|
* Топик
|
|
|
|
*}
|
|
|
|
|
2014-01-25 14:39:19 +02:00
|
|
|
{extends 'layouts/layout.base.tpl'}
|
2011-04-01 10:49:36 +03:00
|
|
|
|
2014-01-25 14:39:19 +02:00
|
|
|
{block 'layout_content'}
|
2014-06-11 11:58:32 +03:00
|
|
|
{* Топик *}
|
2014-07-28 19:55:18 +03:00
|
|
|
{include 'components/topic/topic.tpl' topic=$oTopic}
|
2014-06-11 11:58:32 +03:00
|
|
|
|
|
|
|
{* Комментарии *}
|
2014-06-13 09:34:12 +03:00
|
|
|
{include 'components/comment/comments.tpl'
|
2014-06-11 11:58:32 +03:00
|
|
|
sClasses = 'js-comments-topic'
|
2014-01-25 14:39:19 +02:00
|
|
|
iTargetId = $oTopic->getId()
|
|
|
|
iAuthorId = $oTopic->getUserId()
|
2014-06-11 11:58:32 +03:00
|
|
|
aComments = $aComments
|
2014-07-28 19:55:18 +03:00
|
|
|
sAuthorNotice = $aLang.topic.author
|
2014-01-25 14:39:19 +02:00
|
|
|
sTargetType = 'topic'
|
|
|
|
iCountComment = $oTopic->getCountComment()
|
|
|
|
sDateReadLast = $oTopic->getDateRead()
|
2014-06-11 11:58:32 +03:00
|
|
|
bForbidAdd = $oTopic->getForbidComment()
|
2014-07-28 19:55:18 +03:00
|
|
|
sNoticeNotAllow = $aLang.topic.comments.notices.not_allowed
|
2014-01-25 14:39:19 +02:00
|
|
|
bAllowSubscribe = true
|
|
|
|
oSubscribeComment = $oTopic->getSubscribeNewComment()
|
2014-06-11 11:58:32 +03:00
|
|
|
aPagingCmt = $aPagingCmt
|
|
|
|
bShowVote = true
|
|
|
|
bShowFavourite = true}
|
2013-06-08 10:05:37 +03:00
|
|
|
{/block}
|