X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fprofile.tpl;h=6128b541ddccc6048cfd36dc6522c20931c32425;hb=3eecf0af78053b349c716279ae0ba00a2af5fdb0;hp=ad3816db9d85a8e8424bfac65267c4cd607333b1;hpb=a0c034efcf0777541e087500e94853f515cda1ca;p=platal.git diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl index ad3816d..6128b54 100644 --- a/templates/profile/profile.tpl +++ b/templates/profile/profile.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2009 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -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}