Added the initialisation of the user language at registration time.

When the user register, we grab the language from the browser and use it
as first value for the corresponding user object. The user can then
later on modify it from his account area.
This commit is contained in:
Loic d'Anterroches
2008-12-19 11:46:46 +01:00
parent f6fb6c5ccc
commit d292678759
3 changed files with 11 additions and 3 deletions

View File

@@ -63,6 +63,7 @@ class IDF_Form_RegisterConfirmation extends Pluf_Form
'size' => 15,
),
));
$this->fields['password'] = new Pluf_Form_Field_Varchar(
array('required' => true,
'label' => __('Your password'),