|
|
|
|
@ -2812,7 +2812,7 @@ function api_not_allowed($print_headers = false, $message = null) { |
|
|
|
|
|
|
|
|
|
//$form->addElement('text', 'login', get_lang('UserName'), array('size' => 17)); //old |
|
|
|
|
|
|
|
|
|
$form->addElement('text', 'login', null, array('placeholder' => get_lang('UserName'), 'class' => 'span3', 'autocapitalize' => 'off')); //new |
|
|
|
|
$form->addElement('text', 'login', null, array('placeholder' => get_lang('UserName'), 'class' => 'span3')); //new |
|
|
|
|
|
|
|
|
|
//$form->addElement('password', 'password', get_lang('Password'), array('size' => 17)); //old |
|
|
|
|
$form->addElement('password', 'password', null, array('placeholder' => get_lang('Password'), 'class' => 'span3')); //new |
|
|
|
|
@ -6022,4 +6022,4 @@ function api_check_user_access_to_legal($course_visibility) { |
|
|
|
|
function api_is_global_chat_enabled(){ |
|
|
|
|
$global_chat_is_enabled = !api_is_anonymous() && api_get_setting('allow_global_chat') == 'true' && api_get_setting('allow_social_tool') == 'true'; |
|
|
|
|
return $global_chat_is_enabled; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|