1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-05-19 17:28:23 +03:00
ifhub.club/application/frontend/skin/synio/components/blog/blocks/block.blogs.tpl
2016-09-03 09:39:46 +07:00

22 lines
872 B
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.

{**
* Блок со списком блогов
*}
{capture 'block_footer'}
<a href="{router 'blogs'}">{lang 'synio.all_blogs'}</a>
{/capture}
{component 'block'
mods = 'blogs'
classes = 'blog-block-blogs js-block-default'
title = {lang 'blog.blocks.blogs.title'}
titleUrl = {router page='blogs'}
footer = $smarty.capture.block_footer
tabs = [
'classes' => 'js-tabs-block',
'tabs' => [
[ 'text' => {lang 'blog.blocks.blogs.nav.top'}, 'url' => "{router page='ajax'}blogs/top", 'list' => $sBlogsTop ],
[ 'text' => {lang 'blog.blocks.blogs.nav.joined'}, 'url' => "{router page='ajax'}blogs/join", 'is_enabled' => !! $oUserCurrent ],
[ 'text' => {lang 'blog.blocks.blogs.nav.self'}, 'url' => "{router page='ajax'}blogs/self", 'is_enabled' => !! $oUserCurrent ]
]
]}