mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-08 01:14:24 +03:00
28 lines
833 B
Smarty
28 lines
833 B
Smarty
{**
|
|
* Список управляющих блога
|
|
*}
|
|
|
|
{extends 'components/block/block.tpl'}
|
|
|
|
{block 'block_title'}
|
|
{$aLang.blog.administrators}
|
|
{/block}
|
|
|
|
{block 'block_options' append}
|
|
{$mods = "{$mods} blog-admins"}
|
|
{/block}
|
|
|
|
{block '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}
|
|
{/block} |