X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fprofile%2Fjobs.job.tpl;h=6cd21d5db44a9106faa9309fe2e3c601ddfde831;hb=c76545c351fae4e2298624ff9ee5bf854dc5a5b6;hp=ad699f39215bbe947a73aff08bc6532df74da74b;hpb=0bcc8717002a2ab1b8531e1a78aa403132b0ecbc;p=platal.git diff --git a/templates/profile/jobs.job.tpl b/templates/profile/jobs.job.tpl index ad699f3..6cd21d5 100644 --- a/templates/profile/jobs.job.tpl +++ b/templates/profile/jobs.job.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 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,8 @@ {* *} {**************************************************************************} -{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,16 +29,19 @@
@@ -46,134 +50,102 @@ Entreprise n°{$i+1} : {if $job.tmp_name}{$job.tmp_name} (en cours de validation){else} - {/if} - + {icon name=cross title="Supprimer cet emploi"} | |||
---|---|---|---|
Si ton entreprise ne figure pas dans la liste, clique ici et complète les informations la concernant. | |||
Ta place dans l'entreprise | |||
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}
- |