X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=access%2Flogin.php;h=efdd276dad79b6ac6e4620b5294f0b0b30adcbe7;hb=36ec54507b7841b2352734b81e45b95e371ecdab;hp=759a732755cad0458024568c5f5d86c1315da0cf;hpb=d03e05776f61d2bff8ee3c1e31e78f98716bf099;p=fa-stable.git diff --git a/access/login.php b/access/login.php index 759a7327..efdd276d 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,121 +38,73 @@ } 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 "