|
@@ -644,8 +644,8 @@ class IndexManager {
|
|
function display_login_form() {
|
|
function display_login_form() {
|
|
$form = new FormValidator('formLogin', 'POST', null, null, array('class'=>'form-vertical'));
|
|
$form = new FormValidator('formLogin', 'POST', null, null, array('class'=>'form-vertical'));
|
|
// 'placeholder'=>get_lang('UserName')
|
|
// 'placeholder'=>get_lang('UserName')
|
|
- //'autocomplete'=>"off",
|
|
|
|
- $form->addElement('text', 'login', get_lang('UserName'), array('class' => 'span2','autofocus' => 'autofocus'));
|
|
|
|
|
|
+ //'autocomplete'=>"off",
|
|
|
|
+ $form->addElement('text', 'login', get_lang('UserName'), array('class' => 'span2', 'autofocus' => 'autofocus', 'autocapitalize'=> 'off'));
|
|
$form->addElement('password', 'password', get_lang('Pass'), array('class' => 'span2'));
|
|
$form->addElement('password', 'password', get_lang('Pass'), array('class' => 'span2'));
|
|
$form->addElement('style_submit_button','submitAuth', get_lang('LoginEnter'), array('class' => 'btn'));
|
|
$form->addElement('style_submit_button','submitAuth', get_lang('LoginEnter'), array('class' => 'btn'));
|
|
$html = $form->return_form();
|
|
$html = $form->return_form();
|