{**************************************************************************} {* *} {* Copyright (C) 2003-2014 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} {* it under the terms of the GNU General Public License as published by *} {* the Free Software Foundation; either version 2 of the License, or *} {* (at your option) any later version. *} {* *} {* This program is distributed in the hope that it will be useful, *} {* but WITHOUT ANY WARRANTY; without even the implied warranty of *} {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *} {* GNU General Public License for more details. *} {* *} {* You should have received a copy of the GNU General Public License *} {* along with this program; if not, write to the Free Software *} {* Foundation, Inc., *} {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} {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 $isMe || hasPerm('admin')} {assign var=hiddenjob value=false} {assign var=hiddenaddr value=false} {assign var=hiddenemail value=false} {else} {if hasPerm('directory_hidden') || ( ($job.pub neq 'hidden') && ($job.pub neq 'private')) || $new} {assign var=hiddenjob value=false} {elseif hasPerm('directory_private') && ($job.pub neq 'hidden')} {assign var=hiddenjob value=false} {else} {assign var=hiddenjob value=true} {/if} {if hasPerm('directory_hidden') || ( ($job.w_address.pub neq 'hidden') && ($job.w_address.pub neq 'private')) || empty($job.w_address.text|smarty:nodefaults)} {assign var=hiddenaddr value=false} {elseif hasPerm('directory_private') && ($job.w_address.pub neq 'hidden')} {assign var=hiddenaddr value=false} {else} {assign var=hiddenaddr value=true} {/if} {if hasPerm('directory_hidden') || ( ($job.w_email_pub neq 'hidden') && ($job.w_email_pub neq 'private')) || empty($job.w_email|smarty:nodefaults)} {assign var=hiddenemail value=false} {elseif hasPerm('directory_private') && ($job.w_email_pub neq 'hidden')} {assign var=hiddenemail value=false} {else} {assign var=hiddenemail value=true} {/if} {/if}
{if !t($job.tmp_name)}{if !t($job.name)} {/if}{/if} {include file="geoloc/form.address.tpl" prefname="`$jobpref`[w_address]" prefid=$jobid address=$job.w_address class="pair" hiddenaddr=$hiddenaddr} {if $hiddenaddr} {/if} {if $hiddenjob || $hiddenemail} {else} {include file="include/emails.combobox.tpl" name=$jobpref|cat:'[w_email]' val=$job.w_email class="pair" divId="`$jobid`_w_email" i=$i error=$job.w_email_error prefix="w_" pub=$job.w_email_pub id=$i subField='w_email' mainField='jobs' mainId=$i subId=''} {/if}
{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 $hiddenjob} (masquée) {if !t($job.tmp_name)} {/if} {else} {if t($job.tmp_name)}{$job.tmp_name} (en cours de validation){else} {/if} {/if} {icon name=cross title="Supprimer cet emploi"}
Si l'entreprise ne figure pas dans la liste, clique ici et complète les informations la concernant.
Place dans l'entreprise
Mots-clefs {icon name="table" title="Tous les mots-clefs"}
Description
Page perso
Année d'entrée (avec 4 chiffres, par exemple 1983)
Adresse {include file="include/flags.radio.tpl" name="`$jobpref`[w_address][pub]" val=$job.w_address.pub subField='w_address' mainField='jobs' mainId=$i subId=''}
Adresse (masquée)
{if $hiddenemail}Email professionnel (masqué){/if}
{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.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}
{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}