fix maxlength typo

master
Jean-Christian Paul Denis 2023-10-23 23:42:57 +02:00
parent 258ef1815f
commit a158a2e1d1
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 2 additions and 2 deletions

View File

@ -136,14 +136,14 @@ class Manage extends Process
(new Note())->class('form-note')->text(sprintf(__('Your IP is <strong>%s</strong> - the allowed IP can view the blog normally.'), (string) Http::realIP())),
(new Para())->class('area')->items([
(new Label(__('Extra allowed URL types:'), Label::OUTSIDE_LABEL_BEFORE))->for('construction_extra_urls'),
(new Input('construction_extra_urls'))->size(20)->maxlenght(255)->class('maximal')->value(Html::escapeHTML(implode(',', json_decode($s->get('extra_urls'), true)))),
(new Input('construction_extra_urls'))->size(20)->maxlength(255)->class('maximal')->value(Html::escapeHTML(implode(',', json_decode($s->get('extra_urls'), true)))),
]),
]),
(new Div())->class('fieldset')->items([
(new Text('h4', __('Presentation'))),
(new Para())->class('area')->items([
(new Label(__('Title:'), Label::OUTSIDE_LABEL_BEFORE))->for('construction_title'),
(new Input('construction_title'))->size(20)->maxlenght(255)->class('maximal')->value(Html::escapeHTML($s->get('title'))),
(new Input('construction_title'))->size(20)->maxlength(255)->class('maximal')->value(Html::escapeHTML($s->get('title'))),
]),
(new Para())->class('area')->items([
(new Label(__('Message:'), Label::OUTSIDE_LABEL_BEFORE))->for('construction_message'),