1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
medialib_admin.php
См. документацию.
1<?
3{
4 function GetClassByID($icon_id)
5 {
6 if (mb_substr($icon_id, 0, 7) == 'btn_new')
7 return 'adm-btn-save adm-btn-add';
8 else
9 return parent::GetClassByID($icon_id);
10
11 return '';
12 }
13
14 function BeginRightBar()
15 {
16 ?><div><?
17 return false;
18 }
19
20 function Button($item, $hkInst)
21 {
22
23 if(isset($item['LEFT_FLOAT_BEGIN']) || isset($item['RIGHT_FLOAT_BEGIN']) || isset($item['FLOAT_END']))
24 {
25 if(isset($item['LEFT_FLOAT_BEGIN']) && $item['LEFT_FLOAT_BEGIN'] == true)
26 echo '<span class="ml-menu-float-left">';
27
28 if(isset($item['RIGHT_FLOAT_BEGIN']) && $item['RIGHT_FLOAT_BEGIN'] == true)
29 echo '<span class="ml-menu-float-right">';
30
31 if(isset($item['FLOAT_END']) && $item['FLOAT_END'] == true)
32 echo '</span>';
33
34 return true;
35 }
36
37
38 parent::Button($item, $hkInst);
39 }
40}
41?>
BeginRightBar()
Определения medialib_admin.php:14
GetClassByID($icon_id)
Определения medialib_admin.php:4
Button($item, $hkInst)
Определения medialib_admin.php:20