From dfb1be9d65688d4d9afbfa68ee9007e7d9e43892 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Mon, 1 Oct 2012 15:56:32 +0000 Subject: [PATCH] Transform fields as selectMultiple --- library/Scores/Fields.php | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/library/Scores/Fields.php b/library/Scores/Fields.php index 1e9dbafc..b6152fc7 100644 --- a/library/Scores/Fields.php +++ b/library/Scores/Fields.php @@ -557,13 +557,31 @@ Les zones urbaines sensibles constituent un sous-ensemble de l'ensemble plus lar 'bilDuree' => array( 'label' => 'Durée du dernier bilan en mois', 'fields' => array( - 'intervalSelect' => array( + 'selectMultiple' => array( 'value' => array( - array(0, 5), - array(5, 10), - array(10, 15), - array(20, 23), - array(23, 0) + '1' => '1 mois', + '2' => '2 mois', + '3' => '3 mois', + '4' => '4 mois', + '5' => '5 mois', + '6' => '6 mois', + '7' => '7 mois', + '8' => '8 mois', + '9' => '9 mois', + '10' => '10 mois', + '11' => '11 mois', + '12' => '12 mois', + '13' => '13 mois', + '14' => '14 mois', + '15' => '15 mois', + '16' => '16 mois', + '17' => '17 mois', + '18' => '18 mois', + '19' => '19 mois', + '20' => '20 mois', + '21' => '21 mois', + '22' => '22 mois', + '23' => '23 mois', ) ) ),