Finish closing #20: show who need auth
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 12 Dec 2006 22:15:38 +0000 (22:15 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 12 Dec 2006 22:15:38 +0000 (22:15 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1271 839d8a87-29fc-0310-9880-83ba4fa771e5

ChangeLog
templates/password_prompt.tpl

index 286ad0b..98cb352 100644 (file)
--- 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
 
index 96cfbeb..401d644 100644 (file)
   </p>
 </noscript>
 
+{if $smarty.server.HTTP_REFERER}
+<h1>
+  Accès restreint
+</h1>
+<p>
+  Bonjour,<br />
+  La page que vous avez demandez (<strong>{$smarty.server.HTTP_REFERER}</strong>) nécessite une authentification
+</p>
+{else}
 <h1>
   Accès réservé aux Polytechniciens
 </h1>
+{/if}
 {if $smarty.session.auth ge AUTH_COOKIE}
 <p>
 <strong>Merci de rentrer ton mot de passe pour démarrer une connexion au site.</strong>