CC-4781: Store localization settings on a per-user basis
-done
This commit is contained in:
parent
a1837366be
commit
e2c87ed8b6
7 changed files with 80 additions and 9 deletions
|
@ -96,6 +96,12 @@ class Application_Form_EditUser extends Zend_Form
|
|||
$jabber->setDecorators(array('viewHelper'));
|
||||
$this->addElement($jabber);
|
||||
|
||||
$locale = new Zend_Form_Element_Select("cu_locale");
|
||||
$locale->setLabel(_("Language"));
|
||||
$locale->setMultiOptions(Application_Model_Locale::getLocales());
|
||||
$locale->setValue(Application_Model_Preference::GetUserLocale($currentUser->getId()));
|
||||
$locale->setDecorators(array('ViewHelper'));
|
||||
$this->addElement($locale);
|
||||
/*
|
||||
$saveBtn = new Zend_Form_Element_Button('cu_save_user');
|
||||
$saveBtn->setAttrib('class', 'btn btn-small right-floated');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue