From cf1405bef69ada560a38e80e84fe292b91cd417f Mon Sep 17 00:00:00 2001 From: bellord13 Date: Fri, 8 Oct 2021 16:22:44 +0300 Subject: [PATCH] fix --- templates/button.php | 6 ++++-- templates/field/hint.php | 5 ++++- templates/input.php | 12 ++++++------ templates/modal.php | 3 ++- templates/page/meta.php | 7 +++---- templates/picture.php | 20 ++++++++++++-------- templates/pictureOwlLazy.php | 25 ++++++++++++++----------- templates/select.php | 31 +++++++++++++++++-------------- 8 files changed, 62 insertions(+), 47 deletions(-) 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="" value="" class="kit-button config()->get('templaterParams.button.class', '')?> " - onclick="" - + onclick="" + >
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="" + value="" maxlength="255" - placeholder="" + placeholder="" '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 @@ -