Добавить в init.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
AddEventHandler("socialnetwork", "OnFillSocNetMenu", Array("MySocNetHandler", "AddSocNetMenu")); class MySocNetHandler { public static function AddSocNetMenu(&$arResult) { global $USER; if ($USER->GetID() != XXX) { return; } // Достуна для показа $arResult["CanView"]["bizproc"] = true; // Ссылка закладки $arResult["Urls"]["bizproc"] = $arResult["Urls"]["Main"]."bizproc/"; // Название закладки $arResult["Title"]["bizproc"] = "Бизнес-процессы"; } } ?> |