1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-26 03:30:48 +03:00
ifhub.club/application/frontend/components/blog/blocks/block.blog-admins.tpl

23 lines
794 B
Smarty

{**
* Список управляющих блога
*}
{capture 'block_content'}
{* Создатель *}
{component 'user' template='list-small' users=[ $blog->getOwner() ] title=$aLang.blog.owner}
{* Администраторы *}
{if count($blogAdministrators)}
{component 'user' template='list-small' users=$blogAdministrators title="{$aLang.blog.administrators} ({count($blogAdministrators)})"}
{/if}
{* Модераторы *}
{if count($blogModerators)}
{component 'user' template='list-small' users=$blogModerators title="{$aLang.blog.moderators} ({count($blogModerators)})"}
{/if}
{/capture}
{component 'block'
mods = 'blog-admins'
title = {lang 'blog.administrators'}
content = $smarty.capture.block_content}