From 0928525793482d159b73f6efb686ed3802f2dd9b Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Wed, 23 May 2012 13:58:18 -0400 Subject: Move login form to a separate page Do not show the login form on every page. Move it to a separate login page and add a link to the navigation bar. Also, add a logout link for logged-in users. Signed-off-by: Lukas Fleischer Signed-off-by: canyonknight --- web/html/login.php | 55 +++++++++++++++++++++++++++++++++++++++++++++ web/lib/aur.inc.php | 10 --------- web/template/header.php | 5 +++-- web/template/login_form.php | 38 ------------------------------- 4 files changed, 58 insertions(+), 50 deletions(-) create mode 100644 web/html/login.php delete mode 100644 web/template/login_form.php diff --git a/web/html/login.php b/web/html/login.php new file mode 100644 index 0000000..7f4f342 --- /dev/null +++ b/web/html/login.php @@ -0,0 +1,55 @@ + +
+

AUR

+ +

+ ' . username_from_sid($_COOKIE["AURSID"]) . ''); ?> + [] +

+ +
+
+ + +
+ +

+ + +

+

+ + +

+

+ + +

+

+ " /> + [] +

+
+
+ +

+ ', ''); ?> +

+ +
+
  • ">
  • +
  • + +
  • - -
    -' . username_from_sid($_COOKIE["AURSID"]) . ''); -?> - [] -" . $login_error . "
    \n"; - } -?> -
    -
    - - - - - - - " /> - [] -
    -
    - - - ', ''); ?> - - -
    -- cgit v1.2.3-70-g09d2