diff --git a/src/BackendBehaviors.php b/src/BackendBehaviors.php index 9cfb357..919bbcc 100644 --- a/src/BackendBehaviors.php +++ b/src/BackendBehaviors.php @@ -114,7 +114,7 @@ class BackendBehaviors // defaultfeedtitle (new Para())->items([ (new Label(__('Default title')))->for('fac_defaultfeedtitle'), - (new Input('fac_defaultfeedtitle'))->size(70)->maxlenght(255)->value((string) $blog_settings->get(My::id())->get('defaultfeedtitle')), + (new Input('fac_defaultfeedtitle'))->size(70)->maxlength(255)->value((string) $blog_settings->get(My::id())->get('defaultfeedtitle')), ]), (new Note())->text(__('Use %T to insert title of feed.'))->class('form-note'), // showfeeddesc @@ -354,7 +354,7 @@ class BackendBehaviors // fac_url (new Para())->items([ (new Label(__('Feed URL:')))->for('fac_url')->class('required'), - (new Input('fac_url'))->size(60)->maxlenght(255)->value($url), + (new Input('fac_url'))->size(60)->maxlength(255)->value($url), ]), // fac_format (new Para())->items([ diff --git a/src/Config.php b/src/Config.php index c6b63e9..b31d449 100644 --- a/src/Config.php +++ b/src/Config.php @@ -182,7 +182,7 @@ class Config extends Process (new Input([ 'fac_formats[' . $uid . '][name]', 'fac_formats_' . $uid . '_name', - ]))->value(empty($format['name']) ? '' : $format['name'])->size(20)->maxlenght(255)->class('maximal'), + ]))->value(empty($format['name']) ? '' : $format['name'])->size(20)->maxlength(255)->class('maximal'), ]), (new Note())->text(__('In order to remove a format, leave its name empty.'))->class('form-note'), // dateformat @@ -191,7 +191,7 @@ class Config extends Process (new Input([ 'fac_formats[' . $uid . '][dateformat]', 'fac_formats_' . $uid . '_dateformat', - ]))->value(empty($format['dateformat']) ? '' : $format['dateformat'])->size(20)->maxlenght(255)->class('maximal'), + ]))->value(empty($format['dateformat']) ? '' : $format['dateformat'])->size(20)->maxlength(255)->class('maximal'), ]), (new Note())->text(__('Use date format of Dotclear or leave empty to use default date format of blog.'))->class('form-note'), // dateformat //todo: use Number @@ -200,7 +200,7 @@ class Config extends Process (new Input([ 'fac_formats[' . $uid . '][lineslimit]', 'fac_formats_' . $uid . '_lineslimit', - ]))->value(empty($format['lineslimit']) ? '' : $format['lineslimit'])->size(4)->maxlenght(5), + ]))->value(empty($format['lineslimit']) ? '' : $format['lineslimit'])->size(4)->maxlength(5), ]), (new Note())->text(__('Leave lengh empty for no limit.'))->class('form-note'), ]), @@ -212,7 +212,7 @@ class Config extends Process (new Input([ 'fac_formats[' . $uid . '][linestitletext]', 'fac_formats_' . $uid . '_linestitletext', - ]))->value(empty($format['linestitletext']) ? '' : $format['linestitletext'])->size(20)->maxlenght(255)->class('maximal'), + ]))->value(empty($format['linestitletext']) ? '' : $format['linestitletext'])->size(20)->maxlength(255)->class('maximal'), ]), (new Note())->text( __('Format can be:') . @@ -228,7 +228,7 @@ class Config extends Process (new Input([ 'fac_formats[' . $uid . '][linestitleover]', 'fac_formats_' . $uid . '_linestitleover', - ]))->value(empty($format['linestitleover']) ? '' : $format['linestitleover'])->size(20)->maxlenght(255)->class('maximal'), + ]))->value(empty($format['linestitleover']) ? '' : $format['linestitleover'])->size(20)->maxlength(255)->class('maximal'), ]), (new Note())->text( __('Format can be:') . @@ -244,7 +244,7 @@ class Config extends Process (new Input([ 'fac_formats[' . $uid . '][linestitlelength]', 'fac_formats_' . $uid . '_linestitlelength', - ]))->value(empty($format['linestitlelength']) ? '' : $format['linestitlelength'])->size(4)->maxlenght(5), + ]))->value(empty($format['linestitlelength']) ? '' : $format['linestitlelength'])->size(4)->maxlength(5), ]), (new Note())->text(__('Leave lengh empty for no limit.'))->class('form-note'), ]), @@ -272,7 +272,7 @@ class Config extends Process (new Input([ 'fac_formats[' . $uid . '][linesdescriptionlength]', 'fac_formats_' . $uid . '_linesdescriptionlength', - ]))->value(empty($format['linesdescriptionlength']) ? '' : $format['linesdescriptionlength'])->size(4)->maxlenght(5), + ]))->value(empty($format['linesdescriptionlength']) ? '' : $format['linesdescriptionlength'])->size(4)->maxlength(5), ]), (new Note())->text(__('Leave lengh empty for no limit.'))->class('form-note'), ]), @@ -300,7 +300,7 @@ class Config extends Process (new Input([ 'fac_formats[' . $uid . '][linescontentlength]', 'fac_formats_' . $uid . '_linescontentlength', - ]))->value(empty($format['linescontentlength']) ? '' : $format['linescontentlength'])->size(4)->maxlenght(5), + ]))->value(empty($format['linescontentlength']) ? '' : $format['linescontentlength'])->size(4)->maxlength(5), ]), (new Note())->text(__('Leave lengh empty for no limit.'))->class('form-note'), ]),