From 81acab51bf057e892700d39e553d32fddf14c5ff Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 5 Sep 2016 11:47:02 +0200 Subject: [PATCH] =?UTF-8?q?corrige=20le=20caract=C3=A8re=20requis=20des=20?= =?UTF-8?q?champs=20de=20cfdtRole,=20cfdtFederation=20et=20cfdtRegion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../conf/LSobjects/config.LSobjects.cfdtFederation.php | 3 ++- .../conf/LSobjects/config.LSobjects.cfdtRegion.php | 3 ++- .../conf/LSobjects/config.LSobjects.cfdtRole.php | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtFederation.php b/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtFederation.php index cef8653..648ba4b 100644 --- a/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtFederation.php +++ b/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtFederation.php @@ -61,6 +61,7 @@ $GLOBALS['LSobjects']['cfdtFederation'] = array ( 'label' => 'Description/Commentaire', 'ldap_type' => 'ascii', 'html_type' => 'textarea', + 'required' => 1, 'multiple' => 1, 'rights' => array( 'self' => 'r', @@ -88,7 +89,7 @@ $GLOBALS['LSobjects']['cfdtFederation'] = array ( 'value_attribute' => 'dn', // Spécifie le attributs dont la valeur sera retournée par ) ), - 'required' => 0, + 'required' => 1, 'multiple' => 1, 'validation' => array ( array ( diff --git a/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtRegion.php b/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtRegion.php index 9a921ff..8b0516d 100644 --- a/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtRegion.php +++ b/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtRegion.php @@ -61,6 +61,7 @@ $GLOBALS['LSobjects']['cfdtRegion'] = array ( 'label' => 'Description/Commentaire', 'ldap_type' => 'ascii', 'html_type' => 'textarea', + 'required' => 1, 'multiple' => 1, 'rights' => array( 'self' => 'r', @@ -88,7 +89,7 @@ $GLOBALS['LSobjects']['cfdtRegion'] = array ( 'value_attribute' => 'dn', // Spécifie le attributs dont la valeur sera retournée par ) ), - 'required' => 0, + 'required' => 1, 'multiple' => 1, 'validation' => array ( array ( diff --git a/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtRole.php b/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtRole.php index e6a35bd..ed3dc7d 100644 --- a/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtRole.php +++ b/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtRole.php @@ -80,6 +80,7 @@ $GLOBALS['LSobjects']['cfdtRole'] = array ( 'label' => 'Description/Commentaire', 'ldap_type' => 'ascii', 'html_type' => 'textarea', + 'required' => 1, 'multiple' => 1, 'rights' => array( 'self' => 'r', @@ -107,7 +108,7 @@ $GLOBALS['LSobjects']['cfdtRole'] = array ( 'value_attribute' => 'dn', // Spécifie le attributs dont la valeur sera retournée par ) ), - 'required' => 0, + 'required' => 1, 'multiple' => 1, 'validation' => array ( array (