X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fcore%2Fpassword_prompt.tpl;h=8ea84de0024038054e0bdc84a9990b0440a968f4;hb=96b778a679b261235ede8c5c4e7356680f4e5895;hp=9bab8e98773ff59ba25d8d100bc574dc2c54c3a5;hpb=a88f005d4257a040a397d4958c3beb059a9e00ec;p=platal.git diff --git a/templates/core/password_prompt.tpl b/templates/core/password_prompt.tpl index 9bab8e9..8ea84de 100644 --- a/templates/core/password_prompt.tpl +++ b/templates/core/password_prompt.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2011 Polytechnique.org *} +{* Copyright (C) 2003-2014 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,7 +20,7 @@ {* *} {**************************************************************************} -{if t($referer) || $platal->pl_self() neq 'login'} +{if t($external_auth) || $platal->pl_self() neq 'login'}

Accès restreint

@@ -31,7 +31,7 @@ {else} la page que vous avez demandée {/if} - ({if t($referer)}{$smarty.server.HTTP_REFERER|truncate:120:"...":false}{else}{$globals->baseurl}/{$platal->pl_self()}{/if}) + ({if t($external_auth)}{$ext_url|truncate:120:"...":false}{else}{$globals->baseurl}/{$platal->pl_self()}{/if}) nécessite une authentification.

{else} @@ -153,6 +153,9 @@ + {if t($external_auth)} + + {/if} @@ -169,4 +172,4 @@ {/literal} -{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} +{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}