X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=access%2Flogin.php;h=faad080674377ff23ac94b23b57aca59fe95c1cb;hb=47e386676320471986d462929c707552f0ab7362;hp=3f9a04af90c86038e6469e203de9bf3df551257f;hpb=da8311619dd73feae101d246a1957b972e00cbd2;p=fa-stable.git diff --git a/access/login.php b/access/login.php index 3f9a04af..faad0806 100644 --- a/access/login.php +++ b/access/login.php @@ -1,49 +1,64 @@ . +***********************************************************************/ + 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 - $demo_text = ""; - if ($allow_demo_mode == True) + if ($allow_demo_mode == true) { - $demo_text = "Login as user: demouser and password: cooldemo"; - } - else + $demo_text = _("Login as user: demouser and password: password"); + } + else { - $demo_text = "Please login here"; + $demo_text = _("Please login here"); } if (!isset($def_coy)) $def_coy = 0; + $def_theme = $path_to_root . '/themes/default'; ?> - +'.get_js_png_fix().''; ?> <?php echo $app_title . " " . $version;?> - - + + - +
FrontAccountingFrontAccounting
- + - + - + - - + + + + +--> - +




+ - + @@ -51,26 +66,28 @@ function defaultCompany() - + - + - +