2if(!defined(
"B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==
true)
die();
4$store_password = (COption::GetOptionString(
'security',
'otp_allow_remember') ===
'Y');
8<div
class=
"login-main-popup-wrap login-popup-wrap<?=$bNeedCaptcha?" login-captcha-popup-wrap
" : ""?>" id=
"otp">
9 <input type=
"hidden" name=
"TYPE" value=
"OTP">
10 <div
class=
"login-popup">
11 <div
class=
"login-popup-title"><?=
GetMessage(
'AUTH_TITLE')?></div>
12 <div
class=
"login-popup-title-description"><?=
GetMessage(
"AUTH_PLEASE_AUTH")?></div>
13 <div
class=
"login-popup-field">
14 <div
class=
"login-popup-field-title"><?=
GetMessage(
"AUTH_OTP_PASS")?></div>
15 <div
class=
"login-input-wrap">
16 <input type=
"text" class=
"login-input" onfocus=
"BX.addClass(this.parentNode, 'login-input-active')" onblur=
"BX.removeClass(this.parentNode, 'login-input-active')" name=
"USER_OTP" value=
"" tabindex=
"1" autocomplete=
"off">
17 <div
class=
"login-inp-border"></div>
19 <input type=
"submit" value=
"" class=
"login-btn-green" name=
"Login" tabindex=
"5" onfocus=
"BX.addClass(this, 'login-btn-green-hover');" onblur=
"BX.removeClass(this, 'login-btn-green-hover')">
20 <div
class=
"login-loading">
21 <img
class=
"login-waiter" alt=
"" src=
"/bitrix/panel/main/images/login-waiter.gif">
27 <div
class=
"login-popup-checbox-block">
28 <input type=
"checkbox" class=
"adm-designed-checkbox" id=
"OTP_REMEMBER" name=
"OTP_REMEMBER" value=
"Y" tabindex=
"3" onfocus=
"BX.addClass(this.nextSibling, 'login-popup-checkbox-label-active')" onblur=
"BX.removeClass(this.nextSibling, 'login-popup-checkbox-label-active')"><label
for=
"OTP_REMEMBER" class=
"adm-designed-checkbox-label"></label>
29 <label
for=
"OTP_REMEMBER" class=
"login-popup-checkbox-label"><?=
GetMessage(
"AUTH_OTP_REMEMBER_ME")?></label>
39 <input type=
"hidden" name=
"captcha_sid" value=
"<?=$CAPTCHA_CODE?>" />
40 <div
class=
"login-popup-field login-captcha-field">
41 <div
class=
"login-popup-field-title"><?=
GetMessage(
"AUTH_CAPTCHA_PROMT")?></div>
42 <div
class=
"login-input-wrap">
43 <span
class=
"login-captcha-wrap" id=
"captcha_image"><?
if(
$bNeedCaptcha):?><img src=
"/bitrix/tools/captcha.php?captcha_sid=<?=$CAPTCHA_CODE?>" width=
"180" height=
"40" alt=
"CAPTCHA" /><?
endif;?></span><input type=
"text" onfocus=
"BX.addClass(this.parentNode, 'login-input-active')" onblur=
"BX.removeClass(this.parentNode, 'login-input-active')" name=
"captcha_word" class=
"login-input" tabindex=
"4" autocomplete=
"off">
44 <div
class=
"login-inp-border"></div>
48if($not_show_links!=
"Y"):
50 <a
class=
"login-popup-link login-popup-forget-pas" href=
"javascript:void(0)" onclick=
"BX.adminLogin.toggleAuthForm('authorize')"><?=
GetMessage(
"AUTH_GOTO_AUTH_FORM_1")?></a>
57BX.adminLogin.registerForm(
new BX.authFormOtp(
'otp', {url:
'<?echo CUtil::JSEscape($authUrl.(($s=DeleteParam(array("logout", "login"))) == ""? "":"?".$s));?>'}));
static isCaptchaRequired()
hidden PROPERTY[<?=$propertyIndex?>][CODE]<?=htmlspecialcharsEx( $propertyCode)?> height
bx popup label bx width30 PAGE_NEW_MENU_NAME text width
GetMessage($name, $aReplace=null)