17require_once(
$_SERVER[
'DOCUMENT_ROOT'] .
'/bitrix/modules/main/include/prolog_admin_before.php');
30if (
$USER->IsAuthorized())
32 $auth = (
$USER->CanDoOperation(
'view_subordinate_users') ||
$USER->CanDoOperation(
'view_all_users'));
35 if (ModuleManager::isModuleInstalled(
'intranet') && Loader::includeModule(
'socialnetwork'))
46 $rsUser = CUser::GetByID(
$ID);
47 $arUser = $rsUser->Fetch();
48 if (is_array($arUser))
52 $res = CUser::FormatName(CSite::GetNameFormat(), $arUser,
true, !
$getRawData);
62 $res =
'[' . $arUser[
'ID'] .
'] ' .
$res;
66 $res =
'[<a title="' .
GetMessage(
'MAIN_EDIT_USER_PROFILE') .
'" class="tablebodylink"'
67 .
' href="/bitrix/admin/user_edit.php?ID=' . $arUser[
'ID'] .
'&lang=' . LANGUAGE_ID .
'">'
68 . $arUser[
'ID'] .
'</a>] ' .
$res
78 header(
'Content-Type: application/json');
86 $strName = preg_replace(
87 "/[^a-z0-9_\\[\\]:]/i",
93if (window.parent.document.getElementById(
"div_<?=$strName?>"))
95 window.parent.document.getElementById(
"div_<?=$strName?>").innerHTML =
'<?=CUtil::JSEscape($res)?>';
100require_once(
$_SERVER[
'DOCUMENT_ROOT'] .
'/bitrix/modules/main/include/epilog_admin_after.php');
$_SERVER["DOCUMENT_ROOT"]
const NOT_CHECK_PERMISSIONS
htmlspecialcharsbx($string, $flags=ENT_COMPAT, $doubleEncode=true)
GetMessage($name, $aReplace=null)