X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fjobs.job.tpl;h=9d5e89036272505731586b3d5d8b6276b02c7336;hb=f497128a7c26c25a64e05453ea479520149e2cb7;hp=bcda53984c97da2d385555b7957299bfddd83573;hpb=be6ab042d1dc34d9e42557281b48dd8da400231b;p=platal.git diff --git a/templates/profile/jobs.job.tpl b/templates/profile/jobs.job.tpl index bcda539..9d5e890 100644 --- a/templates/profile/jobs.job.tpl +++ b/templates/profile/jobs.job.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,9 +20,6 @@ {* *} {**************************************************************************} -{if $ajaxjob} - -{/if} {assign var=jobid value="job_`$i`"} {assign var=jobpref value="jobs[`$i`]"}
@@ -42,10 +39,10 @@
- {include file="include/flags.radio.tpl" notable=true display="div" name="`$jobpref`[pub]" value=$job.pub} + {include file="include/flags.radio.tpl" name="`$jobpref`[pub]" val=$job.pub}
Entreprise n°{$i+1} : - {icon name=cross title="Supprimer cet emploi"} @@ -62,7 +59,7 @@ Secteur d'activité - {iterate from=$secteurs item=secteur} contacte-nous. + {include file="include/emails.combobox.tpl" name=$jobpref|cat:'[email]' val=$job.email class="pair" i=$i error=$job.email_error}
Adresse
- {include file="include/flags.radio.tpl" name="`$jobpref`[adr][pub]" val=$job.adr.pub display="div"} + {include file="include/flags.radio.tpl" name="`$jobpref`[adr][pub]" val=$job.adr.pub}
{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 display="div"} + + + + + {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} +