mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-07 17:04:24 +03:00
15 lines
589 B
Smarty
15 lines
589 B
Smarty
{**
|
|
* Стена / Запись (Пост / Комментарий)
|
|
*
|
|
* @param object $entry Комментарий
|
|
* @param boolean $showReply Показывать или нет кнопку комментирования
|
|
* @param string $classes Классы
|
|
*}
|
|
|
|
{$entry = $smarty.local.entry}
|
|
|
|
{include 'components/comment/comment.tpl'
|
|
comment = $entry
|
|
showReply = $smarty.local.showReply
|
|
attributes = [ 'data-type' => $smarty.local.type, 'data-user-id' => $entry->getUser()->getId() ]
|
|
classes = "wall-comment js-wall-entry {$smarty.local.classes}"} |