X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Ftrombino.tpl;h=6da5a5484794248fee279222b7d59ad22fd4e433;hb=1eddb8dcd2185df6d81f04392063c45a298661b4;hp=1afa5c264062ae0440cc61139a4b3e4c4c862aba;hpb=be638e733bce413df4324d985297d9a4d94dcbca;p=platal.git diff --git a/templates/profile/trombino.tpl b/templates/profile/trombino.tpl index 1afa5c2..6da5a54 100644 --- a/templates/profile/trombino.tpl +++ b/templates/profile/trombino.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2014 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -23,9 +23,10 @@

Trombinoscope

-
+ {xsrf_token_field} - {if ($session.promo ge 1995) || ($session.promo le 2002)} + {assign var="profile" value=$smarty.session.user->profile()} + {if $profile && (($profile->yearpromo() ge 1995) || ($profile->yearpromo() le 2002))}

Si tu n'as pas encore fourni de photo, c'est celle du trombinoscope de l'X qui est affichée par défaut dans le profil. Si elle ne te plaît pas, ou si tu n'es quand même @@ -44,11 +45,11 @@ -  [ PHOTO ] +  [ PHOTO ] {if $submited} -  [ PHOTO ] +  [ PHOTO ] {else} Pas d'image soumise {/if} @@ -64,12 +65,12 @@ - Actions immédiates + Action non modérée - Si tu ne souhaites plus montrer cette photo tu peux aussi l'effacer en la remplaçant par :
+ Si tu ne souhaites plus montrer cette photo tu peux aussi l'effacer en la remplaçant par :
{if $has_trombi_x}
{/if} @@ -77,7 +78,7 @@ {if $submited} - Tu peux annuler ta soumission et garder ta photo actuelle :
+ Tu peux annuler ta soumission et garder ta photo actuelle :
{/if} @@ -96,7 +97,7 @@

Si elle est sur Internet, choisis la seconde solution et nos robots iront la télécharger - directement où il faut :-) + directement où il faut.

@@ -130,4 +131,4 @@
-{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} +{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}