File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/components/bitrix/main.field.string/templates/main.edit/mobile.php
Back
<?php if(!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) die(); use Bitrix\Main\Text\HtmlFilter; /** * @var StringUfComponent $component * @var array $arResult */ $component = $this->getComponent(); foreach($arResult['fieldValues'] as $value) { ?> <span class="mobile-grid-data-span <?= ($arResult['userField']['MULTIPLE'] === 'Y' ? ' multiple' : '') ?>" > <?php if($value['tag'] === 'input') { ?> <input <?= $component->getHtmlBuilder()->buildTagAttributes($value['attrList']) ?>> <?php } else { ?> <textarea <?= $component->getHtmlBuilder()->buildTagAttributes($value['attrList']) ?> ><?= HtmlFilter::encode($value['attrList']['value']) ?></textarea> <?php } ?> </span> <?php } if( $arResult['userField']['MULTIPLE'] === 'Y' && $arResult['additionalParameters']['SHOW_BUTTON'] !== 'N' ) { print $component->getHtmlBuilder()->getMobileCloneButton($arResult['fieldName']); }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.28 |
proxy
|
phpinfo
|
Settings