- LSform : Traduction d' "Envoyer"

This commit is contained in:
Benjamin Renard 2009-02-17 14:04:35 +00:00
parent 5af7e8af76
commit 84c954bbe9

View file

@ -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');
}