Код |
---|
<?$APPLICATION->IncludeComponent("bitrix:main.colorpicker","",Array( "SHOW_BUTTON" => "Y", "ID" => "123", "NAME" => "Выбор цвета", "ONSELECT" => "" ), false );?> |
Код |
---|
<?if(is_array($arResult['DISPLAY_PROPERTIES']['COLOR']['DISPLAY_VALUE'])):?> <?=$arResult['DISPLAY_PROPERTIES']['COLOR']['NAME']?> <?=implode($arResult['DISPLAY_PROPERTIES']['COLOR']['DISPLAY_VALUE']);?> <?else:?> <?=$arResult['DISPLAY_PROPERTIES']['COLOR']['DISPLAY_VALUE'];?> <?endif?> |
Код |
---|
<?=implode($arResult['DISPLAY_PROPERTIES']['COLOR']['DISPLAY_VALUE']);?> |