22 lines
1.4 KiB
HTML
22 lines
1.4 KiB
HTML
|
{if ($smarty.session.dostup=='a')}
|
||
|
<div class="btn-group" style="max-width: 400px;">
|
||
|
{if ($smarty.const.MOD=='page')}
|
||
|
<button type="button" data-link="/page_edit/{$smarty.get.id|default:1}" class="btn btn-success" title="Редактировать" style="float:left;height: 35px;">
|
||
|
<i class="fas fa-edit"></i>
|
||
|
</button>
|
||
|
<button type="button" data-link="/pageprint/{$smarty.get.id|default:1}" class="btn btn-success" title="Распечатать" style="float:left;height: 35px;">
|
||
|
<i class="fa fa-print" aria-hidden="true"></i>
|
||
|
</button>
|
||
|
{/if}
|
||
|
<button type="button" data-link="/edit_php/{$smarty.const.MOD}" class="btn btn-success" title="Изменить алгоритм модуля" style="float:left;height: 35px;">
|
||
|
PHP</button>
|
||
|
<button type="button" data-link="/edit_html/{$smarty.const.MOD}" class="btn btn-success" title="Изменить шаблон модуля" style="float:left;height: 35px;">
|
||
|
HTML</button>
|
||
|
<button type="button" data-link="/edit_script/{$smarty.const.MOD}" class="btn btn-success" title="Изменить скрипт модуля" style="float:left;height: 35px;">
|
||
|
JS</button>
|
||
|
<button type="button" data-link="/edit_act/{$smarty.const.MOD}" class="btn btn-success" title="Изменить обработчик модуля" style="float:left;height: 35px;">
|
||
|
ACT</button>
|
||
|
<button type="button" data-link="/admin/" class="btn btn-success" style="float:left;height: 35px;">
|
||
|
Админка</button>
|
||
|
</div>
|
||
|
{/if}
|