{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2007 Polytechnique.org *}
+{* Copyright (C) 2003-2008 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{if $photo_url}<img alt="Photo de {$x.forlife}" src="{$photo_url}" width="{$x.x}"/>{/if}
{if $logged && ( $x.section|smarty:nodefaults || $x.binets_join|smarty:nodefaults || $x.gpxs_join|smarty:nodefaults)}
<h2>A l'X...</h2>
- {if $x.section}<div><em class="intitule">Section : </em><span>{$x.section}</span></div>{/if}
- {if $x.binets_join}<div><em class="intitule">Binet(s) : </em><span>{$x.binets_join}</span></div>{/if}
- {if $x.gpxs_join}<div><em class="intitule">Groupe(s) et institution(s) X : </em><span><br/>{$x.gpxs_join|smarty:nodefaults}</span></div>{/if}
+ {if $x.section}<div><em class="intitule">Section : </em><span>{$x.section}</span></div>{/if}
+ {if $x.binets_join}<div><em class="intitule">Binet(s) : </em><span>{$x.binets_join}</span></div>{/if}
+ {if $x.gpxs_join}<div><em class="intitule">Groupe(s) et institution(s) X : </em><span><br/>{$x.gpxs_join|smarty:nodefaults}</span></div>{/if}
{/if}
{if $x.freetext}
<h2>Commentaires :</h2>
{/if}
{if $x.web} <a href="{$x.web}">{icon name="world_go" title="Site Web"}</a>{/if}
{if $logged}
- <a href="vcard/{$x.forlife}.vcf">{*
- *}{icon name=vcard title="Afficher la carte de visite"}</a>
+ {if !$x.dcd}<a href="vcard/{$x.forlife}.vcf">{*
+ *}{icon name=vcard title="Afficher la carte de visite"}</a>{/if}
{if !$x.is_contact}
<a href="javascript:chgMainWinLoc('carnet/contacts?action=ajouter&user={$x.forlife}')">
{icon name=add title="Ajouter à mes contacts"}</a>
{/if}
{if $x.mobile}
<div class="mob">
- <em class="intitule">Mobile : </em>{$x.mobile}
+ <em class="intitule">Mobile : </em>{$x.mobile}
</div>
{/if}
<div class='spacer'></div>
</div>
{if $x.adr}
<div class="part">
- <h2>Contact : </h2>
+ <h2>Contact : </h2>
{foreach from=$x.adr item="address" name=adresses}
{if $smarty.foreach.adresses.iteration is even}
{assign var=pos value="right"}
{assign var=pos value="left"}
{/if}
{if $address.active}
- {include file="geoloc/address.tpl" address=$address titre_div=true titre="Mon adresse actuelle :"
+ {include file="geoloc/address.tpl" address=$address titre_div=true titre="Mon adresse actuelle :"
for="`$x.prenom` `$x.nom`" pos=$pos}
{elseif $address.secondaire}
- {include file="geoloc/address.tpl" address=$address titre_div=true titre="Adresse secondaire :"
+ {include file="geoloc/address.tpl" address=$address titre_div=true titre="Adresse secondaire :"
for="`$x.prenom` `$x.nom`" pos=$pos}
{else}
- {include file="geoloc/address.tpl" address=$address titre_div=true titre="Adresse principale :"
+ {include file="geoloc/address.tpl" address=$address titre_div=true titre="Adresse principale :"
for="`$x.prenom` `$x.nom`" pos=$pos}
{/if}
{if $smarty.foreach.adresses.iteration is even}<div class="spacer"></div>{/if}
{/if}
{if $x.adr_pro}
<div class="part">
- <h2>Informations professionnelles :</h2>
+ <h2>Informations professionnelles :</h2>
{foreach from=$x.adr_pro item="address" key="i"}
{if $i neq 0}<hr />{/if}
{include file="include/emploi.tpl" address=$address}
- {include file="geoloc/address.tpl" address=$address titre="Adresse : " for=$address.entreprise pos="left"}
+ {include file="geoloc/address.tpl" address=$address titre="Adresse : " for=$address.entreprise pos="left"}
<div class="spacer"> </div>
{/foreach}
</div>
{/if}
{if $x.medals}
<div class="part">
- <h2>Distinctions : </h2>
+ <h2>Distinctions : </h2>
{foreach from=$x.medals item=m}
<div class="medal_frame">
<img src="profile/medal/{$m.id}" width="24" alt="{$m.medal}" title="{$m.medal}" style='float: left;' />
{/if}
{if $logged && $x.cv}
<div class="part">
- <h2>Curriculum Vitae :</h2>
+ <h2>Curriculum Vitae :</h2>
{$x.cv|miniwiki:title|smarty:nodefaults}
</div>
{/if}