diff --git a/application/frontend/skin/developer/layouts/layout.blog.edit.tpl b/application/frontend/skin/developer/layouts/layout.blog.edit.tpl index 67f8c788..db81c6af 100644 --- a/application/frontend/skin/developer/layouts/layout.blog.edit.tpl +++ b/application/frontend/skin/developer/layouts/layout.blog.edit.tpl @@ -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 ], diff --git a/application/frontend/skin/developer/layouts/layout.index.tpl b/application/frontend/skin/developer/layouts/layout.index.tpl index d9140cdc..b85b8466 100644 --- a/application/frontend/skin/developer/layouts/layout.index.tpl +++ b/application/frontend/skin/developer/layouts/layout.index.tpl @@ -7,7 +7,7 @@ {block 'layout_options' prepend} {* Все / Лента *} {$layoutNav = [[ - name => 'topics', + hook => 'topics', activeItem => $sMenuItemSelect, showSingle => false, items => [ diff --git a/application/frontend/skin/developer/layouts/layout.topics.tpl b/application/frontend/skin/developer/layouts/layout.topics.tpl index 1565febc..eba3da46 100644 --- a/application/frontend/skin/developer/layouts/layout.topics.tpl +++ b/application/frontend/skin/developer/layouts/layout.topics.tpl @@ -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 => [ [ diff --git a/application/frontend/skin/developer/layouts/layout.user.created.tpl b/application/frontend/skin/developer/layouts/layout.user.created.tpl index 5e591f99..c21e0023 100644 --- a/application/frontend/skin/developer/layouts/layout.user.created.tpl +++ b/application/frontend/skin/developer/layouts/layout.user.created.tpl @@ -6,7 +6,7 @@ {block 'layout_options' append} {$layoutNav = [[ - name => 'profile_created', + hook => 'profile_created', hookParams => [ 'oUserProfile' => $oUserProfile ], activeItem => $sMenuSubItemSelect, items => [ diff --git a/application/frontend/skin/developer/layouts/layout.user.favourite.tpl b/application/frontend/skin/developer/layouts/layout.user.favourite.tpl index e2744487..1668fe56 100644 --- a/application/frontend/skin/developer/layouts/layout.user.favourite.tpl +++ b/application/frontend/skin/developer/layouts/layout.user.favourite.tpl @@ -6,7 +6,7 @@ {block 'layout_options' append} {$layoutNav = [[ - name => 'profile_created', + hook => 'profile_created', hookParams => [ 'oUserProfile' => $oUserProfile ], activeItem => $sMenuSubItemSelect, items => [ diff --git a/application/frontend/skin/developer/layouts/layout.user.messages.tpl b/application/frontend/skin/developer/layouts/layout.user.messages.tpl index 5d980384..6c2ac6d7 100644 --- a/application/frontend/skin/developer/layouts/layout.user.messages.tpl +++ b/application/frontend/skin/developer/layouts/layout.user.messages.tpl @@ -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 ], diff --git a/application/frontend/skin/developer/layouts/layout.user.settings.tpl b/application/frontend/skin/developer/layouts/layout.user.settings.tpl index 01c523ff..5b9c447a 100644 --- a/application/frontend/skin/developer/layouts/layout.user.settings.tpl +++ b/application/frontend/skin/developer/layouts/layout.user.settings.tpl @@ -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' ],