X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fminifiche.tpl;h=3d7942c2fa73df73d435874f79f1347af3bca20d;hb=9891bd15f772caef0c199a98f036e976bf4ab94a;hp=371026a18a8a4f5c263f89da9d0e32c809d87a57;hpb=bf517dafc122edf6ccd86847f0626cfd0df9f340;p=platal.git diff --git a/templates/include/minifiche.tpl b/templates/include/minifiche.tpl index 371026a..3d7942c 100644 --- a/templates/include/minifiche.tpl +++ b/templates/include/minifiche.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 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,140 @@ {* *} {**************************************************************************} - -{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.name_display} +
{/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 $c.sexe}•{/if} + {if !$c.dcd && ($c.inscrit || $smarty.session.auth eq AUTH_PUBLIC)}{/if} + {$c.name_display} + {if !$c.dcd && ($c.inscrit || $smarty.session.auth eq AUTH_PUBLIC)}{/if} +
+ +
+ {if $c.iso3166_1} + {$c.nat1}  {/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_2} + {$c.nat2}  {/if} + {if $c.iso3166_3} + {$c.nat3}  {/if} - {/if} - {/if} + {$c.promo_display}{if $c.eduname0}, {education_fmt name=$c.eduname0 url=$c.eduurl0 degree=$c.edudegree0 + grad_year=$c.edugrad_year0 field=$c.edufield0 program=$c.eduprogram0 sexe=$c.sexe}{* + *}{/if}{if $c.eduname1}, {education_fmt name=$c.eduname1 url=$c.eduurl1 degree=$c.edudegree1 + grad_year=$c.edugrad_year1 field=$c.edufield1 program=$c.eduprogram1 sexe=$c.sexe}{* + *}{/if}{if $c.eduname2}, {education_fmt name=$c.eduname2 url=$c.eduurl2 degree=$c.edudegree2 + grad_year=$c.edugrad_year2 field=$c.edufield2 program=$c.eduprogram2 sexe=$c.sexe}{* + *}{/if}{if $c.eduname3}, {education_fmt name=$c.eduname3 url=$c.eduurl3 degree=$c.edudegree3 + grad_year=$c.edugrad_year3 field=$c.edufield3 program=$c.eduprogram3 sexe=$c.sexe}{* + *}{/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} {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 +161,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 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}