diff --git a/lam/templates/login.php b/lam/templates/login.php index fb0a5174..00ead528 100644 --- a/lam/templates/login.php +++ b/lam/templates/login.php @@ -97,7 +97,7 @@ function display_LoginPage($config_object,$profile) else { //TODO Generate Status message - $message = _("Unable to load available languages. Setting English as default language. For further instructions please contact the Admin of this site."); + $message = _("Unable to load available languages. Setting English as default language. For further instructions please contact the admin of this site."); } $profiles = getConfigProfiles(); @@ -127,7 +127,7 @@ function display_LoginPage($config_object,$profile)
- +
@@ -145,7 +145,7 @@ function display_LoginPage($config_object,$profile) } // check if PHP has gettext support if (! function_exists('gettext')) { - StatusMessage("ERROR", "Your PHP has no gettext support!", "Please install gettext and recompile PHP is compiled without gettext support."); + StatusMessage("ERROR", "Your PHP has no gettext support!", "Please install gettext for PHP."); echo "

"; } ?> @@ -159,16 +159,13 @@ function display_LoginPage($config_object,$profile) - - @@ -329,7 +326,7 @@ if($_POST['checklogin']) if($_POST['passwd'] == "") { - $error_message = _("Empty Password submitted. Try again."); + $error_message = _("Empty password submitted. Please try again."); display_LoginPage($_SESSION['config'],""); // Empty password submitted. Return to login page. } else @@ -356,17 +353,17 @@ if($_POST['checklogin']) { if ($result === False) { - $error_message = _("Cannot connect to specified LDAP-Server. Please try again."); + $error_message = _("Cannot connect to specified LDAP server. Please try again."); display_LoginPage($_SESSION['config'],""); // connection failed } elseif ($result == 81) { - $error_message = _("Cannot connect to specified LDAP-Server. Please try again."); + $error_message = _("Cannot connect to specified LDAP server. Please try again."); display_LoginPage($_SESSION['config'],""); // connection failed } elseif ($result == 49) { - $error_message = _("Wrong Password/Username combination. Try again."); + $error_message = _("Wrong password/user name combination. Please try again."); display_LoginPage($_SESSION['config'],""); // Username/password invalid. Return to login page. } else
- - -   +
   @@ -212,7 +209,7 @@ function display_LoginPage($config_object,$profile) ?>    @@ -245,7 +242,7 @@ function display_LoginPage($config_object,$profile)
+ " . $error_message . ""; @@ -292,7 +289,7 @@ function display_LoginPage($config_object,$profile) ?> - " tabindex="5"> + " tabindex="5">