Пример кода<?
$getSections = CIBlockSection::GetList(
	false,
	[
		'IBLOCK_ID' => $arParams['IBLOCK_ID'],
		'ACTIVE' => 'Y',
	],
	false,
	[
		'ID',
		'IBLOCK_ID',
	],
	false
);
while ($section = $getSections->GetNext()) {
	$arButtons = CIBlock::GetPanelButtons(
		$section['IBLOCK_ID'],
		0,
		$section['ID']
	);
	$section['EDIT_LINK'] = $arButtons['edit']['edit_section']['ACTION_URL'];
	$section['DELETE_LINK'] = $arButtons['edit']['delete_section']['ACTION_URL'];
	$section['EDIT_LINK_TEXT'] = $arButtons['edit']['edit_section']['TEXT'];
	$section['DELETE_LINK_TEXT'] = $arButtons['edit']['delete_section']['TEXT'];
	$arResult['SECTIONS'][] = $section;
}
?>
<? foreach ($arResult['SECTIONS'] as $arSection) {
	$this->AddEditAction($arSection['ID'], $arSection['EDIT_LINK'], $arSection['EDIT_LINK_TEXT']);
	$this->AddDeleteAction($arSection['ID'], $arSection['DELETE_LINK'], $arSection['DELETE_LINK_TEXT'], array("CONFIRM" => GetMessage('CT_BNL_ELEMENT_DELETE_CONFIRM')));
	?>
	<div id="<?= $this->GetEditAreaID($arSection['ID']); ?>">