From: x2003bruneau Date: Tue, 12 Dec 2006 22:15:38 +0000 (+0000) Subject: Finish closing #20: show who need auth X-Git-Tag: xorg/0.9.13~194 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=f954402375d964a0cc9249be2e499078b1c2acbf;p=platal.git Finish closing #20: show who need auth git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1271 839d8a87-29fc-0310-9880-83ba4fa771e5 --- 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.