X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fjobs.job.tpl;h=9d5e89036272505731586b3d5d8b6276b02c7336;hb=7f12e3b4113791f3372f11572a205925d7bb6b97;hp=d83b6a266ceff400be02d199422d030a39d57128;hpb=0c50ac76147e7c3bffa90501559bdef63bb689e3;p=platal.git diff --git a/templates/profile/jobs.job.tpl b/templates/profile/jobs.job.tpl index d83b6a2..9d5e890 100644 --- a/templates/profile/jobs.job.tpl +++ b/templates/profile/jobs.job.tpl @@ -108,16 +108,7 @@ contacte-nous. - - - E-mail professionnel : - - - {include file="include/flags.radio.tpl" name="`$jobpref`[email_pub]" val=$job.mail_pub} - - - + {include file="include/emails.combobox.tpl" name=$jobpref|cat:'[email]' val=$job.email class="pair" i=$i error=$job.email_error}
@@ -129,33 +120,24 @@ {include file="geoloc/form.address.tpl" name="`$jobpref`[adr]" id="`$jobid`_adr" adr=$job.adr}
-
-
Téléphone
-
- {include file="include/flags.radio.tpl" name="`$jobpref`[tel_pub]" val=$job.tel_pub} + + + + + {foreach from=$job.tel key=t item=tel} +
+ {include file="profile/phone.tpl" prefname="`$jobpref`[tel]" prefid="`$jobid`_tel" telid=$t tel=$tel} +
+ {/foreach} + {if $job.tel|@count eq 0} +
+ {include file="profile/phone.tpl" prefname="`$jobpref`[tel]" prefid="`$jobid`_tel" telid=0 tel=0}
- - - - - - - - - - - - - -
Bureau : - -
Fax : -
Mobile : - -
+ {/if} +