X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fprofile.tpl;h=6128b541ddccc6048cfd36dc6522c20931c32425;hb=1bdd08a7de89e6e1f3b26e1817ab109106295801;hp=e6a0cd3091c02d97f85d91184e1d4aabc5868f3c;hpb=0783a5ed4d3409bcd7a7e1d908696159999810c8;p=platal.git
diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl
index e6a0cd3..6128b54 100644
--- a/templates/profile/profile.tpl
+++ b/templates/profile/profile.tpl
@@ -113,7 +113,7 @@ function chgMainWinLoc(strPage)
{/if}
{if $x.mobile}
- Mobile : {$x.mobile}
+ {if $x.dcd}Dernier m{else}M{/if}obile : {$x.mobile}
{/if}
@@ -138,6 +138,11 @@ function chgMainWinLoc(strPage)
{if $x.adr}
Contact :
+ {if $x.dcd}
+ {assign var=address_name value="Dernière adresse"}
+ {else}
+ {assign var=address_name value="Adresse"}
+ {/if}
{foreach from=$x.adr item="address" name=adresses}
{if $smarty.foreach.adresses.iteration is even}
{assign var=pos value="right"}
@@ -145,13 +150,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=$address_name|@cat:" 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=$address_name|@cat:" 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=$address_name|@cat:" principale :"
for="`$x.prenom` `$x.nom`" pos=$pos}
{/if}
{if $smarty.foreach.adresses.iteration is even}
{/if}