Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/socialservices/ |
Upload File : |
function BxShowAuthService(id, suffix) { var bxCurrentAuthId = ''; if(window['bxCurrentAuthId'+suffix]) bxCurrentAuthId = window['bxCurrentAuthId'+suffix]; BX('bx_auth_serv'+suffix).style.display = ''; if(bxCurrentAuthId != '' && bxCurrentAuthId != id) { BX('bx_auth_href_'+suffix+bxCurrentAuthId).className = ''; BX('bx_auth_serv_'+suffix+bxCurrentAuthId).style.display = 'none'; } BX('bx_auth_href_'+suffix+id).className = 'bx-ss-selected'; BX('bx_auth_href_'+suffix+id).blur(); BX('bx_auth_serv_'+suffix+id).style.display = ''; var el = BX.findChild(BX('bx_auth_serv_'+suffix+id), {'tag':'input', 'attribute':{'type':'text'}}, true); if(el) try{el.focus();}catch(e){} window['bxCurrentAuthId'+suffix] = id; if(document.forms['bx_auth_services'+suffix]) document.forms['bx_auth_services'+suffix].auth_service_id.value = id; else if(document.forms['bx_user_profile_form'+suffix]) document.forms['bx_user_profile_form'+suffix].auth_service_id.value = id; } var bxAuthWnd = false; function BxShowAuthFloat(id, suffix) { var bCreated = false; if(!bxAuthWnd) { bxAuthWnd = new BX.CDialog({ 'content':'<div id="bx_auth_float_container"></div>', 'width': 640, 'height': 400, 'resizable': false }); bCreated = true; } bxAuthWnd.Show(); if(bCreated) BX('bx_auth_float_container').appendChild(BX('bx_auth_float')); BxShowAuthService(id, suffix); }