From 6bac561bf8cdbdb979417326173ace7a05ea391b Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Sat, 24 Jan 2009 00:40:30 -0500 Subject: Rework login form. Correct some xhtml validation errors. Correct translation usage. Signed-off-by: Loui Chang --- web/template/header.php | 2 -- web/template/login_form.php | 50 +++++++++++++++++++++++---------------------- 2 files changed, 26 insertions(+), 26 deletions(-) (limited to 'web/template') diff --git a/web/template/header.php b/web/template/header.php index 94e7109..610338d 100644 --- a/web/template/header.php +++ b/web/template/header.php @@ -68,7 +68,6 @@ if (isset($_COOKIE["AURSID"])) {
-
  • Lang:
  • $lang_name) { } ?>
-
diff --git a/web/template/login_form.php b/web/template/login_form.php index 1eba5cf..6ada88b 100644 --- a/web/template/login_form.php +++ b/web/template/login_form.php @@ -1,27 +1,29 @@ - - ", username_from_sid($_COOKIE["AURSID"]), "")); +
+' . username_from_sid($_COOKIE["AURSID"]) . ''); ?> -
+ [] " . $login_error . "
\n"; - } - ?> -
- - - - - - " /> -
- - +} +else { + if ($login_error) { + print "" . $login_error . "
\n"; + } +?> +
+
+ + + + + + " /> +
+
+ +
-- cgit v1.2.3-70-g09d2