1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-17 13:54:26 +03:00
ifhub.club/application/frontend/skin/developer/components/talk/talk.tpl

27 lines
755 B
Smarty

{**
* Диалог
*
* @param object $talk
* @param array $comments
*}
{$talk = $smarty.local.talk}
{* Первое сообщение *}
{include './talk-message-root.tpl' talk=$talk}
{if ! $bNoComments}
{* Участники личного сообщения *}
{include './talk-users.tpl'}
{* Вывод комментариев к сообщению *}
{include 'components/comment/comments.tpl'
sClasses = 'js-comments-talk'
iTargetId = $talk->getId()
sTargetType = 'talk'
aComments = $smarty.local.comments
iCountComment = $talk->getCountComment()
sDateReadLast = $talk->getTalkUser()->getDateLast()
sNoticeNotAllow = $aLang.talk.notices.deleted
bShowFavourite = false}
{/if}