1 {**************************************************************************}
3 {* Copyright (C) 2003-2007 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
6 {* This program is free software; you can redistribute it and/or modify *}
7 {* it under the terms of the GNU General Public License as published by *}
8 {* the Free Software Foundation; either version 2 of the License, or *}
9 {* (at your option) any later version. *}
11 {* This program is distributed in the hope that it will be useful, *}
12 {* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
13 {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
14 {* GNU General Public License for more details. *}
16 {* You should have received a copy of the GNU General Public License *}
17 {* along with this program; if not, write to the Free Software *}
18 {* Foundation, Inc., *}
19 {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
21 {**************************************************************************}
24 <?xml version="1.0" encoding="utf-8"?>
26 {assign var=jobid value="job_`$i`"}
27 {assign var=jobpref value="job[`$i`]"}
29 <input type="hidden" name="{$jobpref}[removed]" value="0" />
30 <input type="hidden" name="{$jobpref}[new]" value="{if $new}1{else}0{/if}" />
31 <table id="{$jobid}_grayed" class="bicol" style="display: none; margin-bottom: 1em">
34 <div style="float: right">
35 <a href="javascript:restoreJob('{$jobid}', '{$jobpref}')">{icon name=arrow_refresh title="Restaure l'emploi"}</a>
37 Restaurer l'entreprise n°{$i+1} :<span id="{$jobid}_grayed_name"></span>
41 <table id="{$jobid}_cont" class="bicol" summary="Entreprise n°{$i+1}" style="margin-bottom: 1em">
43 <th colspan="2" style="text-align: right">
44 <div class="flags" style="float: left; text-align: left">
45 {include file="include/flags.radio.tpl" notable=true display="div" name="`$jobpref`[pub]" value=$job.pub}
47 Entreprise n°{$i+1} :
48 <input type="text" size="35" maxlength="100" name="{$jobpref}[name]" value="{$job.name}" />
49 <a href="javascript:removeJob('{$jobid}', '{$jobpref}')">
50 {icon name=cross title="Supprimer cet emploi"}
55 <td class="titre">Page Web</td>
56 <td><input type="text" size="35" maxlength="255" name="{$jobpref}[web]" value="{$job.web}" /></td>
59 <td class="titre">Secteur d'activité</td>
61 <select name="{$jobpref}[secteur]" onchange="updateSecteur({$i}, '{$jobid}', '{$jobpref}', ''); return true;">
62 <option value=""> </option>
63 {iterate from=$secteurs item=secteur}
64 <option value="{$secteur.id}" {if $secteur.id eq $job.secteur}selected="selected"{/if}>
72 <td class="titre">Sous-Secteur d'activité</td>
73 <td id="{$jobid}_ss_secteur">
77 <td class="titre">Poste occupé</td>
79 <input type="text" size="35" maxlength="120" name="{$jobpref}[poste]" value="{$job.poste}" />
83 <td class="titre">Fonction occupée</td>
85 <select name="{$jobpref}[fonction]">
86 <option value=""> </option>
87 {assign var=ingroup value=false}
88 {iterate from=$fonctions item=fonct}
90 {if $ingroup}</optgroup>{/if}
91 <optgroup label="{$fonct.fonction_fr}">
92 {assign var=ingroup value=true}
94 <option value="{$fonct.id}" {if $fonct.id eq $job.fonction}selected="selected"{/if}>
98 {if $ingroup}</optgroup>{/if}
104 <span class="titre">E-mail professionnel :</span>
105 <input type="text" size="30" maxlength="60" name="{$jobpref}[email]" value="{$job.email}" />
107 {include file="include/flags.radio.tpl" name="`$jobpref`[email_pub]" val=$job.mail_pub display="div"}
113 <div style="float: left">
114 <div class="titre">Adresse</div>
116 {include file="include/flags.radio.tpl" name="`$jobpref`[adr][pub]" val=$job.adr.pub display="div"}
118 <div style="margin-top: 20px; clear: both">
119 {include file="geoloc/form.address.tpl" name="`$jobpref`[adr]" id="`$jobpref`_adr" adr=$job.adr}
122 <div style="float: right; width: 50%">
123 <div class="titre">Téléphone</div>
125 {include file="include/flags.radio.tpl" name="`$jobpref`[tel_pub]" val=$job.tel_pub display="div"}
127 <table style="clear: both">
129 <td>Bureau :</td>
130 <td><input type="text" size="18" maxlength="18" name="{$jobpref}[tel_office]" value="{$job.tel_office}" /></td>
134 <td><input type="text" size="18" maxlength="18" name="{$jobpref}[tel_fax]" value="{$job.tel_fax}" /></td>
137 <td>Mobile :</td>
138 <td><input type="text" size="18" maxlength="18" name="{$jobpref}[tel_mobile]" value="{$job.tel_mobile}" /></td>
147 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}