From 0e4b25211bc2d9629f0f848ea25a4c2fbcbfe339 Mon Sep 17 00:00:00 2001 From: Callan Barrett Date: Fri, 4 Jan 2008 01:27:17 +0900 Subject: Removes timeout page and moves login form to header This removes the need for a timeout page (and probably hacker.php) and moves the login form and status to the header. If your login times out you won't lose your place anymore and links will always work. Works for me but at the moment index_po.php is imported in aur.inc which has to stay until the translations from it for login are moved to aur_po.php. Signed-off-by: Callan Barrett --- web/template/header.php | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) (limited to 'web/template') diff --git a/web/template/header.php b/web/template/header.php index a931f57..5230dc5 100644 --- a/web/template/header.php +++ b/web/template/header.php @@ -65,8 +65,30 @@ foreach ($SUPPORTED_LANGS as $lang => $lang_name) {
  • Lang:
  • - -
    - +
    +
    +" . $login_error . "
    \n"; + } +?> +
    + + + + + +
    +", username_from_sid($_COOKIE["AURSID"]), "")); +} +?> +
    +
    +
    + -- cgit v1.2.3-70-g09d2