diff --git a/templates/button.php b/templates/button.php
index c960623..ada4f7e 100644
--- a/templates/button.php
+++ b/templates/button.php
@@ -1,5 +1,7 @@
data-entity="=$arParams['ENTITY']?>"}?>
value="=$arParams['VALUE']?>"}?>
class="kit-button =$arParams['CLASS']?:app()->config()->get('templaterParams.button.class', '')?> =$arParams['ADD_CLASS']?>=(!$preloader?' not-preloader ':'')?>"
- onclick="=\Bx\Kit\Node\Lib::safeHtmlAttr($arParams['ONCLICK'])?>"
- =\Bx\Kit\Node\Lib::getAttrByArray($arParams['ATTR']);?>
+ onclick="=TemplaterTools::safeHtmlAttr($arParams['ONCLICK'])?>"
+ =TemplaterTools::getAttrByArray($arParams['ATTR']);?>
>
=$arParams['ICON']?>
=$arParams['LABEL']?:$arParams['NAME']?:''?>
diff --git a/templates/field/hint.php b/templates/field/hint.php
index 0f814c1..a664911 100644
--- a/templates/field/hint.php
+++ b/templates/field/hint.php
@@ -1,3 +1,6 @@
-
+
+
service()->templater()->render('kit:svg/hint')?>
\ No newline at end of file
diff --git a/templates/input.php b/templates/input.php
index 8b83d4c..5735dc4 100644
--- a/templates/input.php
+++ b/templates/input.php
@@ -3,8 +3,8 @@
* @var array $arParams
*/
-use Wt\Core\Type\Str as Str;
-use Wt\Core\Tools as Tools;
+use Wt\Core\Templater\Tools as TemplaterTools;
+use Wt\Core\Tools;
//include ".con/fields.php";
@@ -49,13 +49,13 @@ if($isHint) {
}
}
?>"
- value="=Str::safeHtmlAttr($arParams['VALUE'])?>"
+ value="=TemplaterTools::safeHtmlAttr($arParams['VALUE'])?>"
maxlength="255"
- placeholder="=Str::safeHtmlAttr($arParams['PLACEHOLDER']).''?>"
+ placeholder="=TemplaterTools::safeHtmlAttr($arParams['PLACEHOLDER']).''?>"
- echo \Bx\Kit\Node\Lib::getAttrByArray($arParams['ATTR']);
+ echo TemplaterTools::getAttrByArray($arParams['ATTR']);
if($isDatepicker) {
- echo \Bx\Kit\Node\Lib::getAttrByArray([
+ echo TemplaterTools::getAttrByArray([
'data-position' => 'bottom left'
]);
}
diff --git a/templates/modal.php b/templates/modal.php
index a46e1bc..6ec0083 100644
--- a/templates/modal.php
+++ b/templates/modal.php
@@ -1,8 +1,9 @@
-