mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-08 01:14:24 +03:00
12 lines
291 B
Smarty
12 lines
291 B
Smarty
{**
|
|
* Тулбар
|
|
* Кнопка перехода в админку
|
|
*}
|
|
|
|
{if $oUserCurrent && $oUserCurrent->isAdministrator()}
|
|
{component 'toolbar.item'
|
|
icon='cog'
|
|
url={router 'admin'}
|
|
attributes=[ 'title' => {lang 'admin.title'} ]
|
|
mods='admin'}
|
|
{/if} |