X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fprofile%2Fjobs.job.tpl;h=f350a6ad64279cb831517280e21c7651813c1621;hb=5b48ebf46ef939d701852d2117bbcf308036027c;hp=9d5e89036272505731586b3d5d8b6276b02c7336;hpb=cf81c359b80ad4280a0b3719e0a32c8adba2549d;p=platal.git diff --git a/templates/profile/jobs.job.tpl b/templates/profile/jobs.job.tpl index 9d5e890..f350a6a 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-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,122 +20,191 @@ {* *} {**************************************************************************} -{assign var=jobid value="job_`$i`"} + + +{assign var=jobid value="jobs_"|cat:$i} {assign var=jobpref value="jobs[`$i`]"} +{assign var=sector_text value="sector_text_"|cat:$i} +{assign var=sector value="sector_"|cat:$i} +{assign var=entreprise value="entreprise_"|cat:$i} +{if !hasPerm('directory_private') && ($job.pub eq 'private') && !$new} +{assign var=hiddenjob value=true} +{else} +{assign var=hiddenjob value=false} +{/if}
- {include file="include/flags.radio.tpl" name="`$jobpref`[pub]" val=$job.pub}
+ {include file="include/flags.radio.tpl" name="`$jobpref`[pub]" val=$job.pub disabled=$hiddenjob
+ mainField='jobs' mainId=$i subField='w_address,w_email,w_phone' subId=-1}
Entreprise n°{$i+1} :
-
+ {/if}
+ {else}
+ {if t($job.tmp_name)}{$job.tmp_name} (en cours de validation){else}
+
-
+ {/if}
+ {/if}
+
{icon name=cross title="Supprimer cet emploi"}
|
|
---|---|
Page Web | + {if !t($job.tmp_name)}{if !t($job.name)} +|
+ Si l'entreprise ne figure pas dans la liste, + clique ici et complète les informations la concernant. + | +|
Secteur d'activité | +|
Sous-secteur d'activité | -- - | +
Poste occupé | +|
Fonction occupée | +|
- Si des informations font défaut dans les listes ci-dessus, - contacte-nous. + | |
Place dans l'entreprise | +|
Mots-clefs | ++ + {icon name="table" title="Tous les mots-clefs"} + + | +
+ | +|
Description | ++ + | +
Page perso | ++ |
Adresse
- {include file="include/flags.radio.tpl" name="`$jobpref`[adr][pub]" val=$job.adr.pub}
+ {include file="include/flags.radio.tpl" name="`$jobpref`[w_address][pub]" val=$job.w_address.pub
+ subField='w_address' mainField='jobs' mainId=$i subId=''}
- {include file="geoloc/form.address.tpl" name="`$jobpref`[adr]" id="`$jobid`_adr" adr=$job.adr}
+ {include file="geoloc/form.address.tpl" prefname="`$jobpref`[w_address]"
+ prefid=$jobid address=$job.w_address}
|
|
+ + + | +|
- {foreach from=$job.tel key=t item=tel}
-
- {include file="profile/phone.tpl" prefname="`$jobpref`[tel]" prefid="`$jobid`_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
+ subField='w_phone' mainField='jobs' mainId=$i}
{/foreach}
- {if $job.tel|@count eq 0}
-
- {include file="profile/phone.tpl" prefname="`$jobpref`[tel]" prefid="`$jobid`_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
+ subField='w_phone' mainField='jobs' mainId=$i}
{/if}
- |