- if (@$SysPrefs->allow_password_reset) {
- $demo_text .= " "._("or")." <a href='$path_to_root/index.php?reset=1'>"._("request new password")."</a>";
- }
+ if (@$SysPrefs->allow_password_reset) {
+ $demo_text .= " "._("or")." <a href='$path_to_root/index.php?reset=1'>"._("request new password")."</a>";
+ }
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n";
echo "<html dir='$rtl' >\n";
echo "<head profile=\"http://www.w3.org/2005/10/profile\"><title>$title</title>\n";
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n";
echo "<html dir='$rtl' >\n";
echo "<head profile=\"http://www.w3.org/2005/10/profile\"><title>$title</title>\n";
echo "<link href='$path_to_root/themes/$def_theme/default.css' rel='stylesheet' type='text/css'> \n";
echo "<link href='$path_to_root/themes/default/images/favicon.ico' rel='icon' type='image/x-icon'> \n";
send_scripts();
echo "<link href='$path_to_root/themes/$def_theme/default.css' rel='stylesheet' type='text/css'> \n";
echo "<link href='$path_to_root/themes/default/images/favicon.ico' rel='icon' type='image/x-icon'> \n";
send_scripts();
if (!$login_timeout)
table_section_title(_("Version")." $version Build ".$SysPrefs->build_version." - "._("Login"));
$value = $login_timeout ? $_SESSION['wa_current_user']->loginname : ($SysPrefs->allow_demo_mode ? "demouser":"");
if (!$login_timeout)
table_section_title(_("Version")." $version Build ".$SysPrefs->build_version." - "._("Login"));
$value = $login_timeout ? $_SESSION['wa_current_user']->loginname : ($SysPrefs->allow_demo_mode ? "demouser":"");
text_row(_("Company"), "company_login_nickname", "", 20, 50);
}
start_row();
text_row(_("Company"), "company_login_nickname", "", 20, 50);
}
start_row();
foreach($_SESSION['timeout']['post'] as $p => $val) {
// add all request variables to be resend together with login data
foreach($_SESSION['timeout']['post'] as $p => $val) {
// add all request variables to be resend together with login data