diff --git a/phpgwapi/inc/class.egw_framework.inc.php b/phpgwapi/inc/class.egw_framework.inc.php
index 9f993021e1..cdc49b1714 100644
--- a/phpgwapi/inc/class.egw_framework.inc.php
+++ b/phpgwapi/inc/class.egw_framework.inc.php
@@ -401,15 +401,15 @@ abstract class egw_framework
{
if ($config_reg['register_link'])
{
- $reg_link=' '.lang('Not a user yet? Register now').'
';
+ $reg_link=' '.lang('Not a user yet? Register now').'
';
}
if ($config_reg['lostpassword_link'])
{
- $lostpw_link=' '.lang('Lost password').'
';
+ $lostpw_link=' '.lang('Lost password').'
';
}
if ($config_reg['lostid_link'])
{
- $lostid_link=' '.lang('Lost Login Id').'
';
+ $lostid_link=' '.lang('Lost Login Id').'
';
}
/* if at least one option of "registration" is activated display the registration section */
@@ -501,6 +501,9 @@ abstract class egw_framework
$GLOBALS['egw']->js->set_onload('document.login_form.login.focus();');
+ // load jquery for login screen too
+ self::validate_file('jquery', 'jquery');
+
$this->render($tmpl->fp('loginout','login_form'),false,false);
}
@@ -520,6 +523,10 @@ abstract class egw_framework
'deny_msg' => lang('Oops! You caught us in the middle of system maintainance.').
'
'.lang('Please, check back with us shortly.'),
));
+
+ // load jquery for deny-login screen too
+ self::validate_file('jquery', 'jquery');
+
$this->render($tmpl->fp('loginout','login_form'),false,false);
}