Current Path : /home/bitrix/ext_www/klimatlend.ua/bitrix/js/b24connector/ |
Current File : /home/bitrix/ext_www/klimatlend.ua/bitrix/js/b24connector/connector.min.js |
BX.namespace("BX.B24Connector");BX.B24Connector={showPortalChoosingDialog:function(t,e){var n=new BX.CDialog({content:BX.B24Connector.createDialogContent(t,e),width:530,height:500,draggable:true,resizable:true,title:BX.message("B24C_PB_CHOOSE_PORTAL"),buttons:[BX.CDialog.btnCancel]});n.adjustSizeEx();n.Show()},createDialogContent:function(t,e){var n;var i='<div class="connector-pupup">'+'<div class="connector-pupup-title">'+BX.message("B24C_PB_CHOOSE_PORTALT")+"</div>"+'<div class="connector-pupup-sites">'+'<div class="connector-pupup-sites-left">'+'<div class="connector-pupup-sites-title">'+BX.message("B24C_PB_MY_B24")+"</div>";if(e.portal)for(n in e.portal)if(e.portal.hasOwnProperty(n))i+=BX.B24Connector.createHostLink(t,e.portal[n].URL,e.portal[n].TITLE);i+="</div>"+'<div class="connector-pupup-sites-right">'+'<div class="connector-pupup-sites-title">'+BX.message("B24C_PB_MY_SITE")+"</div>";if(e.admin)for(n in e.admin)if(e.admin.hasOwnProperty(n))i+=BX.B24Connector.createHostLink(t,e.admin[n].URL,e.admin[n].TITLE);i+="</div>"+"</div>"+"</div>";return i},createHostLink:function(t,e,n){return'<a href="'+BX.util.htmlspecialchars(t.replace("##HOST##",e))+'" class="connector-pupup-link">'+BX.util.htmlspecialchars(n)+"</a>"}}; //# sourceMappingURL=connector.map.js