%PDF- %PDF-
Server IP : 37.220.80.31 / Your IP : 3.144.110.253 Web Server : Apache/2.4.52 (Ubuntu) System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64 User : www-root ( 1010) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/modules/webdebug.antirutin/plugins/element/pattern_fill/ |
Upload File : |
<? use WD\Antirutin\Helper, WD\Antirutin\IBlock; $intMacrosIBlockId = $this->isOfferField($this->get('field')) ? $this->getOffersIBlockId() : $this->intIBlockId; ?> <div class="plugin-form__field"> <div class="plugin-form__field-title"> <?=$this->fieldName('FIELD', true);?> </div> <div class="plugin-form__field-value"> <div id="<?=$this->getId('field');?>"> <?=IBlock::showAvailableFields($this->getFields(), $this->strEntityType, $this->getInputName('field'), $this->get('field'), 'data-role="field"', true);?> </div> </div> </div> <div class="plugin-form__field"> <div class="plugin-form__field-title"> <?=$this->fieldName('TEXT_TYPE', true);?> </div> <div class="plugin-form__field-value"> <div id="<?=$this->getId('text_type');?>"> <?=Helper::selectBox($this->getInputName('text_type'), [ '' => static::getMessage('TEXT_TYPE_NO'), 'text' => static::getMessage('TEXT_TYPE_TEXT'), 'html' => static::getMessage('TEXT_TYPE_HTML'), ], $this->get('text_type'), null, 'data-role="text_type"');?> </div> </div> </div> <div class="plugin-form__field"> <div class="plugin-form__field-title"> <?=$this->fieldName('PATTERN', true);?> </div> <div class="plugin-form__field-value"> <div id="<?=$this->getId('pattern');?>"data-role="pattern_wrapper"> <textarea name="<?=$this->getInputName('pattern');?>" id="<?=$this->getTextareaId();?>" cols="80" rows="5" ><?=htmlspecialcharsbx($this->get('pattern'));?></textarea> </div> <div id="<?=$this->getId('pattern_macro');?>" data-role="macro_wrapper"> <span><?=static::getMessage('PATTERN_MACRO_TITLE');?></span> <select data-role="pattern"> <?=$this->getMacrosForSelect($intMacrosIBlockId);?> </select> <?=$this->fieldHint('PATTERN_MACRO');?> <script> wdaSelect2($('#<?=$this->getId('pattern_macro');?> > select'), { dropdownParent: $('#<?=$this->getId('pattern_macro');?>'), }); </script> </div> </div> </div> <div class="plugin-form__field"> <span> <input type="hidden" name="<?=$this->getInputName('use_as_formula');?>" value="N" /> <input type="checkbox" name="<?=$this->getInputName('use_as_formula');?>" value="Y" <?if($this->get('use_as_formula') == 'Y'):?>checked="checked"<?endif?> id="<?=$this->getId('use_as_formula');?>" data-role="use_as_formula" /> </span> <label for="<?=$this->getId('use_as_formula');?>"> <?=$this->fieldName('USE_AS_FORMULA', true, false);?> </label> </div> <input type="hidden" data-role="error_no_field" value="<?=static::getMessage('ERROR_NO_FIELD');?>" />