{**************************************************************************} {* *} {* Copyright (C) 2003-2009 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} {* it under the terms of the GNU General Public License as published by *} {* the Free Software Foundation; either version 2 of the License, or *} {* (at your option) any later version. *} {* *} {* This program is distributed in the hope that it will be useful, *} {* but WITHOUT ANY WARRANTY; without even the implied warranty of *} {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *} {* GNU General Public License for more details. *} {* *} {* You should have received a copy of the GNU General Public License *} {* along with this program; if not, write to the Free Software *} {* Foundation, Inc., *} {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} {assign var=profile value=$user->profile()} {assign var=dead value=$profile->deathdate} {if $user->state neq 'pending'} {assign var=registered value=true} {else} {assign var=registered value=false} {/if} {if $smarty.session.auth ge AUTH_COOKIE} {assign var=withAuth value=true} {else} {assign var=withAuth value=false} {/if}
{if $withAuth}
{$profile->directory_name}
{/if}
{if $profile->isFemale()}•{/if} {if !$dead && (!$registered || $withAuth)}{/if} {$profile->full_name} {if !$dead && (!$registered || $withAuth)}{/if}
{if $profile->nationality1} {$profile->nationality1}  {/if} {if $profile->nationality2} {$profile->nationality2}  {/if} {if $profile->nationality3} {$profile->nationality3}  {/if} {$profile->promo()}{* *}{iterate from=$profile->getExtraEducations(4) item=edu}, {education_fmt edu=$edu profile=$profile}{/iterate}{* *}{if $dead}, {"décédé"|sex:"décédée":$user} le {$orfile->deathdate|date_format}{/if}
{if $withAuth}
{if !$registered && !$dead} {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 $registered} {* *}{icon name=user_suit title="Afficher la fiche"} {if !$dead} {* *}{icon name=vcard title="Afficher la carte de visite"} {* *}{icon name=email title="Envoyer un email"} {if !$smarty.session.user->isContact($user)} {* *}{icon name=add title="Ajouter à mes contacts"} {else} {* *}{icon name=cross title="Retirer de mes contacts"} {/if} {/if} {/if}
{if hasPerm('admin')}
[{if $registered && !$dead} {* *}{icon name=email title="marketter user"} {/if} {* *}{icon name=wrench title="administrer user"} {* *}{icon name=user_gray title="fiche AX"}]
{/if}
{/if}
{if !$dead} {assign var=address value=$profile->getMainAddress()} {if $c.web || $c.mobile || $address.country || $c.entreprise || (!$dead && !$registered)} {if $c.web} {/if} {if $address.country} {/if} {if $c.mobile && !$dead} {/if} {if $c.entreprise} {/if} {if $withAuth} {if !$registered} {elseif $user->state neq 'disabled' && $user->lost} {/if} {/if}
Page web : {$c.web}
Géographie : {if $address.locality}{$address.locality}, {/if}{$address.country}
Mobile : {$c.mobile}
Profession : {if $c.job_web}{$c.entreprise}{else}{$c.entreprise}{/if} {if $c.secteur} ({$c.secteur}){/if}{if $c.fonction}
{$c.fonction}{/if}
{"Ce"|sex:"Cette":$user} camarade n'est pas {"inscrit"|sex:"inscrite":$user}. Si tu connais son adresse email, n'hésite pas à nous la transmettre !
{"Ce"|sex:"Cette":$user} camarade n'a plus d'adresse de redirection valide. Si tu en connais une, n'hésite pas à nous la transmettre.
{/if} {/if}
{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}