mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-07 17:04:24 +03:00
28 lines
879 B
Smarty
28 lines
879 B
Smarty
{**
|
|
* Топик
|
|
*}
|
|
|
|
{extends 'layouts/layout.base.tpl'}
|
|
|
|
{block 'layout_content'}
|
|
{* Топик *}
|
|
{include 'components/topic/topic.tpl' topic=$oTopic}
|
|
|
|
{* Комментарии *}
|
|
{include 'components/comment/comments.tpl'
|
|
sClasses = 'js-comments-topic'
|
|
iTargetId = $oTopic->getId()
|
|
iAuthorId = $oTopic->getUserId()
|
|
aComments = $aComments
|
|
sAuthorNotice = $aLang.topic.author
|
|
sTargetType = 'topic'
|
|
iCountComment = $oTopic->getCountComment()
|
|
sDateReadLast = $oTopic->getDateRead()
|
|
bForbidAdd = $oTopic->getForbidComment()
|
|
sNoticeNotAllow = $aLang.topic.comments.notices.not_allowed
|
|
bAllowSubscribe = true
|
|
oSubscribeComment = $oTopic->getSubscribeNewComment()
|
|
aPagingCmt = $aPagingCmt
|
|
bShowVote = true
|
|
bShowFavourite = true}
|
|
{/block} |