From fb2268d53ee8984fea94166aa933b3ed3c4e6f2c Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 8 Feb 2004 12:28:16 +0000 Subject: [PATCH] fixed HTML errors --- lam-0.4/templates/login.php | 40 ++++++++++++++----------------------- 1 file changed, 15 insertions(+), 25 deletions(-) diff --git a/lam-0.4/templates/login.php b/lam-0.4/templates/login.php index 262f3d34..3b4ef365 100644 --- a/lam-0.4/templates/login.php +++ b/lam-0.4/templates/login.php @@ -129,20 +129,8 @@ function display_LoginPage($config_object,$profile) - -

- -

- - - - + +
- + - - - - -
Logo @@ -193,7 +181,6 @@ function display_LoginPage($config_object,$profile) -
- "> + ">
+ " . $error_message . ""; + } + ?> +
@@ -244,9 +237,6 @@ function display_LoginPage($config_object,$profile) get_ServerURL(); ?>
- "> + ">
+ +

@@ -282,7 +272,7 @@ function display_LoginPage($config_object,$profile) } // checking if the submitted username/password is correct. -if($_POST['action'] == "checklogin") +if($_POST['checklogin']) { $_SESSION['lampath'] = realpath('../') . "/"; // Save full path to lam in session @@ -338,7 +328,7 @@ if($_POST['action'] == "checklogin") } } // Reload loginpage after a profile change -elseif($_POST['action'] == "profileChange") { +elseif($_POST['profileChange']) { $_SESSION['config'] = new Config($_POST['profile']); // Recreate the config object with the submited display_LoginPage($_SESSION['config'],""); // Load login page