X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Ftrombino.tpl;h=395b8fb3d8fdec34c02358d7164d554d8966854c;hb=5b48ebf46ef939d701852d2117bbcf308036027c;hp=559728e010cb9064999bf6b06397c34231d398a3;hpb=e46cf8c46341b447cc3701c8afcc9baec3da11e5;p=platal.git diff --git a/templates/profile/trombino.tpl b/templates/profile/trombino.tpl index 559728e..395b8fb 100644 --- a/templates/profile/trombino.tpl +++ b/templates/profile/trombino.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2011 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,7 +65,7 @@ - Actions immédiates + Action non modérée @@ -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.