1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-01 05:55:02 +03:00
ifhub.club/application/frontend/skin/developer/blocks/block.blogs.tpl
2014-10-14 23:01:45 +07:00

24 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.

{**
* Блок со списоком блогов
*
* @styles css/blocks.css
*}
{extends 'components/block/block.tpl'}
{block 'block_options' append}
{$mods = "{$mods} blogs nopadding"}
{$classes = "{$classes} js-block-default"}
{/block}
{block 'block_title'}
<a href="{router page='blogs'}">{lang 'blog.blocks.blogs.title'}</a>
{/block}
{block 'block_content'}
{include 'components/tabs/tabs.tpl' classes='js-tabs-block' tabs=[
[ 'text' => {lang 'blog.blocks.blogs.nav.top'}, 'url' => "{router page='ajax'}blogs/top", 'content' => $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 ]
]}
{/block}