{**************************************************************************} {* *} {* Copyright (C) 2003-2010 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 *} {* *} {**************************************************************************} {literal} {/literal}
{assign var=photo value=$profile->getPhoto(false)} {if $photo}Photo de {$profile->fullName()}{/if} {if $logged && ( $profile->section|smarty:nodefaults || $profile->getBinets()|smarty:nodefaults || ($o && $owner->groups()|smarty:nodefaults))}

À l'X…

{if $profile->section}
Section : {$profile->section}
{/if} {assign var=binets value=$profile->getBinets()} {if $binets|@count}
Binet{if count($binets) > 1}s{/if} : {', '|implode:$profile->getBinetsNames()}
{/if} {if $o} {assign var=groups value=$owner->groupNames(true)} {if $groups|@count}
Groupe{if count($groups) > 1}s{/if} et institution{if count($groups) > 1}s{/if} X :
{foreach from=$groups item=group key=gk}{if $gk != 0}, {/if}{$group.nom}{/foreach}
{/if} {/if} {/if} {assign var=networking value=$profile->getNetworking(0)} {if count($networking) > 0}

Sur le web...

{foreach from=$networking item=network} {$network.name} {if $network.filter == 'web'} {$network.address} {elseif $network.link != ''} {$network.address} {else} {$network.address} {/if}
{/foreach} {/if} {if $profile->freetext}

Commentaires :

{$profile->freetext|miniwiki|smarty:nodefaults} {/if}
{if $profile->isFemale()}•{/if} name_tooltip neq ""}class="hinted" title="{$profile->name_tooltip}"{/if}>{$profile->shortName()} {if $logged} {if $profile->nickname} (alias {$profile->nickname}){/if} {/if} {if $logged}  {if !$profile->isDead()}{* *}{icon name=vcard title="Afficher la carte de visite"}{/if} {if !$smarty.session.user->isContact($p)} {icon name=add title="Ajouter à mes contacts"} {else} {icon name=cross title="Retirer de mes contacts"} {/if} {if hasPerm('admin')} {icon name=wrench title="administrer user"} {/if} {if $owner->login() eq $smarty.session.hruid} {icon name="user_edit" title="Modifier ma fiche"} {/if} {/if}
{if $logged}
Fiche mise à jour
le {$profile->last_change|date_format}
{/if} {assign var=phones value=$profile->getPhones(0)} {if $logged || count($phones) > 0}
{if $logged} {/if} {if count($phones) > 0} {display_phones tels=$phones dcd=$profile->isDead()} {/if}
{/if}
{foreach from=$profile->nationalities() item=nat} {$nat}  {/foreach} {$profile->promo()} {if $logged && $profile->mentor_expertise} [Ma fiche référent] {/if} {assign var=educations value=$profile->getEducations(64)} {if count($educations) > 0}  - Formation :
    {foreach from=$educations item=edu}
  • {display_education edu=$edu profile=$p}
  • {/foreach}
{/if} {assign var=corps value=$profile->getCorps()} {if $corps && ($corps->current || $corps->original)}
    {if $corps->current}
  • {$corps->current_name} {$corps->current_rank} {/if} {if $corps->original}
  • {$corps->original_name} {/if}
{/if}
{assign var=addr value=$profile->getAddresses(3)} {if count($addr) > 0}

Contact :

{if $profile->isDead()} {assign var=address_name value="Dernière adresse"} {else} {assign var=address_name value="Adresse"} {/if} {foreach from=$addr item="address" name=addresses} {if $smarty.foreach.addresses.iteration is even} {assign var=pos value="right"} {else} {assign var=pos value="left"} {/if} {if $address->hasFlag('current')} {include file="geoloc/address.tpl" address=$address titre_div=true titre=$address_name|@cat:" actuelle :" for="`$profile->firstname` `$profile->lastname`" pos=$pos} {elseif $address->hasFlag('secondary')} {include file="geoloc/address.tpl" address=$address titre_div=true titre=$address_name|@cat:" secondaire :" for="`$profile->firstname` `$profile->lastname`" pos=$pos} {else} {include file="geoloc/address.tpl" address=$address titre_div=true titre=$address_name|@cat:" principale :" for="`$profile->firstname` `$profile->lastname`" pos=$pos} {/if} {if $smarty.foreach.addresses.iteration is even}
{/if} {/foreach}
{/if} {assign var=jobs value=$profile->getJobs(2)} {if count($jobs) > 0}

Informations professionnelles :

{foreach from=$jobs item="job" key="i"} {if $i neq 0}
{/if} {include file="include/emploi.tpl" job=$job} {if $job->address()} {include file="geoloc/address.tpl" address=$job->address titre="Adresse : " for=$job->company->name pos="left"} {/if}
 
{/foreach}
{/if} {assign var=medals value=$profile->getMedals()} {if count($medals) > 0}

Distinctions :

{foreach from=$medals item=m}
{$m.text}
{$m.text}
{$m.grade}
{/foreach}
 
{/if} {if $logged && $profile->cv}

Curriculum Vitae :

{$profile->cv|miniwiki:title|smarty:nodefaults}
{/if} {if $view eq 'public'}
Cette fiche est publique et visible par tout internaute,
vous pouvez aussi voir celle réservée aux X.
{elseif $view eq 'ax'}
Cette fiche est privée et ne recense que les informations transmises à l'AX.
{/if}
{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}