From e4be8c34858e0e12baf2c0ad667762213d922bad Mon Sep 17 00:00:00 2001 From: Mzhelskiy Maxim Date: Mon, 20 Feb 2017 13:28:59 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BE=D1=80=D0=B0=D1=87=D0=B8?= =?UTF-8?q?=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20=D0=B3=D0=BB=D0=B0=D0=B2=D0=BD?= =?UTF-8?q?=D0=BE=D0=B3=D0=BE=20=D0=BC=D0=B5=D0=BD=D1=8E=20=D0=B2=20=D0=B1?= =?UTF-8?q?=D0=BB=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../skin/developer/layouts/layout.base.tpl | 14 ++++++++------ .../skin/synio/components/userbar/userbar.tpl | 14 ++++++++------ 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/application/frontend/skin/developer/layouts/layout.base.tpl b/application/frontend/skin/developer/layouts/layout.base.tpl index 63dde54f..ffcdec69 100644 --- a/application/frontend/skin/developer/layouts/layout.base.tpl +++ b/application/frontend/skin/developer/layouts/layout.base.tpl @@ -76,12 +76,14 @@ * Основная навигация *} diff --git a/application/frontend/skin/synio/components/userbar/userbar.tpl b/application/frontend/skin/synio/components/userbar/userbar.tpl index c0d4a1a1..28dced8a 100644 --- a/application/frontend/skin/synio/components/userbar/userbar.tpl +++ b/application/frontend/skin/synio/components/userbar/userbar.tpl @@ -9,12 +9,14 @@ {* Главное меню *} - {component 'nav' hook='main' activeItem=$sMenuHeadItemSelect classes='ls-userbar-nav' items=[ - [ 'text' => $aLang.topic.topics, 'url' => {router page='/'}, 'name' => 'blog' ], - [ 'text' => $aLang.blog.blogs, 'url' => {router page='blogs'}, 'name' => 'blogs' ], - [ 'text' => $aLang.user.users, 'url' => {router page='people'}, 'name' => 'people' ], - [ 'text' => $aLang.activity.title, 'url' => {router page='stream'}, 'name' => 'stream' ] - ]} + {block 'nav_main'} + {component 'nav' hook='main' activeItem=$sMenuHeadItemSelect classes='ls-userbar-nav' items=[ + [ 'text' => $aLang.topic.topics, 'url' => {router page='/'}, 'name' => 'blog' ], + [ 'text' => $aLang.blog.blogs, 'url' => {router page='blogs'}, 'name' => 'blogs' ], + [ 'text' => $aLang.user.users, 'url' => {router page='people'}, 'name' => 'people' ], + [ 'text' => $aLang.activity.title, 'url' => {router page='stream'}, 'name' => 'stream' ] + ]} + {/block} {if $oUserCurrent}