mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-29 04:55:02 +03:00
Доработка компонента talk
This commit is contained in:
parent
8c70d17ed8
commit
1d8f168634
|
@ -9,7 +9,7 @@
|
||||||
* @author Denis Shakhov <denis.shakhov@gmail.com>
|
* @author Denis Shakhov <denis.shakhov@gmail.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.topic-type-talk { background: #fafafa; padding: 20px; margin-bottom: 0; }
|
.talk { background: #fafafa; padding: 20px; margin-bottom: 0; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Message user list
|
* Message user list
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
* Первое сообщение в диалоге
|
* Первое сообщение в диалоге
|
||||||
*}
|
*}
|
||||||
|
|
||||||
{extends 'components/article/article.tpl'}
|
{include 'components/article/article.tpl' article=$smarty.local.talk type='talk' classes='talk'}
|
|
@ -8,7 +8,7 @@
|
||||||
{$talk = $smarty.local.talk}
|
{$talk = $smarty.local.talk}
|
||||||
|
|
||||||
{* Первое сообщение *}
|
{* Первое сообщение *}
|
||||||
{include './talk-message-root.tpl' oEntry=$talk sEntryType='talk'}
|
{include './talk-message-root.tpl' talk=$talk}
|
||||||
|
|
||||||
{* Участники личного сообщения *}
|
{* Участники личного сообщения *}
|
||||||
{include './talk-users.tpl'}
|
{include './talk-users.tpl'}
|
||||||
|
@ -22,6 +22,5 @@
|
||||||
iCountComment = $talk->getCountComment()
|
iCountComment = $talk->getCountComment()
|
||||||
sDateReadLast = $talk->getTalkUser()->getDateLast()
|
sDateReadLast = $talk->getTalkUser()->getDateLast()
|
||||||
bForbidAdd = $bNoComments
|
bForbidAdd = $bNoComments
|
||||||
sNoticeCommentAdd = $aLang.topic_comment_add
|
|
||||||
sNoticeNotAllow = $aLang.talk.notices.deleted
|
sNoticeNotAllow = $aLang.talk.notices.deleted
|
||||||
bShowFavourite = false}
|
bShowFavourite = false}
|
Loading…
Reference in a new issue