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' => '',
|
'help' => '',
|
||||||
'id' => $nameId,
|
'id' => $nameId,
|
||||||
'label' => '',
|
'label' => '',
|
||||||
//'maxlength' => '500',
|
'maxlength' => '500',
|
||||||
'name' => $nameId,
|
'name' => $nameId,
|
||||||
'type' => 2,
|
'type' => 2,
|
||||||
'value' => ''
|
'value' => ''
|
||||||
@ -2693,7 +2693,7 @@ class template {
|
|||||||
$html .= self::hidden($attributes['id'], [
|
$html .= self::hidden($attributes['id'], [
|
||||||
'class' => 'inputFileHidden',
|
'class' => 'inputFileHidden',
|
||||||
'disabled' => $attributes['disabled'],
|
'disabled' => $attributes['disabled'],
|
||||||
//'maxlength' => $attributes['maxlength'],
|
'maxlength' => $attributes['maxlength'],
|
||||||
'value' => $attributes['value']
|
'value' => $attributes['value']
|
||||||
]);
|
]);
|
||||||
// Champ d'upload
|
// Champ d'upload
|
||||||
@ -2718,8 +2718,7 @@ class template {
|
|||||||
</a>',
|
</a>',
|
||||||
$attributes['class'],
|
$attributes['class'],
|
||||||
$attributes['disabled'] ? 'disabled' : '',
|
$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', [
|
$html .= self::button($attributes['id'] . 'Delete', [
|
||||||
|
@ -59,8 +59,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php echo template::textarea('blogArticleContent', [
|
<?php echo template::textarea('blogArticleContent', [
|
||||||
'label' => 'Commentaire'
|
'label' => 'Commentaire',
|
||||||
//'maxlength' => '500'
|
'maxlength' => '500'
|
||||||
]); ?>
|
]); ?>
|
||||||
<?php if($this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD')): ?>
|
<?php if($this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD')): ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
Loading…
Reference in New Issue
Block a user