2014-07-07 13:50:14 +03:00
|
|
|
{**
|
|
|
|
* Стена / Запись (Пост / Комментарий)
|
|
|
|
*
|
|
|
|
* @param object $entry Комментарий
|
|
|
|
* @param boolean $showReply Показывать или нет кнопку комментирования
|
|
|
|
* @param string $classes Классы
|
|
|
|
*}
|
|
|
|
|
2014-11-14 16:54:24 +02:00
|
|
|
{$entry = $smarty.local.entry}
|
|
|
|
|
2014-07-07 13:50:14 +03:00
|
|
|
{include 'components/comment/comment.tpl'
|
2014-11-14 16:54:24 +02:00
|
|
|
comment = $entry
|
2014-11-09 16:19:58 +02:00
|
|
|
showReply = $smarty.local.showReply
|
2014-11-14 16:54:24 +02:00
|
|
|
attributes = [ 'data-type' => $smarty.local.type, 'data-user-id' => $entry->getUser()->getId() ]
|
2014-11-09 16:19:58 +02:00
|
|
|
classes = "wall-comment js-wall-entry {$smarty.local.classes}"}
|