From f153fea28535981090eb4741aa5d06544068c7c6 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Mon, 23 Oct 2023 11:28:28 +0200 Subject: [PATCH] fix maxlength typo --- src/Backend.php | 6 +++--- src/ManageCat.php | 4 ++-- src/ManageLink.php | 10 +++++----- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/Backend.php b/src/Backend.php index 22bb929..b08fc52 100644 --- a/src/Backend.php +++ b/src/Backend.php @@ -124,7 +124,7 @@ class Backend extends Process ->for(My::id() . 'newdir'), (new Input(My::id() . 'newdir')) ->size(65) - ->maxlenght(255) + ->maxlength(255) ->value(''), ]), (new Para()) @@ -171,7 +171,7 @@ class Backend extends Process ->for(My::id() . 'public_title'), (new Input(My::id() . 'public_title')) ->size(65) - ->maxlenght(255) + ->maxlength(255) ->value((string) $s->get('public_title')), ]), (new Para()) @@ -180,7 +180,7 @@ class Backend extends Process ->for(My::id() . 'public_description'), (new Input(My::id() . 'public_description')) ->size(65) - ->maxlenght(255) + ->maxlength(255) ->value((string) $s->get('public_description')), ]), (new Para()) diff --git a/src/ManageCat.php b/src/ManageCat.php index 19a491a..25cc6c8 100644 --- a/src/ManageCat.php +++ b/src/ManageCat.php @@ -164,7 +164,7 @@ class ManageCat extends Process ->for('cattitle'), (new Input('cattitle')) ->size(65) - ->maxlenght(64) + ->maxlength(64) ->value(Html::escapeHTML(self::$cattitle)), ]), (new Para()) @@ -173,7 +173,7 @@ class ManageCat extends Process ->for('catdesc'), (new Input('catdesc')) ->size(65) - ->maxlenght(64) + ->maxlength(64) ->value(Html::escapeHTML(self::$catdesc)), ]), (new Para()) diff --git a/src/ManageLink.php b/src/ManageLink.php index 886d18c..72548a0 100644 --- a/src/ManageLink.php +++ b/src/ManageLink.php @@ -216,7 +216,7 @@ class ManageLink extends Process ->for('linktitle'), (new Input('linktitle')) ->size(65) - ->maxlenght(255) + ->maxlength(255) ->value(Html::escapeHTML(self::$linktitle)), ]), (new Para()) @@ -225,7 +225,7 @@ class ManageLink extends Process ->for('linkdesc'), (new Input('linkdesc')) ->size(65) - ->maxlenght(255) + ->maxlength(255) ->value(Html::escapeHTML(self::$linkdesc)), ]), (new Para()) @@ -234,7 +234,7 @@ class ManageLink extends Process ->for('linkauthor'), (new Input('linkauthor')) ->size(65) - ->maxlenght(255) + ->maxlength(255) ->value(Html::escapeHTML(self::$linkauthor)), ]), (new Para()) @@ -243,7 +243,7 @@ class ManageLink extends Process ->for('linkurl'), (new Input('linkurl')) ->size(65) - ->maxlenght(255) + ->maxlength(255) ->value(Html::escapeHTML(self::$linkurl)), (new Link('newlinksearch')) ->class('modal hidden-if-no-js') @@ -257,7 +257,7 @@ class ManageLink extends Process ->for('linkimage'), (new Input('linkimage')) ->size(65) - ->maxlenght(255) + ->maxlength(255) ->value(Html::escapeHTML(self::$linkimage)), (new Link('newimagesearch')) ->class('modal hidden-if-no-js')