1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-07 17:04:24 +03:00
ifhub.club/application/frontend/skin/developer/actions/ActionBlog/blog.tpl

41 lines
1.5 KiB
Smarty
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{**
* Блог
*
* @param object $blog Блог
* @param boolean $isPrivateBlog Закрытый блог или нет
* @param array $topics Список топиков
* @param array $paging Пагинация
* @param string $periodSelectCurrent
* @param string $periodSelectRoot
* @param array $blogUsers Читатели блога
* @param array $blogModerators Модераторы блога
* @param array $blogAdministrators Администраторы блога
* @param integer $countBlogUsers Кол-во читателей
* @param integer $countBlogModerators Кол-во модераторов
* @param integer $countBlogAdministrators Кол-во администраторов
*}
{extends 'layouts/layout.base.tpl'}
{block 'layout_options' append}
{$sNav = 'topics.sub'}
{/block}
{block 'layout_content_header'}
{component 'blog' blog=$blog}
{$smarty.block.parent}
{* Сообщение для забаненного пользователя *}
{* TODO: Вывод сообщения о бане *}
{if false}
{component 'alert' text=$aLang.blog.alerts.banned mods='error'}
{/if}
{* Список топиков *}
{if $isPrivateBlog}
{component 'alert' text=$aLang.blog.alerts.private mods='error'}
{else}
{component 'topic' template='list' topics=$topics paging=$paging}
{/if}
{/block}