| Current Path : /var/www/homesaver/www/bitrix/components/bitrix/search.tags.input/templates/.default/ |
| Current File : /var/www/homesaver/www/bitrix/components/bitrix/search.tags.input/templates/.default/template.php |
<?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 JsTc(input, '<?echo $arParams["ADDITIONAL_VALUES"]?>');
});
</script>
<?
if (isset($arParams["SILENT"]) && $arParams["SILENT"] == "Y")
return;
?><input
name="<?=$arResult["NAME"]?>"
id="<?=$arResult["ID"]?>"
value="<?=$arResult["VALUE"]?>"
class="search-tags"
type="text"
autocomplete="off"
<?=$arResult["TEXT"]?>
/>