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.