mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-04-25 21:49:23 +03:00
Хуки основной навигации
This commit is contained in:
parent
46df5f31d9
commit
9b58915949
|
@ -7,7 +7,7 @@
|
|||
{block 'layout_options' append}
|
||||
{if $sEvent != 'add'}
|
||||
{$layoutNav = [[
|
||||
name => 'blog_edit',
|
||||
hook => 'blog_edit',
|
||||
activeItem => $sMenuItemSelect,
|
||||
items => [
|
||||
[ 'name' => 'profile', 'url' => "{router page='blog'}edit/{$blogEdit->getId()}/", 'text' => $aLang.blog.admin.nav.profile ],
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
]}
|
||||
|
||||
{$layoutNav = [[
|
||||
name => 'content_form',
|
||||
hook => 'content_form',
|
||||
activeItem => $sMenuSubItemSelect,
|
||||
items => $_items
|
||||
]]}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
{block 'layout_options' prepend}
|
||||
{* Все / Лента *}
|
||||
{$layoutNav = [[
|
||||
name => 'topics',
|
||||
hook => 'topics',
|
||||
activeItem => $sMenuItemSelect,
|
||||
showSingle => true,
|
||||
items => [
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
{/if}
|
||||
|
||||
{$layoutNav[] = [
|
||||
name => 'topics_sub',
|
||||
hook => 'topics_sub',
|
||||
activeItem => $sMenuSubItemSelect,
|
||||
items => [
|
||||
[ 'name' => 'good', 'url' => $sNavTopicsSubUrl, 'text' => {lang name='blog.menu.all_good'} ],
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
{block 'layout_options' append}
|
||||
{$layoutNav = [[
|
||||
name => 'profile_created',
|
||||
hook => 'profile_created',
|
||||
hookParams => [ 'oUserProfile' => $oUserProfile ],
|
||||
activeItem => $sMenuSubItemSelect,
|
||||
items => [
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
{block 'layout_options' append}
|
||||
{$layoutNav = [[
|
||||
name => 'profile_created',
|
||||
hook => 'profile_created',
|
||||
hookParams => [ 'oUserProfile' => $oUserProfile ],
|
||||
activeItem => $sMenuSubItemSelect,
|
||||
items => [
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
{block 'layout_options' append}
|
||||
{$layoutNav = [[
|
||||
name => 'talk',
|
||||
hook => 'talk',
|
||||
activeItem => $sMenuSubItemSelect,
|
||||
items => [
|
||||
[ 'name' => 'inbox', 'url' => "{router page='talk'}", 'text' => $aLang.talk.nav.inbox ],
|
||||
|
|
Loading…
Reference in a new issue