From eb3ad16f887587d4ef38ac9f92d64e4e6ca1df5d Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Tue, 24 Oct 2023 20:20:36 +0200 Subject: [PATCH] fix maxlength typo --- src/Backend.php | 4 ++-- src/Manage.php | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Backend.php b/src/Backend.php index 08fe92c..89c401c 100644 --- a/src/Backend.php +++ b/src/Backend.php @@ -99,7 +99,7 @@ class Backend extends Process // allowedtplvalues (new Para())->items([ (new Label(__('Allowed DC template values:'), Label::OUTSIDE_LABEL_BEFORE))->for('epc_allowedtplvalues'), - (new Input('epc_allowedtplvalues'))->size(100)->maxlenght(0)->value(Epc::encodeMulti($allowedtplvalues)), + (new Input('epc_allowedtplvalues'))->size(100)->maxlength(0)->value(Epc::encodeMulti($allowedtplvalues)), ]), (new Note()) ->class('form-note') @@ -107,7 +107,7 @@ class Backend extends Process // allowedpubpages (new Para())->items([ (new Label(__('Allowed public pages:'), Label::OUTSIDE_LABEL_BEFORE))->for('epc_allowedpubpages'), - (new Input('epc_allowedpubpages'))->size(100)->maxlenght(0)->value(Epc::encodeMulti($allowedpubpages)), + (new Input('epc_allowedpubpages'))->size(100)->maxlength(0)->value(Epc::encodeMulti($allowedpubpages)), ]), (new Note()) ->class('form-note') diff --git a/src/Manage.php b/src/Manage.php index 47c2d09..5cb5300 100644 --- a/src/Manage.php +++ b/src/Manage.php @@ -265,7 +265,7 @@ class Manage extends Process ->for('filter_style' . $k), (new Input(['filter_style[]', 'filter_style' . $k])) ->size(60) - ->maxlenght(255) + ->maxlength(255) ->value(Html::escapeHTML($filter->style[$k])), ]); } @@ -337,7 +337,7 @@ class Manage extends Process ->for('filter_notag'), (new Input('filter_notag')) ->size(60) - ->maxlenght(255) + ->maxlength(255) ->value(Epc::encodeSingle($filter->notag)), ]), (new Note()) @@ -406,7 +406,7 @@ class Manage extends Process ->for('new_key'), (new Input('new_key')) ->size(60) - ->maxlenght(255) + ->maxlength(255) ->required(true), ]), (new Para()) @@ -415,7 +415,7 @@ class Manage extends Process ->for('new_value'), (new Input('new_value')) ->size(60) - ->maxlenght(255) + ->maxlength(255) ->required(true), ]), (new Para())