+ Restaurer l'entreprise n°{$i+1} : <span id="{$jobid}_grayed_name"></span>
+ </th>
+ </tr>
+ </table>
+
+ <table id="{$jobid}_cont" class="bicol" summary="Entreprise n°{$i+1}" style="margin-bottom: 1em">
+ <tr>
+ <th colspan="2" style="text-align: right">
+ <div class="flags" style="float: left; text-align: left">
+ {include file="include/flags.radio.tpl" name="`$jobpref`[pub]" val=$job.pub}
+ </div>
+ Entreprise n°{$i+1} :
+ {if $job.tmp_name}{$job.tmp_name} <small>(en cours de validation)</small>{else}
+ <input type="text" class="enterpriseName{if $job.name_error} error{/if}" size="35" maxlength="100"
+ name="{$jobpref}[name]" value="{$job.name}" />
+ {/if}
+ <a href="javascript:removeJob('{$jobid}','{$jobpref}')">
+ {icon name=cross title="Supprimer cet emploi"}
+ </a>
+ </th>
+ </tr>
+ {if !$job.tmp_name && !$job.name}
+ <tr class="{$entreprise}">
+ <td class="center" colspan="2">
+ <small>Si ton entreprise ne figure pas dans la liste,
+ <a href="javascript:addEntreprise({$i})">clique ici</a> et complète les informations la concernant.</small>
+ </td>
+ </tr>
+ <tr class="{$entreprise}" style="display: none">
+ <td class="titre">Acronyme</td>
+ <td>
+ <input type="text" size="35" maxlength="255" name="{$jobpref}[hq_acronym]" />
+ </td>
+ </tr>
+ <tr class="{$entreprise}" style="display: none">
+ <td class="titre">Page web</td>
+ <td>
+ <input type="text" size="35" maxlength="255" name="{$jobpref}[hq_url]" />
+ </td>
+ </tr>
+ <tr class="{$entreprise}" style="display: none">
+ <td class="titre">Email de contact</td>
+ <td>
+ <input type="text" maxlength="60" name="{$jobpref}[hq_email]" />
+ </td>
+ </tr>
+ <tr class="{$entreprise}" style="display: none">
+ <td class="titre">Adresse du siège</td>
+ <td>
+ <textarea name="{$jobpref}[hq_address]" cols="30" rows="4"></textarea>
+ </td>
+ </tr>
+ <tr class="{$entreprise}" style="display: none">
+ <td class="titre">Téléphone</td>
+ <td>
+ <input type="text" maxlength="28" name="{$jobpref}[hq_fixed]" />
+ </td>
+ </tr>
+ <tr class="{$entreprise}" style="display: none">
+ <td class="titre">Fax</td>
+ <td>
+ <input type="text" maxlength="28" name="{$jobpref}[hq_fax]" />
+ </td>
+ </tr>
+ {/if}
+
+ <tr class="pair">
+ <td colspan="2" class="center" style="font-style: italic">Ta place dans l'entreprise</td>
+ </tr>
+ <tr class="pair {$sector_text}">
+ <td class="titre">Mots-clefs</td>
+ <td class="job_terms">
+ <input type="text" class="term_search" size="35"/>
+ <a href="javascript:toggleJobTermsTree({$i})">{icon name="table" title="Tous les mots-clefs"}</a>
+ <script type="text/javascript">
+ /* <![CDATA[ */
+ $(function() {ldelim}
+ {foreach from=$job.terms item=term}
+ addJobTerm("{$i}", "{$term.jtid}", "{$term.full_name|replace:'"':'\\"'}");
+ {/foreach}
+ $('#job_{$i} .term_search').autocomplete(platal_baseurl + 'profile/jobterms',
+ {ldelim}
+ "formatItem" : displayJobTerm,
+ "extraParams" : {ldelim} "jobid" : "{$i}" {rdelim},
+ "width" : $('#job_{$i} .term_search').width()*2,
+ "onItemSelect" : selectJobTerm,
+ "matchSubset" : false
+ {rdelim});
+ {rdelim});
+ /* ]]> */
+ </script>
+ </td>
+ </tr>
+ <tr class="pair">
+ <td colspan="2" class="term_tree">
+ </td>
+ </tr>
+ <tr class="pair">
+ <td class="titre">Description</td>
+ <td>
+ <input type="text" size="35" maxlength="120" {if $job.description_error}class="error"{/if}
+ name="{$jobpref}[description]" value="{$job.description}" />
+ </td>
+ </tr>
+ <tr class="pair">
+ <td class="titre">Page perso</td>
+ <td>
+ <input type="text" size="35" maxlength="255" {if $job.w_rul}class="error"{/if}
+ name="{$jobpref}[w_url]" value="{$job.w_url}" />
+ </td>
+ </tr>
+ <tr class="pair">
+ <td colspan="2">
+ <div style="float: left">
+ <div class="titre">Adresse</div>
+ <div class="flags">
+ {include file="include/flags.radio.tpl" name="`$jobpref`[w_address][pub]" val=$job.w_address.pub}
+ </div>
+ <div style="margin-top: 20px; clear: both">
+ {include file="geoloc/form.address.tpl" prefname="`$jobpref`[w_address]"
+ prefid=$jobid address=$job.w_address}
+ </div>