diff --git a/application/frontend/skin/developer/assets/css/messages.css b/application/frontend/skin/developer/assets/css/messages.css index 3c3015fe..5eb08fa7 100644 --- a/application/frontend/skin/developer/assets/css/messages.css +++ b/application/frontend/skin/developer/assets/css/messages.css @@ -9,7 +9,7 @@ * @author Denis Shakhov */ -.topic-type-talk { background: #fafafa; padding: 20px; margin-bottom: 0; } +.talk { background: #fafafa; padding: 20px; margin-bottom: 0; } /** * Message user list diff --git a/application/frontend/skin/developer/components/talk/talk-message-root.tpl b/application/frontend/skin/developer/components/talk/talk-message-root.tpl index e69384cf..ccf476ec 100644 --- a/application/frontend/skin/developer/components/talk/talk-message-root.tpl +++ b/application/frontend/skin/developer/components/talk/talk-message-root.tpl @@ -2,4 +2,4 @@ * Первое сообщение в диалоге *} -{extends 'components/article/article.tpl'} \ No newline at end of file +{include 'components/article/article.tpl' article=$smarty.local.talk type='talk' classes='talk'} \ No newline at end of file diff --git a/application/frontend/skin/developer/components/talk/talk.tpl b/application/frontend/skin/developer/components/talk/talk.tpl index c17f624c..fa603dff 100644 --- a/application/frontend/skin/developer/components/talk/talk.tpl +++ b/application/frontend/skin/developer/components/talk/talk.tpl @@ -8,7 +8,7 @@ {$talk = $smarty.local.talk} {* Первое сообщение *} -{include './talk-message-root.tpl' oEntry=$talk sEntryType='talk'} +{include './talk-message-root.tpl' talk=$talk} {* Участники личного сообщения *} {include './talk-users.tpl'} @@ -22,6 +22,5 @@ iCountComment = $talk->getCountComment() sDateReadLast = $talk->getTalkUser()->getDateLast() bForbidAdd = $bNoComments - sNoticeCommentAdd = $aLang.topic_comment_add sNoticeNotAllow = $aLang.talk.notices.deleted bShowFavourite = false} \ No newline at end of file