X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fjobs.job.tpl;h=e7c816f901b8efe9f1162a0758a8c3b63006b53c;hb=fb813fb52d5ab65ca9a5b92b5cb9089523380d79;hp=efa2ae9cd5387d680d761b166dc118a044c14ebd;hpb=4f06d57b6aa8d9eb04c1d18a081549aa8fb8dc8d;p=platal.git diff --git a/templates/profile/jobs.job.tpl b/templates/profile/jobs.job.tpl index efa2ae9..e7c816f 100644 --- a/templates/profile/jobs.job.tpl +++ b/templates/profile/jobs.job.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,7 +20,7 @@ {* *} {**************************************************************************} -{assign var=jobid value="job_`$i`"} +{assign var=jobid value="job_"|cat:$i} {assign var=jobpref value="jobs[`$i`]"} {assign var=sector_text value="sector_text_"|cat:$i} {assign var=sector value="sector_"|cat:$i} @@ -28,6 +28,8 @@
+ + + - {if !$job.tmp_name} + {if !$job.tmp_name && !$job.name} @@ -83,21 +86,22 @@ name="{$jobpref}[hq_email]" value="{$job.hq_email}" /> - + @@ -114,59 +118,50 @@ - + - - - - - + + + + + @@ -174,35 +169,31 @@
Adresse
- {include file="include/flags.radio.tpl" name="`$jobpref`[w_adr][pub]" val=$job.w_adr.pub} + {include file="include/flags.radio.tpl" name="`$jobpref`[w_address][pub]" val=$job.w_address.pub}
- {include file="geoloc/form.address.tpl" name="`$jobpref`[w_adr]" id="`$jobid`_adr" adr=$job.w_adr} + {include file="geoloc/form.address.tpl" prefname="`$jobpref`[w_address]" + prefid=$jobid address=$job.w_address}
-
- {include file="include/emails.combobox.tpl" name=$jobpref|cat:'[w_email]' val=$job.w_email - class="pair" i=$i error=$job.w_email_error prefix="w_" pub=$job.w_email_pub isjob="1" id=$i} -
Page perso
- -
+ {include file="include/emails.combobox.tpl" name=$jobpref|cat:'[w_email]' val=$job.w_email + class="pair" i=$i error=$job.w_email_error prefix="w_" pub=$job.w_email_pub id=$i}
@@ -46,7 +49,7 @@ Entreprise n°{$i+1} : {if $job.tmp_name}{$job.tmp_name} (en cours de validation){else} - {/if} @@ -54,7 +57,7 @@
Si ton entreprise ne figure pas dans la liste, @@ -66,14 +69,14 @@ Acronyme + name="{$jobpref}[hq_acronym]" value="{$job.hq_acronym}" />
Secteur d'activité - + {icon name="table" title="Tous les secteurs"}
Fonction occupée - +
Description

+ name="{$jobpref}[description]" value="{$job.description}" /> +
Page perso +
- {foreach from=$job.w_tel key=t item=tel} -
- {include file="profile/phone.tpl" prefname="`$jobpref`[w_tel]" prefid="`$jobid`_w_tel" telid=$t tel=$tel} + {foreach from=$job.w_phone key=t item=phone} +
+ {include file="profile/phone.tpl" prefname="`$jobpref`[w_phone]" prefid="`$jobid`_w_phone" telid=$t tel=$phone}
{/foreach} - {if $job.w_tel|@count eq 0} -
- {include file="profile/phone.tpl" prefname="`$jobpref`[w_tel]" prefid="`$jobid`_w_tel" telid=0 tel=0} + {if $job.w_phone|@count eq 0} +
+ {include file="profile/phone.tpl" prefname="`$jobpref`[w_phone]" prefid="`$jobid`_w_phone" telid=0 tel=0}
{/if} -