X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fgeneral.tpl;h=ab8b2d708317af6d74df5c3bf2342ae0d84c4d7a;hb=bde2be3b1777bf1f66c6d2b2cdecc361d6191911;hp=9eebac857a797e874fcc7f38c690c1a21cae7a4a;hpb=b235d980e6d9b3e1e815da91465b2a6a32f46191;p=platal.git diff --git a/templates/profile/general.tpl b/templates/profile/general.tpl index 9eebac8..ab8b2d7 100644 --- a/templates/profile/general.tpl +++ b/templates/profile/general.tpl @@ -271,15 +271,27 @@ - - Téléphone mobile + + Téléphones personnels - - - - {include file="include/flags.radio.tpl" name="mobile_pub" val=$mobile_pub} - + + + + {foreach from=$tels key=telid item=tel} +
+ {include file="profile/phone.tpl" prefname='tels' prefid='tels' telid=$telid tel=$tel} +
+ {/foreach} + {if $tels|@count eq 0} +
+ {include file="profile/phone.tpl" prefname='tels' preid='tels' telid=0 tel=0} +
+ {/if} +
+ + {icon name=add title="Ajouter un téléphone"}Ajouter un téléphone + +
{if $email_error}