mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-08 17:34:26 +03:00
22 lines
655 B
Smarty
22 lines
655 B
Smarty
{**
|
|
* Список комментариев
|
|
*
|
|
* @param array comments Комментарии
|
|
*
|
|
* TODO: Добавить путь до комментария
|
|
*}
|
|
|
|
{$component = 'ls-comment-list'}
|
|
|
|
<div class="{$component} {cmods name=$component mods=$smarty.local.mods} {$smarty.local.classes}" {cattr list=$smarty.local.attributes}>
|
|
{include './comment-tree.tpl'
|
|
comments = $smarty.local.comments
|
|
forbidAdd = true
|
|
maxLevel = 0
|
|
commentParams = [
|
|
useFavourite => true,
|
|
useEdit => false,
|
|
useVote => false,
|
|
useScroll => false
|
|
]}
|
|
</div> |