File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/components/bitrix/main.field.url/templates/main.edit_form/.default.php
Back
<?php if(!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) die(); /** * @var UrlUfComponent $component * @var array $arResult */ use Bitrix\Main\Localization\Loc; $component = $this->getComponent(); ?> <table id="table_<?= $arResult['userField']['FIELD_NAME'] ?>"> <?php foreach($arResult['value'] as $value) { ?> <tr> <td> <input <?= $component->getHtmlBuilder()->buildTagAttributes($value['attrList']) ?> > </td> </tr> <?php } if($arResult['userField']['MULTIPLE'] === 'Y') { $rowClass = ''; $fieldNameX = str_replace('_', 'x', $arResult['userField']['FIELD_NAME']); ?> <tr> <td style='padding-top: 6px;'> <input type="button" value="<?= GetMessage('USER_TYPE_PROP_ADD') ?>" onClick=" addNewRow( 'table_<?= $arResult['userField']['FIELD_NAME'] ?>', '<?= $fieldNameX ?>|<?= $arResult['userField']['FIELD_NAME'] ?>|<?= $arResult['userField']['FIELD_NAME'] ?>_old_id' )" > </td> </tr> <?php } ?> </table>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.27 |
proxy
|
phpinfo
|
Settings