X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fadresses.address.tpl;h=69dd6d0ee7ea7baaa79ce609b5e601aa94267627;hb=7937d89ecfc74726af9ae64d9211d53e6bbcc4e5;hp=207b1e0bd01027924807b98801e12aa89a9e61ca;hpb=3c2a69dc96bae79936c677be7fb7554a43c555bc;p=platal.git diff --git a/templates/profile/adresses.address.tpl b/templates/profile/adresses.address.tpl index 207b1e0..69dd6d0 100644 --- a/templates/profile/adresses.address.tpl +++ b/templates/profile/adresses.address.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2010 Polytechnique.org *} +{* Copyright (C) 2003-2014 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -40,7 +40,7 @@
+ |
| ||
---|---|---|---|
+ {include file="include/flags.radio.tpl" name="`$prefname`[pub]" val=$address.pub mainField='addresses' mainId=$i subField='phones' subId=-1} + | +|||
-
- {include file="include/flags.radio.tpl" name="`$prefname`[pub]" val=$address.pub}
-
-
-
- {include file="geoloc/form.address.tpl" prefname=$prefname prefid=$prefid address=$address id=$i}
-
+ Adresse postale :{$address.postalText|nl2br} + |
+ + {else} + |
+ {/if}
|
|
+ |
{foreach from=$address.phones key=t item=tel}
-
- {include file="profile/phone.tpl" prefname="`$prefname`[phones]"
- prefid="`$prefid`_tel" telid=$t tel=$tel}
+
+ {include file="profile/phone.tpl" prefname="`$prefname`[phones]" prefid="`$prefid`_phones" telid=$t tel=$tel
+ subField='phones' mainField='addresses' mainId=$i}
{/foreach}
{if $address.phones|@count eq 0}
-
- {include file="profile/phone.tpl" prefname="`$prefname`[phones]" prefid="`$prefid`_tel" telid=0 tel=0}
+
+ {include file="profile/phone.tpl" prefname="`$prefname`[phones]" prefid="`$prefid`_phones" telid=0 tel=0
+ subField='phones' mainField='addresses' mainId=$i}
{/if}
- |