mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-19 17:28:23 +03:00
Fix nav hooks
This commit is contained in:
parent
b823f49bf8
commit
e7ed273674
|
@ -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 ],
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
{block 'layout_options' prepend}
|
||||
{* Все / Лента *}
|
||||
{$layoutNav = [[
|
||||
name => 'topics',
|
||||
hook => 'topics',
|
||||
activeItem => $sMenuItemSelect,
|
||||
showSingle => false,
|
||||
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'} ],
|
||||
|
@ -25,7 +25,7 @@
|
|||
{if $periodSelectCurrent}
|
||||
{* Фильтр по времени *}
|
||||
{$layoutNav[] = [
|
||||
name => 'topics_sub_timespan',
|
||||
hook => 'topics_sub_timespan',
|
||||
activeItem => $periodSelectCurrent,
|
||||
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 => '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 ],
|
||||
|
|
|
@ -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' ],
|
||||
|
|
Loading…
Reference in a new issue