From 7e201e5a3a7e85aea89f076b89626604b6b2b7bb Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sun, 21 Oct 2012 02:50:06 +0200 Subject: Link to the HTTPs login page in the header Change the login link so that it points directly to the HTTPs version of the login page if "$DISABLE_HTTP_LOGIN" is set and if HTTP is used. Signed-off-by: Lukas Fleischer --- web/lib/aur.inc.php | 2 ++ web/template/header.php | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/web/lib/aur.inc.php b/web/lib/aur.inc.php index 93ae23b..018d5c8 100644 --- a/web/lib/aur.inc.php +++ b/web/lib/aur.inc.php @@ -298,6 +298,8 @@ function db_connect() { * @return void */ function html_header($title="") { + global $AUR_LOCATION; + global $DISABLE_HTTP_LOGIN; global $LANG; global $SUPPORTED_LANGS; diff --git a/web/template/header.php b/web/template/header.php index c78f1e3..265d638 100644 --- a/web/template/header.php +++ b/web/template/header.php @@ -63,7 +63,11 @@
  • + +
  • +
  • + -- cgit v1.2.3-70-g09d2