%PDF- %PDF-
Server IP : 37.220.80.31 / Your IP : 18.219.123.84 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/image_resize/ |
Upload File : |
<? use WD\Antirutin\Helper, WD\Antirutin\IBlock; ?> <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', true), $this->get('field'), 'multiple="multiple" size="8" data-role="field"', true, false, false, false);?> </div> </div> </div> <div class="plugin-form__field"> <div class="plugin-form__field-title"> <?=$this->fieldName('METHOD', true);?> </div> <div class="plugin-form__field-value"> <div id="<?=$this->getId('method');?>"> <?=Helper::selectBox($this->getInputName('method'), [ 'BX_RESIZE_IMAGE_PROPORTIONAL' => static::getMessage('METHOD_BX_RESIZE_IMAGE_PROPORTIONAL'), 'BX_RESIZE_IMAGE_EXACT' => static::getMessage('METHOD_BX_RESIZE_IMAGE_EXACT'), 'BX_RESIZE_IMAGE_PROPORTIONAL_ALT' => static::getMessage('METHOD_BX_RESIZE_IMAGE_PROPORTIONAL_ALT'), ], $this->get('method'), null, 'data-role="method"');?> </div> </div> </div> <div class="plugin-form__field"> <div class="plugin-form__field-title"> <?=$this->fieldName('WIDTH', true);?> </div> <div class="plugin-form__field-value"> <div id="<?=$this->getId('width');?>"> <input type="text" name="<?=$this->getInputName('width');?>" value="<?=htmlspecialcharsbx($this->get('width'));?>" size="15" data-role="width" placeholder="<?=static::getMessage('WIDTH_PLACEHOLDER');?>" /> </div> </div> </div> <div class="plugin-form__field"> <div class="plugin-form__field-title"> <?=$this->fieldName('HEIGHT', true);?> </div> <div class="plugin-form__field-value"> <div id="<?=$this->getId('height');?>"> <input type="text" name="<?=$this->getInputName('height');?>" value="<?=htmlspecialcharsbx($this->get('height'));?>" size="15" data-role="height" placeholder="<?=static::getMessage('HEIGHT_PLACEHOLDER');?>" /> </div> </div> </div> <div class="plugin-form__field"> <div class="plugin-form__field-title"> <?=$this->fieldName('SHARPEN', true);?> </div> <div class="plugin-form__field-value"> <input type="hidden" name="<?=$this->getInputName('sharpen');?>" value="N" /> <label> <input type="checkbox" name="<?=$this->getInputName('sharpen');?>" value="Y" <?if($this->get('sharpen') == 'Y'):?>checked="checked"<?endif?> id="<?=$this->getId('sharpen');?>" data-role="sharpen" /> <span><?=Helper::getMessage('WDA_Y');?></span> </label> </div> </div> <input type="hidden" data-role="error_no_field" value="<?=static::getMessage('ERROR_NO_FIELD');?>" /> <input type="hidden" data-role="error_no_width" value="<?=static::getMessage('ERROR_NO_WIDTH');?>" /> <input type="hidden" data-role="error_no_height" value="<?=static::getMessage('ERROR_NO_HEIGHT');?>" />