X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fphone.tpl;h=376b95693ba673371bac04b3313bed429421a14c;hb=e156780ac71c0965c725edc1f88a70a8469e4b50;hp=767e3d1f870534470788076137000a134e887fb3;hpb=245923e335d0da5bec9495991a7846be9f0563ab;p=platal.git diff --git a/templates/profile/phone.tpl b/templates/profile/phone.tpl index 767e3d1..376b956 100644 --- a/templates/profile/phone.tpl +++ b/templates/profile/phone.tpl @@ -49,8 +49,12 @@
- {include file="include/flags.radio.tpl" name="`$telpref`[pub]" - val=$tel.pub disabled=$hiddentel} + {if t($mainField)} + {include file="include/flags.radio.tpl" name="`$telpref`[pub]" val=$tel.pub disabled=$hiddentel + mainField=$mainField mainId=$mainId subField=$subField subId=$telid} + {else} + {include file="include/flags.radio.tpl" name="`$telpref`[pub]" val=$tel.pub disabled=$hiddentel} + {/if}
Commentaire :