X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fgadgets%2Fig-minifiche.tpl;h=64a931ebd352ae9e36cbd60d6f3983caa2a45f03;hb=ecf2b474289f94932ff60ab18674610979d0e0db;hp=244fda48a779193d2173ac06bbafbab4844c3ea1;hpb=01ab5780ddaab6adf864c576205905ac37dfbe65;p=platal.git diff --git a/templates/gadgets/ig-minifiche.tpl b/templates/gadgets/ig-minifiche.tpl index 244fda4..64a931e 100644 --- a/templates/gadgets/ig-minifiche.tpl +++ b/templates/gadgets/ig-minifiche.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2009 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,13 +20,13 @@ {* *} {**************************************************************************} -{if !$c.inscrit || $c.dcd}
{/if} +{if (!$c.inscrit && $smarty.session.auth ge AUTH_COOKIE) || $c.dcd}
{/if}
{if $c.sexe}•{/if} - {if !$c.dcd && $c.inscrit}{/if} + {if !$c.dcd && ($c.inscrit || $smarty.session.auth eq AUTH_PUBLIC)}{/if} {if $c.nom_usage}{$c.nom_usage} {$c.prenom}
({$c.nom}){else}{$c.nom} {$c.prenom}{/if} - {if !$c.dcd && $c.inscrit}
{/if} + {if !$c.dcd && ($c.inscrit || $smarty.session.auth eq AUTH_PUBLIC)}{/if}
{if $c.iso3166} @@ -44,13 +44,13 @@ *}{icon name=cross title="Retirer de la liste de mes surveillances"} {/if} {elseif $c.wasinscrit && !$c.dcd} - {* + {* *}{icon name=vcard title="Afficher la carte de visite"} {if $show_action eq ajouter} - {* + {* *}{icon name=add title="Ajouter à mes contacts"} {else} - {* + {* *}{icon name=cross title="Retirer de mes contacts"} {/if} {/if} @@ -62,13 +62,13 @@ {if $c.countrytxt || $c.city} - + {/if} {if $c.mobile && !$c.dcd} - + {/if}
Géographie:Géographie : {$c.city}{if $c.city && $c.countrytxt}, {/if}{$c.countrytxt}
Mobile:Mobile : {$c.mobile}