1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-05-07 03:18:20 +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}
{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 ],

View file

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

View file

@ -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'} ],
@ -25,7 +25,7 @@
{if $periodSelectCurrent}
{* Фильтр по времени *}
{$layoutNav[] = [
name => 'topics_sub_timespan',
hook => 'topics_sub_timespan',
activeItem => $periodSelectCurrent,
items => [
[

View file

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

View file

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

View file

@ -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 ],

View file

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