diff --git a/main/inc/lib/main_api.lib.php b/main/inc/lib/main_api.lib.php index 03cd21a00f..e2938aba04 100644 --- a/main/inc/lib/main_api.lib.php +++ b/main/inc/lib/main_api.lib.php @@ -2167,9 +2167,9 @@ function api_not_allowed($print_headers = false) { } require_once api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php'; $form = new FormValidator('formLogin', 'post', api_get_self().'?'.$_SERVER['QUERY_STRING']); - $form->addElement('static', null, null, 'Username'); + $form->addElement('static', null, null, get_lang('UserName')); $form->addElement('text', 'login', '', array('size' => USERNAME_MAX_LENGTH)); - $form->addElement('static', null, null, 'Password'); + $form->addElement('static', null, null, get_lang('Password')); $form->addElement('password', 'password', '', array('size' => 15)); $form->addElement('style_submit_button', 'submitAuth', get_lang('Enter'),'class="login"'); $test ='

'.$form->return_form().'
';