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/sender/editor/ |
Upload File : |
;(function () { BX.ready(function() { function PlaceHolderSelectorList(editor, wrap) { // Call parent constructor PlaceHolderSelectorList.superclass.constructor.apply(this, arguments); this.id = 'placeholder_selector'; this.title = BX.message('BXEdPlaceHolderSelectorTitle'); this.action = 'insertHTML'; this.zIndex = 3008; this.placeHolderList = []; editor.On('PlaceHolderSelectorListCreate', [this]); this.disabledForTextarea = false; this.arValues = []; for (var i in this.placeHolderList) { var value = this.placeHolderList[i]; value.value = '#' + value.CODE + '#'; this.arValues.push( { id: value.CODE, name: value.NAME, topName: BX.message('BXEdPlaceHolderSelectorTitle'), title: value.value + ' - ' + value.DESC, className: '', style: '', action: 'insertHTML', value: value.value } ); } this.Create(); this.pCont.innerHTML = BX.message('BXEdPlaceHolderSelectorTitle'); if (wrap) { wrap.appendChild(this.GetCont()); } } BX.extend(PlaceHolderSelectorList, window.BXHtmlEditor.DropDownList); window.BXHtmlEditor.Controls['placeholder_selector'] = PlaceHolderSelectorList; }); })();