fixed translation
This commit is contained in:
parent
60199a41b5
commit
38cbfb9dab
|
@ -170,6 +170,8 @@ $manifestUrl = preg_replace('/http(s)?:\\/\\/([^\\/])+/', '', $manifestUrl);
|
||||||
$manifestUrl = preg_replace('/\\?.*/', '', $manifestUrl);
|
$manifestUrl = preg_replace('/\\?.*/', '', $manifestUrl);
|
||||||
$_SESSION['header'] .= '<link rel="manifest" href="' . $manifestUrl . '/templates/manifest.php" crossorigin="use-credentials">';
|
$_SESSION['header'] .= '<link rel="manifest" href="' . $manifestUrl . '/templates/manifest.php" crossorigin="use-credentials">';
|
||||||
|
|
||||||
|
setlanguage(); // setting correct language
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Displays the login window.
|
* Displays the login window.
|
||||||
*
|
*
|
||||||
|
@ -192,8 +194,6 @@ function display_LoginPage($licenseValidator, $error_message, $errorDetails = nu
|
||||||
|
|
||||||
$profiles = getConfigProfiles();
|
$profiles = getConfigProfiles();
|
||||||
|
|
||||||
setlanguage(); // setting correct language
|
|
||||||
|
|
||||||
echo $_SESSION["header"];
|
echo $_SESSION["header"];
|
||||||
printHeaderContents('LDAP Account Manager', '..');
|
printHeaderContents('LDAP Account Manager', '..');
|
||||||
?>
|
?>
|
||||||
|
@ -590,6 +590,7 @@ if(isset($_POST['checklogin'])) {
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
catch (LAMException $e) {
|
catch (LAMException $e) {
|
||||||
|
|
||||||
display_LoginPage($licenseValidator, $e->getTitle(), $e->getMessage());
|
display_LoginPage($licenseValidator, $e->getTitle(), $e->getMessage());
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue