X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fprofile.tpl;h=24b7972c5cfde6848bc44aa8bc829e44c91ecd99;hb=e4ecada44147bebc922da00e72324e7e9622a247;hp=7cb6cec4f5ebbf67dc848def5035e39eaa8f9043;hpb=581c33411f7125543dddbbe9ce77b277663aa7a6;p=platal.git diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl index 7cb6cec..24b7972 100644 --- a/templates/profile/profile.tpl +++ b/templates/profile/profile.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* 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 *} @@ -44,9 +44,9 @@ function chgMainWinLoc(strPage) {if $photo_url}Photo de {$x.forlife}{/if} {if $logged && ( $x.section|smarty:nodefaults || $x.binets_join|smarty:nodefaults || $x.gpxs_join|smarty:nodefaults)}

A l'X...

- {if $x.section}
Section : {$x.section}
{/if} - {if $x.binets_join}
Binet(s) : {$x.binets_join}
{/if} - {if $x.gpxs_join}
Groupe(s) et institution(s) X :
{$x.gpxs_join|smarty:nodefaults}
{/if} + {if $x.section}
Section : {$x.section}
{/if} + {if $x.binets_join}
Binet(s) : {$x.binets_join}
{/if} + {if $x.gpxs_join}
Groupe(s) et institution(s) X :
{$x.gpxs_join|smarty:nodefaults}
{/if} {/if} {if $x.freetext}

Commentaires :

@@ -62,8 +62,8 @@ function chgMainWinLoc(strPage) {/if} {if $x.web} {icon name="world_go" title="Site Web"}{/if} {if $logged} -  {* - *}{icon name=vcard title="Afficher la carte de visite"} +  {if !$x.dcd}{* + *}{icon name=vcard title="Afficher la carte de visite"}{/if} {if !$x.is_contact} {icon name=add title="Ajouter à mes contacts"} @@ -111,7 +111,7 @@ function chgMainWinLoc(strPage) {/if} {if $x.mobile}
- Mobile : {$x.mobile} + Mobile : {$x.mobile}
{/if}
@@ -135,7 +135,7 @@ function chgMainWinLoc(strPage) {if $x.adr}
-

Contact :

+

Contact :

{foreach from=$x.adr item="address" name=adresses} {if $smarty.foreach.adresses.iteration is even} {assign var=pos value="right"} @@ -143,13 +143,13 @@ function chgMainWinLoc(strPage) {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}
{/if} @@ -158,18 +158,18 @@ function chgMainWinLoc(strPage) {/if} {if $x.adr_pro}
-

Informations professionnelles :

+

Informations professionnelles :

{foreach from=$x.adr_pro item="address" key="i"} {if $i neq 0}
{/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"}
 
{/foreach}
{/if} {if $x.medals}
-

Distinctions :

+

Distinctions :

{foreach from=$x.medals item=m}
{$m.medal} @@ -183,7 +183,7 @@ function chgMainWinLoc(strPage) {/if} {if $logged && $x.cv}
-

Curriculum Vitae :

+

Curriculum Vitae :

{$x.cv|miniwiki:title|smarty:nodefaults}
{/if}