X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fminifiche.tpl;h=0fd2a140cf60da357ae26b4088035c26510fadd2;hb=2ee89dbf5a138382a676e812877b21374d815f1f;hp=4fa451bbb2cb843ebc509c0dfc2230117eb1f85f;hpb=dd9bac8f7903e9924525ad8db3e38650ff5ad1b6;p=platal.git diff --git a/templates/include/minifiche.tpl b/templates/include/minifiche.tpl index 4fa451b..0fd2a14 100644 --- a/templates/include/minifiche.tpl +++ b/templates/include/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,116 +20,128 @@ {* *} {**************************************************************************} - -{if !$c.inscrit || $c.dcd}
{/if} -
- - - -
- {if $c.iso3166} - {$c.nat}  - {/if} - (X {$c.promo}{if $c.app0text}, {applis_fmt type=$c.app0type text=$c.app0text url=$c.app0url}{* - *}{/if}{if $c.app1text}, {applis_fmt type=$c.app1type text=$c.app1text url=$c.app1url}{/if}) - {if $c.dcd}décédé{if $c.sexe}e{/if} le {$c.deces|date_format}{/if} +
+
{if $smarty.session.auth ge AUTH_COOKIE} - {if !$c.dcd && !$c.wasinscrit} - clique ici si tu connais son adresse email ! +
+ {$c.prenom} {$c.nom} +
{/if} - {/if} -
-
-
- {if $smarty.session.auth ge AUTH_COOKIE} - {if !$c.wasinscrit && !$c.dcd} - {if $show_action eq ajouter} - {* - *}{icon name=add title="Ajouter à la liste de mes surveillances"} - {else} - {* - *}{icon name=cross title="Retirer de la liste de mes surveillances"} - {/if} - {elseif $c.wasinscrit} - {* - *}{icon name=user_suit title="Afficher la fiche"} - {if !$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 $c.iso3166} + {$c.nat}  {/if} + X {$c.promo}{if $c.app0text}, {applis_fmt type=$c.app0type text=$c.app0text url=$c.app0url}{* + *}{/if}{if $c.app1text}, {applis_fmt type=$c.app1type text=$c.app1text url=$c.app1url}{/if}{* + *}{if $c.dcd}, décédé{if $c.sexe}e{/if} le {$c.deces|date_format}{/if} +
+
+ + {if $smarty.session.auth ge AUTH_COOKIE} + -
+ {/if}
- {if $c.wasinscrit} + {if $c.wasinscrit || !$c.dcd} {if $c.web || $c.mobile || $c.countrytxt || $c.city || $c.region || $c.entreprise || $c.freetext || (!$c.dcd && !$c.actif )} {if $c.web} - + {/if} - {if $c.countrytxt || $c.city} + {if ($c.countrytxt || $c.city) && !$c.dcd} - + {/if} {if $c.mobile && !$c.dcd} - + {/if} {if $c.entreprise} - + {/if} {if $c.freetext} - + {/if} - {if !$c.dcd && !$c.actif && $c.wasinscrit && $smarty.session.auth ge AUTH_COOKIE} + {if !$c.dcd && (!$c.actif || !$c.wasinscrit) && $smarty.session.auth ge AUTH_COOKIE} {/if} @@ -137,8 +149,6 @@ {/if} {/if} - -{if !$c.inscrit || $c.dcd}{/if} {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}
Page web:Page web : {$c.web}
Géographie:Géographie : {$c.city}{if $c.city && $c.countrytxt}, {/if}{$c.countrytxt}
Mobile:Mobile : {$c.mobile}
Profession:Profession : - {$c.entreprise} {if $c.secteur}({$c.secteur}){/if} - {if $c.fonction}
{$c.fonction}{/if} + {if $c.job_web}{$c.entreprise}{else}{$c.entreprise}{/if} + {if $c.secteur} ({$c.secteur}){/if}{if $c.fonction}
{$c.fonction}{/if}
Commentaire:Commentaire : {$c.freetext|nl2br}
- Ce camarade n'a plus d'adresse de redirection valide. - - Si tu en connais une, n'hésite pas à nous la transmettre + {if !$c.wasinscrit} + Ce{if $c.sexe}tte{/if} camarade n'est pas inscrit{if $c.sexe}e{/if}. + Si tu connais son adresse email, + n'hésite pas à nous la transmettre ! + {elseif !$c.actif} + Ce{if $c.sexe}tte{/if} camarade n'a plus d'adresse de redirection valide. + + Si tu en connais une, n'hésite pas à nous la transmettre. + {/if}