1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-01 05:55:02 +03:00

Хуки основной навигации

This commit is contained in:
Gran 2017-09-22 18:26:28 +03:00
parent 46df5f31d9
commit 9b58915949
7 changed files with 7 additions and 7 deletions

View file

@ -7,7 +7,7 @@
{block 'layout_options' append} {block 'layout_options' append}
{if $sEvent != 'add'} {if $sEvent != 'add'}
{$layoutNav = [[ {$layoutNav = [[
name => 'blog_edit', hook => 'blog_edit',
activeItem => $sMenuItemSelect, activeItem => $sMenuItemSelect,
items => [ items => [
[ 'name' => 'profile', 'url' => "{router page='blog'}edit/{$blogEdit->getId()}/", 'text' => $aLang.blog.admin.nav.profile ], [ 'name' => 'profile', 'url' => "{router page='blog'}edit/{$blogEdit->getId()}/", 'text' => $aLang.blog.admin.nav.profile ],

View file

@ -32,7 +32,7 @@
]} ]}
{$layoutNav = [[ {$layoutNav = [[
name => 'content_form', hook => 'content_form',
activeItem => $sMenuSubItemSelect, activeItem => $sMenuSubItemSelect,
items => $_items items => $_items
]]} ]]}

View file

@ -7,7 +7,7 @@
{block 'layout_options' prepend} {block 'layout_options' prepend}
{* Все / Лента *} {* Все / Лента *}
{$layoutNav = [[ {$layoutNav = [[
name => 'topics', hook => 'topics',
activeItem => $sMenuItemSelect, activeItem => $sMenuItemSelect,
showSingle => true, showSingle => true,
items => [ items => [

View file

@ -12,7 +12,7 @@
{/if} {/if}
{$layoutNav[] = [ {$layoutNav[] = [
name => 'topics_sub', hook => 'topics_sub',
activeItem => $sMenuSubItemSelect, activeItem => $sMenuSubItemSelect,
items => [ items => [
[ 'name' => 'good', 'url' => $sNavTopicsSubUrl, 'text' => {lang name='blog.menu.all_good'} ], [ 'name' => 'good', 'url' => $sNavTopicsSubUrl, 'text' => {lang name='blog.menu.all_good'} ],

View file

@ -6,7 +6,7 @@
{block 'layout_options' append} {block 'layout_options' append}
{$layoutNav = [[ {$layoutNav = [[
name => 'profile_created', hook => 'profile_created',
hookParams => [ 'oUserProfile' => $oUserProfile ], hookParams => [ 'oUserProfile' => $oUserProfile ],
activeItem => $sMenuSubItemSelect, activeItem => $sMenuSubItemSelect,
items => [ items => [

View file

@ -6,7 +6,7 @@
{block 'layout_options' append} {block 'layout_options' append}
{$layoutNav = [[ {$layoutNav = [[
name => 'profile_created', hook => 'profile_created',
hookParams => [ 'oUserProfile' => $oUserProfile ], hookParams => [ 'oUserProfile' => $oUserProfile ],
activeItem => $sMenuSubItemSelect, activeItem => $sMenuSubItemSelect,
items => [ items => [

View file

@ -6,7 +6,7 @@
{block 'layout_options' append} {block 'layout_options' append}
{$layoutNav = [[ {$layoutNav = [[
name => 'talk', hook => 'talk',
activeItem => $sMenuSubItemSelect, activeItem => $sMenuSubItemSelect,
items => [ items => [
[ 'name' => 'inbox', 'url' => "{router page='talk'}", 'text' => $aLang.talk.nav.inbox ], [ 'name' => 'inbox', 'url' => "{router page='talk'}", 'text' => $aLang.talk.nav.inbox ],