X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=access%2Flogin.php;h=295fd5372232c37673b725449ea6405af5bf75e8;hb=499e0e615d1a845c6c519754b3a213fdda0513ba;hp=3f9a04af90c86038e6469e203de9bf3df551257f;hpb=da8311619dd73feae101d246a1957b972e00cbd2;p=fa-stable.git
diff --git a/access/login.php b/access/login.php
index 3f9a04af..295fd537 100644
--- a/access/login.php
+++ b/access/login.php
@@ -1,17 +1,30 @@
.
+***********************************************************************/
+ 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';
?>
@@ -20,30 +33,32 @@
function defaultCompany()
{
document.forms[0].company_login_name.options[].selected = true;
+ document.getElementById('ui_mode').value = 1;
}
-
-
+
+
- ![FrontAccounting](themes/default/images/logo_frontaccounting.png) |
+ ![FrontAccounting](<?php echo $def_theme;?>/images/logo_frontaccounting.png) |
-
|
+
|
|
-
+
-
+
-
-
+
+
+
|
+
+-->
-
+
|