From 580f48604ad7f9b06ec72607af67ba20a03e5517 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Mon, 5 May 2008 12:48:58 +0200 Subject: [PATCH] Improve public mini-profile. Signed-off-by: Florent Bruneau --- templates/include/minifiche.tpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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} -- 2.1.4