1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-02 22:45:02 +03:00

fix toolbar

This commit is contained in:
Mzhelskiy Maxim 2012-04-20 14:58:51 +04:00
parent aef361dc02
commit c7fcbc713e
3 changed files with 9 additions and 11 deletions

View file

@ -80,7 +80,8 @@
{assign var=body_classes value=$body_classes|cat:' ls-user-role-not-admin'}
{/if}
{add_block group='toolbar' name='toolbar_admin.tpl'}
{add_block group='toolbar' name='toolbar_scrollup.tpl'}
<body class="{$body_classes}">
{hook run='body_begin'}

View file

@ -1,13 +1,3 @@
<aside class="toolbar">
{include file='blocks.tpl' group='toolbar'}
{if $oUserCurrent and $oUserCurrent->isAdministrator()}
<section class="toolbar-admin">
<a href="{router page='admin'}" title="{$aLang.admin_title}">
<i class="icon-cog"></i>
</a>
</section>
{/if}
{include file='toolbar_scrollup.tpl'}
</aside>

View file

@ -0,0 +1,7 @@
{if $oUserCurrent and $oUserCurrent->isAdministrator()}
<section class="toolbar-admin">
<a href="{router page='admin'}" title="{$aLang.admin_title}">
<i class="icon-cog"></i>
</a>
</section>
{/if}