New smarty plugin {javascript} to load js-files on demand
[platal.git] / templates / profile / emploi.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
5ddeb07c 3{* Copyright (C) 2003-2007 Polytechnique.org *}
0337d704 4{* http://opensource.polytechnique.org/ *}
5{* *}
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. *}
10{* *}
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. *}
15{* *}
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 *}
20{* *}
21{**************************************************************************}
22
23
24{section name=adresses_pro loop=2}
25{assign var='i' value=$smarty.section.adresses_pro.index}
26
27<div class="blocunite{if !$i}tab{/if}">
28
a7de4ef7 29 <table class="bicol" cellspacing="0" cellpadding="0" summary="Profil: Informations professionnelles - Entreprise n°{$i+1}">
0337d704 30 <tr>
31 <th colspan="2">
a7de4ef7 32 Informations professionnelles - Entreprise n°{$i+1}
0337d704 33 </th>
34 </tr>
35 {include file=include/flags.radio.tpl name="pubpro[$i]" val=$pubpro.$i}
36 <tr>
37 <td class="colg">
38 <span class="titre">Entreprise ou organisme</span>
39 </td>
40 <td class="cold">
41 <input type="text" size="35" maxlength="100" name="entreprise[{$i}]"
42 value="{$entreprise.$i}" />
43 </td>
44 </tr>
45 <tr>
46 <td class="colg">
a7de4ef7 47 <span class="titre">Secteur d'activité</span>
0337d704 48 </td>
49 <td class="cold">
50 <select name="secteur[{$i}]" onchange="this.form.submit();">
51 {select_secteur secteur=$secteur.$i}
52 </select>
53 </td>
54 </tr>
55 <tr>
56 <td class="colg">
a7de4ef7 57 <span class="titre">Sous-Secteur d'activité</span>
0337d704 58 </td>
59 <td class="cold">
60 <select name="ss_secteur[{$i}]">
61 {select_ss_secteur secteur=$secteur.$i ss_secteur=$ss_secteur.$i}
62 </select>
63 </td>
64 </tr>
65 <tr>
66 <td class="colg">
a7de4ef7 67 <span class="titre">Poste occupé</span>
0337d704 68 </td>
69 <td class="cold">
70 <input type="text" size="35" maxlength="120" name="poste[{$i}]"
71 value="{$poste.$i}" />
72 </td>
73 </tr>
74 <tr>
75 <td class="colg">
a7de4ef7 76 <span class="titre">Fonction occupée</span>
0337d704 77 </td>
78 <td class="cold">
79 <select name="fonction[{$i}]">
80 {select_fonction fonction=$fonction.$i}
81 </select>
82 </td>
83 </tr>
84 {include file=include/flags.radio.tpl name="adr_pubpro[$i]" val=$adr_pubpro.$i}
85 <tr>
86 <td class="colg">
87 <span class="titre">Adresse professionnelle</span>
88 </td>
89 <td class="cold">
90 <input type="text" name="adrpro1[{$i}]" size="40" maxlength="88" value="{$adrpro1.$i}" />
91 </td>
92 </tr>
93 <tr>
94 <td class="colg">
95 &nbsp;
96 </td>
97 <td class="cold">
98 <input type="text" name="adrpro2[{$i}]" size="40" maxlength="88" value="{$adrpro2.$i}" />
99 </td>
100 </tr>
101 <tr>
102 <td class="colg">
103 &nbsp;
104 </td>
105 <td class="cold">
106 <input type="text" name="adrpro3[{$i}]" size="40" maxlength="88" value="{$adrpro3.$i}" />
107 </td>
108 </tr>
109 <tr>
110 <td class="colg">
111 <span class="titre">Code postal</span><br />
112 </td>
113 <td class="cold">
114 <input type="text" name="postcodepro[{$i}]" value="{$postcodepro.$i}" size="8" maxlength="8" />
115 </td>
116 </tr>
117 <tr>
118 <td class="colg">
119 <span class="titre">Ville</span><br />
120 </td>
121 <td class="cold">
122 <input type="text" name="citypro[{$i}]" value="{$citypro.$i}" size="40" maxlength="50" />
123 </td>
124 </tr>
125 <tr>
126 <td class="colg">
127 <span class="titre">Pays</span>
128 </td>
129 <td class="cold">
130 <select name="countrypro[{$i}]" onchange="this.form.submit();">
131 {geoloc_country country=$countrypro.$i}
132 </select>
133 </td>
134 </tr>
135 <tr>
136 <td class="colg">
a7de4ef7 137 <span class="titre">Région ou département</span><br />
0337d704 138 <span class="comm">(selon pays)</span>
139 </td>
140 <td class="cold">
141 <select name="regionpro[{$i}]">
142 {geoloc_region country=$countrypro.$i region=$regionpro.$i}
143 </select>
144 </td>
145 </tr>
146 {include file=include/flags.radio.tpl name="tel_pubpro[$i]" val=$tel_pubpro.$i}
147 <tr>
148 <td class="colg">
a7de4ef7 149 <span class="titre">Téléphone professionnel</span>
0337d704 150 </td>
151 <td>
152 <input type="text" size="18" maxlength="18" name="telpro[{$i}]" value="{$telpro.$i}" />
153 &nbsp;
154 </td>
155 </tr>
156 <tr>
157 <td class="colg">
158 <span class="titre">Fax</span>
159 </td>
160 <td>
161 <input type="text" size="18" maxlength="18" name="faxpro[{$i}]" value="{$faxpro.$i}" />
162 </td>
163 </tr>
164 <tr>
165 <td class="colg">
166 <span class="titre">Mobile</span>
167 </td>
168 <td>
169 <input type="text" size="18" maxlength="18" name="mobilepro[{$i}]" value="{$mobilepro.$i}" />
170 </td>
171 </tr>
172 {include file=include/flags.radio.tpl name="email_pubpro[$i]" val=$email_pubpro.$i}
173 <tr>
174 <td class="colg">
175 <span class="titre">E-mail</span>
176 </td>
177 <td>
178 <input type="text" size="30" maxlength="60" name="emailpro[{$i}]" value="{$emailpro.$i}" />
179 </td>
180 </tr>
181 <tr>
182 <td class="colg">
183 <span class="titre">Page web</span>
184 </td>
185 <td>
186 <input type="text" size="30" maxlength="255" name="webpro[{$i}]" value="{$webpro.$i}" />
187 </td>
188 </tr>
189 </table>
190</div>
191
192{/section}
193
194<div class="blocunite">
195 <table class="bicol" cellspacing="0" cellpadding="0"
196 summary="Profil: Informations professionnelles - CV">
197 <tr>
198 <th colspan="2">
199 Informations professionnelles - CV
200 </th>
201 </tr>
202 <tr>
203 <td colspan="2" class="flags">
204 <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
205 <tr>
206 <td class="rouge">
207 <input type="checkbox" name="accesCV" checked="checked" disabled="disabled" />
208 </td>
209 <td class="texte">
a7de4ef7 210 privé
0337d704 211 </td>
212 </tr>
213 </table>
214 </td>
215 </tr>
216 <tr>
217 <td class="dcolg">
218 <span class="titre">Curriculum vitae</span><br />
219 <span class="comm">Le CV n'est <strong>jamais</strong> public.<br />
60979eb7 220 <a href="Xorg/FAQ?display=light#cv" class="popup_800x480">Comment remplir mon CV ?</a></span><br />
221 <span class="comm"><a href="wiki_help" class="popup3">{icon name=information title="Syntaxe wiki"} Voir la syntaxe wiki</a></span>
0337d704 222 </td>
223 <td class="dcold">
5721c9a3 224 {javascript name=ajax}
60979eb7 225 <div id="cv_preview" style="display: none"></div>
226 <textarea name="cv" id="cv" rows="15" cols="40">{$cv}</textarea><br />
227 <input type="submit" name="preview" value="Aperçu" onclick="previewWiki('cv', 'cv_preview', true, 'cv_preview'); return false;" />
0337d704 228 </td>
229 </tr>
230 </table>
231</div>
232
a7de4ef7 233{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}