X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=access%2Flogin.php;h=295fd5372232c37673b725449ea6405af5bf75e8;hb=499e0e615d1a845c6c519754b3a213fdda0513ba;hp=5644151811e195cbd93c31dbdc909626cc5aa095;hpb=ea52d139c2309cc07ec2e37155a3fe304471c0fc;p=fa-stable.git diff --git a/access/login.php b/access/login.php index 56441518..295fd537 100644 --- a/access/login.php +++ b/access/login.php @@ -1,16 +1,26 @@ . +***********************************************************************/ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_to_root'])) - die("Restricted access"); + 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"; + $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; @@ -27,7 +37,7 @@ function defaultCompany() }