From 89e9c53a3020172b5e4677fe4cbb8c2578b360e8 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Tue, 5 May 2015 10:02:00 +0000 Subject: [PATCH] auth : if the user is already authenticated and the URL back is provided, add a link to the defined URL git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2140 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- auth.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/auth.php b/auth.php index 5882e79..91f8c9d 100644 --- a/auth.php +++ b/auth.php @@ -104,6 +104,10 @@ class auth $res .= "

$alreadyAuth

\n"; $res .= "

". dgettext ("domframework", "Click here to logout")."

\n"; + if ($url !== "") + $res .= "

". + dgettext ("domframework", "Go back to the calling page"). + "

\n"; } if ($message !== "" && $message !== null) $res .= "
$message
\n";