File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/components/bitrix/ui.feedback.form/templates/.default/template.php
Back
<?php if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die(); use Bitrix\Main\Web\Json; use Bitrix\Main\UI\Extension; $this->setFrameMode(true); Extension::load(['sidepanel', 'ui.buttons', 'ui.feedback.form']); $buttonId = $arParams['ID'] . '-button'; $title = $arResult['TITLE']; $jsParams = $arResult['JS_OBJECT_PARAMS']; $jsParams['button'] = $buttonId; if ($arParams['VIEW_TARGET']) { $this->SetViewTarget($arParams['VIEW_TARGET']); } ?> <div id="<?=htmlspecialcharsbx($buttonId)?>" class="ui-btn ui-btn-themes ui-btn-light-border"> <?=htmlspecialcharsbx($title);?> </div> <script> new BX.UI.Feedback.Form(<?=Json::encode($jsParams)?>); </script> <? if ($arParams['VIEW_TARGET']) { $this->EndViewTarget(); }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.26 |
proxy
|
phpinfo
|
Settings