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

fix sidebar and change mail fix #707

This commit is contained in:
Mzhelskiy Maxim 2015-09-02 16:40:59 +07:00
parent c57923d618
commit eabc4ce419
3 changed files with 7 additions and 4 deletions

View file

@ -6,6 +6,7 @@
{block 'layout_options' append}
{$layoutShowSystemMessages = false}
{$layoutShowSidebar = false}
{/block}
{block 'layout_content'}

View file

@ -10,6 +10,6 @@
'user_name' => $oUser->getDisplayName(),
'mail_old' => $oChangemail->getMailFrom(),
'mail_new' => $oChangemail->getMailTo(),
'change_url' => "{router page='profile'}changemail/confirm-to/{$oChangemail->getCodeFrom()}/"
'change_url' => "{router page='profile'}changemail/confirm-to/{$oChangemail->getCodeTo()}/"
]}
{/block}

View file

@ -20,10 +20,12 @@
{block 'layout_head' append}
{* Получаем блоки для вывода в сайдбаре *}
{show_blocks group='right' assign=layoutSidebarBlocks}
{if $layoutShowSidebar}
{show_blocks group='right' assign=layoutSidebarBlocks}
{$layoutSidebarBlocks = trim( $layoutSidebarBlocks )}
{$layoutShowSidebar = !!$layoutSidebarBlocks && $layoutShowSidebar}
{$layoutSidebarBlocks = trim( $layoutSidebarBlocks )}
{$layoutShowSidebar = !!$layoutSidebarBlocks}
{/if}
<script>
ls.lang.load({json var = $aLangJs});