File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/components/bitrix/search.suggest.input/templates/.default/template.php
Back
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die(); /** @var array $arParams */ /** @var array $arResult */ /** @global CMain $APPLICATION */ /** @global CUser $USER */ /** @global CDatabase $DB */ /** @var CBitrixComponentTemplate $this */ /** @var string $templateName */ /** @var string $templateFile */ /** @var string $templateFolder */ /** @var string $componentPath */ /** @var CBitrixComponent $component */ $this->setFrameMode(true); CJSCore::Init(array("ajax")); ?> <script> BX.ready(function(){ var input = BX("<?echo $arResult["ID"]?>"); if (input) new JsSuggest(input, '<?echo $arResult["ADDITIONAL_VALUES"]?>'); }); </script> <IFRAME style="width:0px; height:0px; border: 0px;" src="javascript:''" name="<?echo $arResult["ID"]?>_div_frame" id="<?echo $arResult["ID"]?>_div_frame" ></IFRAME><input <?if($arParams["INPUT_SIZE"] > 0):?> size="<?echo $arParams["INPUT_SIZE"]?>" <?endif?> name="<?echo $arParams["NAME"]?>" id="<?echo $arResult["ID"]?>" value="<?echo $arParams["VALUE"]?>" class="search-suggest" type="text" autocomplete="off" />
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.25 |
proxy
|
phpinfo
|
Settings