From 6d8a210beb72815a5920d92092a239dff39b4747 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Tue, 16 Sep 2014 11:40:27 +0000 Subject: [PATCH] BUG : auth : Add the path to the default login window to load the javascript git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1821 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- auth.php | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/auth.php b/auth.php index 6065463..f8075fe 100644 --- a/auth.php +++ b/auth.php @@ -11,22 +11,24 @@ class auth The url is the caller url to go back if authentication is correct @param string|null $message Message to display to the user @param string|null $url URL to go back after successful authentication */ - public function pageHTML ($message="", $url="") + public function pageHTML ($baseURL, $message="", $url="") { $res = ""; $res .= "\n"; $res .= "\n"; $res .= "\n"; - $res .= "Title\n"; + $res .= "".dgettext("domframework", "Sign in")."\n"; $res .= ""; $res .= "\n"; - $res .= "\n"; $res .= "\n"; + $res .= "$baseURL/public/css/bootstrap.css'/>\n"; $res .= "