From cba23e79291215de08813a23975468d3d04cf8fa Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Wed, 16 Jan 2008 21:25:49 +0000 Subject: [PATCH] When login screen is displayed after session timeout page content is broken. It is because of NOT using absolute paths in href attribute theme elements. --- CHANGELOG.txt | 5 +++++ access/login.php | 39 ++++++++++++++++++++------------------- 2 files changed, 25 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index d2ca9fb..1302cd3 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,11 @@ Legend: ! -> Note $ -> Affected files +16-Jan-2008 Joe Hunt + # When login screen is displayed after session timeout page content is broken. It + is because of NOT using absolute paths in href attribute theme elements. + $ /access/login.php + 30-Dec-2007 Joe Hunt # Minor adjustments in function db_export on line 325 $ /admin/db/maintenance_db.inc diff --git a/access/login.php b/access/login.php index 1298949..9fd3356 100644 --- a/access/login.php +++ b/access/login.php @@ -4,16 +4,17 @@ 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 + } + else { $demo_text = "Please login here"; } if (!isset($def_coy)) $def_coy = 0; + $def_theme = $path_to_root . '/themes/default'; ?> @@ -26,13 +27,13 @@ function defaultCompany() <?php echo $app_title . " " . $version;?> - + - + @@ -45,7 +46,7 @@ function defaultCompany()
FrontAccountingFrontAccounting
- + @@ -53,9 +54,9 @@ function defaultCompany() - + - + - + - + - - + + + +--> - +