mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-05 07:54:24 +03:00
fix toolbar
This commit is contained in:
parent
aef361dc02
commit
c7fcbc713e
|
@ -80,7 +80,8 @@
|
||||||
{assign var=body_classes value=$body_classes|cat:' ls-user-role-not-admin'}
|
{assign var=body_classes value=$body_classes|cat:' ls-user-role-not-admin'}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
{add_block group='toolbar' name='toolbar_admin.tpl'}
|
||||||
|
{add_block group='toolbar' name='toolbar_scrollup.tpl'}
|
||||||
|
|
||||||
<body class="{$body_classes}">
|
<body class="{$body_classes}">
|
||||||
{hook run='body_begin'}
|
{hook run='body_begin'}
|
||||||
|
|
|
@ -1,13 +1,3 @@
|
||||||
<aside class="toolbar">
|
<aside class="toolbar">
|
||||||
{include file='blocks.tpl' group='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>
|
</aside>
|
7
templates/skin/developer-jquery/toolbar_admin.tpl
Normal file
7
templates/skin/developer-jquery/toolbar_admin.tpl
Normal 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}
|
Loading…
Reference in a new issue