MDL-9399 auth/ldap: NTLM SSO - fix hardcoded strings

From Iñaki Arenaza
And here is a little patch with the last remaining non-traslated
strings (unless I missed something).
This commit is contained in:
martinlanghoff
2007-11-14 23:39:24 +00:00
parent 4912df1582
commit 8b435d0993
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ if (empty($authplugin->config->ntlmsso_enabled)) {
$sesskey = sesskey();
//print_header("$site->fullname: $loginsite", $site->fullname, $loginsite, $focus, '', true);
$msg = '<p>Attempting SSO...</p>'
$msg = '<p>'.get_string('ntlmsso_attempting','auth').'</p>'
. '<img width="1", height="1" '
. ' src="' . $CFG->wwwroot . '/auth/ldap/ntlmsso_magic.php?sesskey='
. $sesskey . '" />';
+1 -1
View File
@@ -25,6 +25,6 @@ if (empty($authplugin->config->ntlmsso_enabled)) {
if (!$authplugin->ntlmsso_finish()) {
// Redirect to login, saying "don't try again!"
redirect($CFG->wwwroot . '/login/index.php?authldap_skipntlmsso=1',
"Single Sign On failed, proceed to normal login", 3);
get_string('ntlmsso_failed','auth'), 3);
}
?>