Код |
---|
$GLOBALS["USER_FIELD_MANAGER"]->EditFormAddFields("IBLOCK_".$arParams["IBLOCK_ID"]."_SECTION", $arFields); |
Код |
---|
$arFields["UF_USER_ID"]["VALUE"] = $_SESSION["SESS_AUTH"]["USER_ID"]; $GLOBALS["USER_FIELD_MANAGER"]->EditFormAddFields("IBLOCK_".$arParams["IBLOCK_ID"]."_SECTION", $arFields); |