X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=access%2Flogin.php;h=c60819a90ea3fe5074281e9850fb089963329185;hb=6d2aba608e1e75d9f25068c4686853eb14034584;hp=dc873fb940b21cafedaf83fa28bf5910b5bbc952;hpb=928fd7212cf33c745b2373072d4c573cdcf12c4f;p=fa-stable.git diff --git a/access/login.php b/access/login.php index dc873fb9..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,123 +38,74 @@ } if (!isset($def_coy)) $def_coy = 0; - $def_theme = $path_to_root . '/themes/default'; + $def_theme = "default"; -$login_timeout = $_SESSION["wa_current_user"]->last_act; + $login_timeout = $_SESSION["wa_current_user"]->last_act; - echo " -
"; -if (!$login_timeout) { // page header - echo ''; ?> - -$date | \n"; + echo "
$app_title $version - " . _("Theme:") . " " . $def_theme . " | \n"; + echo "
$power_by | \n"; + echo "