From 86e53578b886082a2e98aa23705fb435fceda8fb Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 12 Feb 2009 19:14:15 +0000 Subject: [PATCH] - LSformRule_imagefilesize devient LSformRule_filesize. --- trunk/conf/LSobjects/config.LSobjects.LSeepeople.php | 2 +- ...rmRule_imagefilesize.php => class.LSformRule_filesize.php} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename trunk/includes/class/{class.LSformRule_imagefilesize.php => class.LSformRule_filesize.php} (94%) diff --git a/trunk/conf/LSobjects/config.LSobjects.LSeepeople.php b/trunk/conf/LSobjects/config.LSobjects.LSeepeople.php index 0124aa98..a8e302dd 100644 --- a/trunk/conf/LSobjects/config.LSobjects.LSeepeople.php +++ b/trunk/conf/LSobjects/config.LSobjects.LSeepeople.php @@ -556,7 +556,7 @@ $GLOBALS['LSobjects']['LSeepeople'] = array ( 'maxWidth' => 2000 ) ), - 'imagefilesize' => array( + 'filesize' => array( 'msg' => _("File size is not valid."), 'params' => array( 'maxSize' => 3000000 // taille du fichier en octets diff --git a/trunk/includes/class/class.LSformRule_imagefilesize.php b/trunk/includes/class/class.LSformRule_filesize.php similarity index 94% rename from trunk/includes/class/class.LSformRule_imagefilesize.php rename to trunk/includes/class/class.LSformRule_filesize.php index 778c1db8..7b685871 100644 --- a/trunk/includes/class/class.LSformRule_imagefilesize.php +++ b/trunk/includes/class/class.LSformRule_filesize.php @@ -21,11 +21,11 @@ ******************************************************************************/ /** - * Règle de validation : taille d'un fichier image + * Règle de validation : taille d'un fichier * * @author Benjamin Renard */ -class LSformRule_imagefilesize extends LSformRule { +class LSformRule_filesize extends LSformRule { /** * Vérification de la valeur.