mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-07 17:04:24 +03:00
35 lines
926 B
Smarty
35 lines
926 B
Smarty
{**
|
|
* Список блогов
|
|
*
|
|
* @param array $blogs
|
|
* @param integer $searchCount
|
|
* @param array $paging
|
|
*}
|
|
|
|
{extends 'layouts/layout.base.tpl'}
|
|
|
|
{block 'layout_options' append}
|
|
{$sMenuHeadItemSelect = 'blogs'}
|
|
{/block}
|
|
|
|
{block 'layout_page_title'}
|
|
{$aLang.blog.blogs}
|
|
{/block}
|
|
|
|
{block 'layout_content'}
|
|
{component 'blog' template='search-form'}
|
|
|
|
{* Сортировка *}
|
|
{component 'sort' template='ajax'
|
|
classes = 'js-search-sort js-search-sort-menu'
|
|
text = $aLang.blog.sort.by_users
|
|
items = [
|
|
[ name => 'blog_count_user', text => $aLang.blog.sort.by_users ],
|
|
[ name => 'blog_count_topic', text => $aLang.blog.sort.by_topics ],
|
|
[ name => 'blog_title', text => $aLang.sort.by_title ]
|
|
]}
|
|
|
|
<div class="js-search-ajax-blog">
|
|
{component 'blog' template='list' blogs=$blogs useMore=true}
|
|
</div>
|
|
{/block} |