[9.1.08] supprimer maxlength

This commit is contained in:
fredtempez 2019-05-31 12:41:28 +02:00
parent c16741f259
commit 8656c7a6a1
3 changed files with 13 additions and 11 deletions

View File

@ -2665,7 +2665,7 @@ class template {
'help' => '',
'id' => $nameId,
'label' => '',
'maxlength' => '500',
//'maxlength' => '500',
'name' => $nameId,
'type' => 2,
'value' => ''
@ -2693,7 +2693,7 @@ class template {
$html .= self::hidden($attributes['id'], [
'class' => 'inputFileHidden',
'disabled' => $attributes['disabled'],
'maxlength' => $attributes['maxlength'],
//'maxlength' => $attributes['maxlength'],
'value' => $attributes['value']
]);
// Champ d'upload
@ -2718,7 +2718,9 @@ class template {
</a>',
$attributes['class'],
$attributes['disabled'] ? 'disabled' : '',
helper::sprintAttributes($attributes, ['class', 'extensions', 'type', 'maxlength'])
helper::sprintAttributes($attributes, ['class', 'extensions', 'type'])
//helper::sprintAttributes($attributes, ['class', 'extensions', 'type', 'maxlength'])
);
$html .= self::button($attributes['id'] . 'Delete', [
'class' => 'inputFileDelete',
@ -2779,7 +2781,7 @@ class template {
'class' => '',
'noDirty' => false,
'id' => $nameId,
'maxlength' => '500',
//'maxlength' => '500',
'name' => $nameId,
'value' => ''
], $attributes);
@ -2849,7 +2851,7 @@ class template {
'help' => '',
'id' => $nameId,
'label' => '',
'maxlength' => '500',
//'maxlength' => '500',
'name' => $nameId,
'placeholder' => '',
'readonly' => false,
@ -2912,7 +2914,7 @@ class template {
'help' => '',
'id' => $nameId,
'label' => '',
'maxlength' => '500',
//'maxlength' => '500',
'name' => $nameId,
'placeholder' => '',
'readonly' => false
@ -3109,7 +3111,7 @@ class template {
'help' => '',
'id' => $nameId,
'label' => '',
'maxlength' => '500',
//'maxlength' => '500',
'name' => $nameId,
'placeholder' => '',
'readonly' => false,
@ -3162,7 +3164,7 @@ class template {
'help' => '',
'id' => $nameId,
'label' => '',
'maxlength' => '500000',
//'maxlength' => '500',
'name' => $nameId,
'readonly' => false,
'value' => ''

View File

@ -221,7 +221,7 @@ echo template::formOpen('pageEditForm'); ?>
]); ?>
<?php echo template::textarea('pageEditMetaDescription', [
'label' => 'Méta-description',
'maxlength' => '500',
//'maxlength' => '500',
'value' => $this->getData(['page', $this->getUrl(2), 'metaDescription'])
]); ?>
</div>

View File

@ -59,8 +59,8 @@
</div>
<?php endif; ?>
<?php echo template::textarea('blogArticleContent', [
'label' => 'Commentaire',
'maxlength' => '500'
'label' => 'Commentaire'
//'maxlength' => '500'
]); ?>
<?php if($this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD')): ?>
<div class="row">