fixed not working forward of not loged in users after login to the original address

This commit is contained in:
Ralf Becker 2006-11-13 11:06:42 +00:00
parent 3397b87aad
commit e0e16ab18d
2 changed files with 2 additions and 3 deletions

View File

@ -36,7 +36,6 @@
Header('Location: setup/index.php');
exit;
}
$GLOBALS['egw_info']['server']['template_dir'] = EGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['egw_info']['login_template_set'];
$tmpl = CreateObject('phpgwapi.Template', $GLOBALS['egw_info']['server']['template_dir']);
@ -343,6 +342,6 @@
* And if the register link must be placed *
\********************************************************/
parse_login_screen();
parse_login_screen($extra_vars);
?>

View File

@ -42,7 +42,7 @@
</tr>';
}
function parse_login_screen()
function parse_login_screen($extra_vars)
{
$tmpl = CreateObject('phpgwapi.Template', $GLOBALS['egw_info']['server']['template_dir']);
$tmpl->set_file(array('login_form' => 'login.tpl'));