From b1ba047a10f9e203c7d64c3a4e0070dd4cd7036f Mon Sep 17 00:00:00 2001 From: llaffont <llaffont@git-test.afi-sa.fr> Date: Sat, 14 Dec 2013 07:35:26 +0000 Subject: [PATCH] =?UTF-8?q?Albums:=20les=20champs=20de=20saisie=20ne=20d?= =?UTF-8?q?=C3=A9passent=20plus=20du=20formulaire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/ZendAfi/Form/Album.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/library/ZendAfi/Form/Album.php b/library/ZendAfi/Form/Album.php index bb64c1e1948..911d6c88f30 100644 --- a/library/ZendAfi/Form/Album.php +++ b/library/ZendAfi/Form/Album.php @@ -80,12 +80,12 @@ class ZendAfi_Form_Album extends ZendAfi_Form { ->setAttrib('id', 'album') ->setAttrib('enctype', self::ENCTYPE_MULTIPART) ->addElement('text', 'titre', ['label' => 'Titre *', - 'size' => 80, + 'size' => 75, 'required' => true, 'allowEmpty' => false]) ->addElement('text', 'sous_titre', ['label' => 'Sous-titre', - 'size' => 80]) + 'size' => 75]) ->addElement('select', 'cat_id', ['label' => 'Catégorie', 'multiOptions' => Class_AlbumCategorie::getAllLibelles()]) @@ -93,7 +93,7 @@ class ZendAfi_Form_Album extends ZendAfi_Form { ->addElement('checkbox', 'visible', ['label' => 'Visible']) ->addElement('text', 'auteur', ['label' => 'Auteur', - 'size' => 80]) + 'size' => 75]) ->addElement('ckeditor', 'description') @@ -102,13 +102,13 @@ class ZendAfi_Form_Album extends ZendAfi_Form { 'maxlength' => 4]) ->addElement('text', 'editeur', ['label' => 'Editeur', - 'size' => 80]) + 'size' => 75]) ->addElement('text', 'cote', ['label' => 'Cote', 'size' => 20]) ->addElement('text', 'provenance', ['label' => 'Provenance', - 'size' => 80]) + 'size' => 75]) ->addElement('select', 'id_langue', ['label' => 'Langue', 'multioptions' => Class_CodifLangue::allByIdLibelle()]) @@ -191,7 +191,9 @@ class ZendAfi_Form_Album extends ZendAfi_Form { 2 => 'Autre, Précisez']]) ->addElement('text', 'droits_precision', - ['label' => '', 'value' => $current_precision, 'size' => 80]); + ['label' => '', + 'value' => $current_precision, + 'size' => 75]); } } -- GitLab