1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-16 21:34:25 +03:00
ifhub.club/application/frontend/skin/developer/actions/ActionBlog/topic.tpl

28 lines
879 B
Smarty
Raw Normal View History

{**
* Топик
*}
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-07-28 19:55:18 +03:00
{include 'components/topic/topic.tpl' topic=$oTopic}
{* Комментарии *}
{include 'components/comment/comments.tpl'
sClasses = 'js-comments-topic'
2014-01-25 14:39:19 +02:00
iTargetId = $oTopic->getId()
iAuthorId = $oTopic->getUserId()
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()
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()
aPagingCmt = $aPagingCmt
bShowVote = true
bShowFavourite = true}
{/block}