1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-05-19 09:18:18 +03:00

Fix nav hooks

This commit is contained in:
Chiffa 2016-08-23 13:00:19 +05:00
parent b823f49bf8
commit e7ed273674
7 changed files with 8 additions and 8 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

@ -7,7 +7,7 @@
{block 'layout_options' prepend} {block 'layout_options' prepend}
{* Все / Лента *} {* Все / Лента *}
{$layoutNav = [[ {$layoutNav = [[
name => 'topics', hook => 'topics',
activeItem => $sMenuItemSelect, activeItem => $sMenuItemSelect,
showSingle => false, showSingle => false,
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'} ],
@ -25,7 +25,7 @@
{if $periodSelectCurrent} {if $periodSelectCurrent}
{* Фильтр по времени *} {* Фильтр по времени *}
{$layoutNav[] = [ {$layoutNav[] = [
name => 'topics_sub_timespan', hook => 'topics_sub_timespan',
activeItem => $periodSelectCurrent, activeItem => $periodSelectCurrent,
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 => '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 ],

View file

@ -6,7 +6,7 @@
{block 'layout_options' append} {block 'layout_options' append}
{$layoutNav = [[ {$layoutNav = [[
name => 'settings', hook => 'settings',
activeItem => $sMenuSubItemSelect, activeItem => $sMenuSubItemSelect,
items => [ items => [
[ 'url' => "{router page='settings'}profile/", 'text' => {lang name='user.settings.nav.profile'}, 'name' => 'profile' ], [ 'url' => "{router page='settings'}profile/", 'text' => {lang name='user.settings.nav.profile'}, 'name' => 'profile' ],