3namespace Bitrix\UI\Form;
5use Bitrix\Main\Security\Sign\Signer;
6use Bitrix\Main\Web\Json;
7use Bitrix\Main\Security\Sign\BadSignatureException;
8use Bitrix\Main\Engine\CurrentUser;
16 private const SIGNED_PARAMS_SALT =
'EntityEditorConfigSigner';
20 $paramsToSign[
'userId'] = (int)CurrentUser::get()->getId();
21 $paramsToSign[
'configId'] = $this->configId;
23 return (
new Signer())->sign(Json::encode($paramsToSign), $this->getSalt());
32 if ((
$params[
'userId'] ?? 0) !== (
int)CurrentUser::get()->getId())
36 if ((
$params[
'configId'] ??
'') !== $this->configId)
51 private function getSalt(): string
53 return self::SIGNED_PARAMS_SALT;
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
if($inWords) echo htmlspecialcharsbx(Number2Word_Rus(roundEx($totalVatSum $params['CURRENCY']