X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fcore%2Fpassword_prompt.tpl;h=e16de144d8940b520f05cecc5afe284fc857be69;hb=6c85148b00f7b0b8d4c39393069ddc97b657044a;hp=89500ffbda10a19794628c7d6c21a003208c3f7b;hpb=5ddeb07cc787dd1dc3630a31f1528f5cc7c4d9b9;p=platal.git diff --git a/templates/core/password_prompt.tpl b/templates/core/password_prompt.tpl index 89500ff..e16de14 100644 --- a/templates/core/password_prompt.tpl +++ b/templates/core/password_prompt.tpl @@ -30,13 +30,15 @@
-{if $smarty.server.HTTP_REFERER} +{if $referer || $platal->pl_self() neq 'login'}
Bonjour,
- La page que vous avez demandez ({$smarty.server.HTTP_REFERER}) nécessite une authentification
+ La page que vous avez demandé
+ ({if $referer}{$smarty.server.HTTP_REFERER}{else}{$globals->baseurl}/{$platal->pl_self()}{/if})
+ nécessite une authentification.