mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 00:09:06 +01:00
- LSformRule_imagefilesize devient LSformRule_filesize.
This commit is contained in:
parent
20e2577d58
commit
86e53578b8
2 changed files with 3 additions and 3 deletions
|
@ -556,7 +556,7 @@ $GLOBALS['LSobjects']['LSeepeople'] = array (
|
||||||
'maxWidth' => 2000
|
'maxWidth' => 2000
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
'imagefilesize' => array(
|
'filesize' => array(
|
||||||
'msg' => _("File size is not valid."),
|
'msg' => _("File size is not valid."),
|
||||||
'params' => array(
|
'params' => array(
|
||||||
'maxSize' => 3000000 // taille du fichier en octets
|
'maxSize' => 3000000 // taille du fichier en octets
|
||||||
|
|
|
@ -21,11 +21,11 @@
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Règle de validation : taille d'un fichier image
|
* Règle de validation : taille d'un fichier
|
||||||
*
|
*
|
||||||
* @author Benjamin Renard <brenard@easter-eggs.com>
|
* @author Benjamin Renard <brenard@easter-eggs.com>
|
||||||
*/
|
*/
|
||||||
class LSformRule_imagefilesize extends LSformRule {
|
class LSformRule_filesize extends LSformRule {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Vérification de la valeur.
|
* Vérification de la valeur.
|
Loading…
Reference in a new issue