X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=access%2Flogin.php;h=7d4389f68f858f826b1bfe1816b1ad1b57ea2f6f;hb=7e8c90ee7e898a9181f62f387ccb92158f47f59c;hp=faad080674377ff23ac94b23b57aca59fe95c1cb;hpb=8864b1ec0fd3321e510511ef22614bc36845540e;p=fa-stable.git diff --git a/access/login.php b/access/login.php index faad0806..7d4389f6 100644 --- a/access/login.php +++ b/access/login.php @@ -12,7 +12,6 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_to_root'])) die(_("Restricted access")); include_once($path_to_root . "/includes/ui/ui_view.inc"); - // Display demo user name and password within login form if "$allow_demo_mode" is true if ($allow_demo_mode == true) { @@ -25,14 +24,20 @@ if (!isset($def_coy)) $def_coy = 0; $def_theme = $path_to_root . '/themes/default'; -?> - - -'.get_js_png_fix().''; ?> + +$ajax_timeout = strstr($_SERVER['PHP_SELF'], 'timeout.php'); + + echo " + "; +if (!$ajax_timeout) { // page header + echo ''; ?> @@ -41,40 +46,53 @@ function defaultCompany() - + + + <?php echo 'Timeout'?> + + + - + +
FrontAccounting
- + + @@ -120,20 +155,25 @@ for ($i = 0; $i < count($db_connections); $i++) - + + +




+
- - - - - - - - - - + + + "; + + foreach($_SESSION['timeout']['post'] as $p => $val) { + // add all request variables to be resend together with login data + if (!in_array($p, array('ui_mode', 'user_name_entry_field', + 'password', 'SubmitUser', 'company_login_name'))) + echo ""; + } +?>
+