1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-05 07:54:24 +03:00
ifhub.club/application/frontend/skin/developer/blocks/block.blogs.tpl
2014-10-06 22:58:14 +07:00

29 lines
1 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.

{**
* Блок со списоком блогов
*
* @styles css/blocks.css
*}
{extends 'components/block/block.tpl'}
{block 'block_options' append}
{$mods = "{$mods} blogs nopadding"}
{/block}
{block 'block_title'}
<a href="{router page='blogs'}">{lang 'blog.blocks.blogs.title'}</a>
{/block}
{block 'block_nav'}
{include 'components/nav/nav.tabs.tpl' sName='block_blogs' sActiveItem='top' sMods='pills' sClasses='js-block-nav' aItems=[
[ 'name' => 'top', 'url' => "{router page='ajax'}blogs/top", 'text' => {lang 'blog.blocks.blogs.nav.top'}, 'pane' => 'js-tab-pane-blogs' ],
[ 'name' => 'join', 'url' => "{router page='ajax'}blogs/join", 'text' => {lang 'blog.blocks.blogs.nav.joined'}, 'pane' => 'js-tab-pane-blogs', 'is_enabled' => !! $oUserCurrent ],
[ 'name' => 'self', 'url' => "{router page='ajax'}blogs/self", 'text' => {lang 'blog.blocks.blogs.nav.self'}, 'pane' => 'js-tab-pane-blogs', 'is_enabled' => !! $oUserCurrent ]
]}
{/block}
{block 'block_content'}
<div id="js-tab-pane-blogs">
{$sBlogsTop}
</div>
{/block}