mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-01 05:55:02 +03:00
Хуки основной навигации
This commit is contained in:
parent
46df5f31d9
commit
9b58915949
|
@ -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 ],
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
]}
|
]}
|
||||||
|
|
||||||
{$layoutNav = [[
|
{$layoutNav = [[
|
||||||
name => 'content_form',
|
hook => 'content_form',
|
||||||
activeItem => $sMenuSubItemSelect,
|
activeItem => $sMenuSubItemSelect,
|
||||||
items => $_items
|
items => $_items
|
||||||
]]}
|
]]}
|
||||||
|
|
|
@ -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 => [
|
||||||
|
|
|
@ -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'} ],
|
||||||
|
|
|
@ -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 => [
|
||||||
|
|
|
@ -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 => [
|
||||||
|
|
|
@ -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 ],
|
||||||
|
|
Loading…
Reference in a new issue