From f954402375d964a0cc9249be2e499078b1c2acbf Mon Sep 17 00:00:00 2001 From: x2003bruneau Date: Tue, 12 Dec 2006 22:15:38 +0000 Subject: [PATCH] Finish closing #20: show who need auth git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1271 839d8a87-29fc-0310-9880-83ba4fa771e5 --- ChangeLog | 3 +++ templates/password_prompt.tpl | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index 286ad0b..98cb352 100644 --- a/ChangeLog +++ b/ChangeLog @@ -25,6 +25,9 @@ New: Bug/Wish: + * Auth: + - #20: Show who neea auth -FRU + * Admin: - #593: Admins can take temporarily user rights -FRU diff --git a/templates/password_prompt.tpl b/templates/password_prompt.tpl index 96cfbeb..401d644 100644 --- a/templates/password_prompt.tpl +++ b/templates/password_prompt.tpl @@ -30,9 +30,19 @@

+{if $smarty.server.HTTP_REFERER} +

+ Accès restreint +

+

+ Bonjour,
+ La page que vous avez demandez ({$smarty.server.HTTP_REFERER}) nécessite une authentification +

+{else}

Accès réservé aux Polytechniciens

+{/if} {if $smarty.session.auth ge AUTH_COOKIE}

Merci de rentrer ton mot de passe pour démarrer une connexion au site. -- 2.1.4