version 1.5, 2008/05/14 20:05:07
|
version 1.6, 2008/06/27 16:08:42
|
Line 80 sub handler {
|
Line 80 sub handler {
|
&Apache::loncommon::end_page(); |
&Apache::loncommon::end_page(); |
$r->print($start_page."\n".'<h2>'.&mt('You are already logged in').'</h2>'. |
$r->print($start_page."\n".'<h2>'.&mt('You are already logged in').'</h2>'. |
'<p>'.&mt('Please either [_1]continue the current session[_2] or [_3]logout[_4].','<a href="/adm/roles">','</a>','<a href="/adm/logout">','</a>'). |
'<p>'.&mt('Please either [_1]continue the current session[_2] or [_3]logout[_4].','<a href="/adm/roles">','</a>','<a href="/adm/logout">','</a>'). |
'</p><p><a href="/adm/loginproblems.html">'.&mt('Problems?').'</a></p>'.$end_page); |
'</p><p><a href="/adm/loginproblems.html">'.&mt('Login problems?').'</a></p>'.$end_page); |
return OK; |
return OK; |
} |
} |
$start_page = |
$start_page = |
Line 687 sub username_validation {
|
Line 687 sub username_validation {
|
if ($authok eq 'authorized') { |
if ($authok eq 'authorized') { |
($output,undef) = &username_check($username,$domain,$domdesc,$courseid); |
($output,undef) = &username_check($username,$domain,$domdesc,$courseid); |
} else { |
} else { |
$output = &mt('Not authenticated').' '.&mt('Please check the username and password'); |
$output = '<div class="LC_warning">' |
|
.&mt('Username and/or password could not be authenticated.') |
|
.'</div>' |
|
.&mt('Please check the username and password.'); |
} |
} |
} |
} |
return $output; |
return $output; |