mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-05 16:04:24 +03:00
18 lines
457 B
Smarty
18 lines
457 B
Smarty
{**
|
|
* Тулбар
|
|
* Кнопка перехода в админку
|
|
*
|
|
* @styles css/toolbar.css
|
|
* @scripts js/livestreet/toolbar.js
|
|
*}
|
|
|
|
{extends 'components/toolbar/toolbar.item.tpl'}
|
|
|
|
{block 'toolbar_item_options' append}
|
|
{$_mods = 'admin'}
|
|
{$_bShow = $oUserCurrent and $oUserCurrent->isAdministrator()}
|
|
{/block}
|
|
|
|
{block 'toolbar_item'}
|
|
{toolbar_item_icon sUrl="{router page='admin'}" sTitle="{lang name='admin.title'}" sIcon="icon-cog"}
|
|
{/block} |