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