X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fphone.tpl;h=9169e3b0426ef95edbb6308a589e63ae8c4f9942;hb=43c653a10a1c75be317696bf4c66db555606d39e;hp=767e3d1f870534470788076137000a134e887fb3;hpb=245923e335d0da5bec9495991a7846be9f0563ab;p=platal.git diff --git a/templates/profile/phone.tpl b/templates/profile/phone.tpl index 767e3d1..9169e3b 100644 --- a/templates/profile/phone.tpl +++ b/templates/profile/phone.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2010 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -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 :