diff --git a/trunk/includes/class/class.LSform.php b/trunk/includes/class/class.LSform.php index 273af0f3..d26c62a1 100644 --- a/trunk/includes/class/class.LSform.php +++ b/trunk/includes/class/class.LSform.php @@ -57,9 +57,14 @@ class LSform { * * @retval void */ - function LSform (&$ldapObject,$idForm,$submit="Envoyer"){ + function LSform (&$ldapObject,$idForm,$submit=NULL){ $this -> idForm = $idForm; - $this -> submit = $submit; + if (!$submit) { + $this -> submit = _("Validate"); + } + else { + $this -> submit = $submit; + } $this -> ldapObject = $ldapObject; LSsession :: loadLSclass('LSformElement'); }