From: Florent Bruneau Date: Mon, 5 May 2008 10:48:58 +0000 (+0200) Subject: Improve public mini-profile. X-Git-Tag: core/1.0.0~207 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=580f48604ad7f9b06ec72607af67ba20a03e5517;p=platal.git Improve public mini-profile. Signed-off-by: Florent Bruneau --- diff --git a/templates/include/minifiche.tpl b/templates/include/minifiche.tpl index 04f6803..f739586 100644 --- a/templates/include/minifiche.tpl +++ b/templates/include/minifiche.tpl @@ -23,10 +23,12 @@
+ {if $smarty.session.auth ge AUTH_COOKIE}
{$c.prenom} {$c.nom}
+ {/if}
{if $c.sexe}•{/if} @@ -50,9 +52,9 @@
+ {if $smarty.session.auth ge AUTH_COOKIE}
- {if $smarty.session.auth ge AUTH_COOKIE} {if !$c.wasinscrit && !$c.dcd} {if $show_action eq ajouter} {* @@ -76,7 +78,6 @@ {/if} {/if} {/if} - {/if}
{if hasPerm('admin')} @@ -92,6 +93,7 @@ {/if}
+ {/if}
{if $c.wasinscrit}