X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Flists%2Fcreate.tpl;h=b5395cc48c672393583d685b7ca26601670d2c43;hb=51d30e26b6ad69245d0d469f3c8b6b530c64332a;hp=144d34b1f1cb82813a0151ec1ac034c26830fe52;hpb=7a5719a29c3266f9730329fb0558dde04755564d;p=platal.git diff --git a/templates/lists/create.tpl b/templates/lists/create.tpl index 144d34b..b5395cc 100644 --- a/templates/lists/create.tpl +++ b/templates/lists/create.tpl @@ -62,7 +62,8 @@ liste : Promotion : + {assign var="profile" value=$smarty.session.user->profile()} + {if $smarty.post.promo}value='{$smarty.post.promo}'{else}value='{$profile->yearpromo()}'{/if} /> Par exemple : 2004