forked from ZwiiCMS-Team/ZwiiCMS
[9.1.08] maxlength
This commit is contained in:
parent
f0d9534dbc
commit
4ceec4c378
@ -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,8 +2718,7 @@ class template {
|
||||
</a>',
|
||||
$attributes['class'],
|
||||
$attributes['disabled'] ? 'disabled' : '',
|
||||
helper::sprintAttributes($attributes, ['class', 'extensions', 'type'])
|
||||
//helper::sprintAttributes($attributes, ['class', 'extensions', 'type', 'maxlength'])
|
||||
helper::sprintAttributes($attributes, ['class', 'extensions', 'type', 'maxlength'])
|
||||
|
||||
);
|
||||
$html .= self::button($attributes['id'] . 'Delete', [
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user