File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/components/bitrix/currency.field.money/templates/main.edit/.default.php
Back
<?php if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die(); use Bitrix\Main\Security\Random; /** * @var MoneyUfComponent $component */ $component = $this->getComponent(); ?> <span class="fields money field-wrap"> <?php $userField = $arResult['userField']; $first = true; foreach($arResult['value'] as $value) { if(!$first) { print $component->getHtmlBuilder()->getMultipleValuesSeparator(); } $first = false; ?> <span class="fields money field-item"> <?php $APPLICATION->IncludeComponent( 'bitrix:currency.money.input', '', [ 'CONTROL_ID' => $userField['FIELD_NAME'] . '_' . Random::getString(5), 'FIELD_NAME' => $arResult['fieldName'], 'VALUE' => $value['value'], 'EXTENDED_CURRENCY_SELECTOR' => 'Y' ], null, ['HIDE_ICONS' => 'Y'] ); ?> </span> <?php } if( $userField['MULTIPLE'] === 'Y' && $arResult['additionalParameters']['SHOW_BUTTON'] !== 'N' ) { print $component->getHtmlBuilder()->getCloneButton($arResult['fieldName']); } ?> </span>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.26 |
proxy
|
phpinfo
|
Settings