X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=access%2Flogin.php;h=c60819a90ea3fe5074281e9850fb089963329185;hb=5089910120614dfb8b76a0271b43739f90f38b01;hp=7d4389f68f858f826b1bfe1816b1ad1b57ea2f6f;hpb=8f7ac519b7aaf8ec219862597e878d3a28316ac6;p=fa-stable.git diff --git a/access/login.php b/access/login.php index 7d4389f6..c60819a9 100644 --- a/access/login.php +++ b/access/login.php @@ -11,7 +11,22 @@ ***********************************************************************/ 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"); + include_once($path_to_root . "/includes/ui.inc"); + + $js = ""; + $js2 = ""; + // Display demo user name and password within login form if "$allow_demo_mode" is true if ($allow_demo_mode == true) { @@ -23,117 +38,74 @@ } if (!isset($def_coy)) $def_coy = 0; - $def_theme = $path_to_root . '/themes/default'; + $def_theme = "default"; -$ajax_timeout = strstr($_SERVER['PHP_SELF'], 'timeout.php'); + $login_timeout = $_SESSION["wa_current_user"]->last_act; - echo " -
"; -if (!$ajax_timeout) { // page header - echo ''; ?> - -$date | \n"; + echo "
$app_title $version - " . _("Theme:") . " " . $def_theme . " | \n"; + echo "
$power_by | \n"; + echo "