Commit | Line | Data |
---|---|---|
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 | ||
f25e1a56 FB |
23 | <table class="bicol" style="margin-bottom: 1em"> |
24 | <tr> | |
25 | <th> | |
26 | Compétences professionnelles | |
27 | </th> | |
28 | </tr> | |
29 | <tr> | |
30 | <td> | |
31 | <div class="flags"> | |
32 | <span class="rouge"><input type="checkbox" name="accesX" checked="checked" disabled="disabled" /></span> | |
33 | <span class="texte">privé</span> | |
34 | </div> | |
35 | <div> | |
36 | <span class="titre">Domaine :</span> | |
46ae38a9 | 37 | <select name="competences_sel" onchange="updateSkill('competences')"> |
0337d704 | 38 | <option value=""></option> |
f25e1a56 FB |
39 | {assign var=ingroup value=false} |
40 | {iterate from=$comp_list item=comp} | |
41 | {if $comp.title} | |
42 | {if $ingroup}</optgroup>{/if} | |
43 | <optgroup label="{$comp.text_fr}"> | |
6457b5e4 | 44 | {assign var=ingroup value=true} |
f25e1a56 FB |
45 | {/if} |
46 | <option value="{$comp.id}">{$comp.text_fr}</option> | |
47 | {/iterate} | |
48 | {if $ingroup}</optgroup>{/if} | |
0337d704 | 49 | </select> |
f25e1a56 | 50 | <span id="competences_add" style="display: none"> |
46ae38a9 | 51 | <a href="javascript:addSkill('competences')">{icon name=add title="Ajouter cette compétence"}</a> |
f25e1a56 FB |
52 | </span> |
53 | </div> | |
54 | </td> | |
55 | </tr> | |
56 | <tr class="pair"> | |
57 | <td id="competences"> | |
58 | {foreach from=$competences item=competence key=id} | |
59 | {include file="profile/skill.skill.tpl" cat='competences' skill=$competence id=$id levels=$comp_level} | |
60 | {/foreach} | |
61 | </td> | |
62 | </tr> | |
63 | </table> | |
0337d704 | 64 | |
f25e1a56 FB |
65 | <table class="bicol"> |
66 | <tr> | |
67 | <th>Compétences linguistiques</th> | |
68 | </tr> | |
69 | <tr> | |
70 | <td> | |
71 | <div class="flags"> | |
72 | <span class="rouge"><input type="checkbox" name="accesX" checked="checked" disabled="disabled" /></span> | |
73 | <span class="texte">privé</span> | |
74 | </div> | |
75 | <div> | |
76 | <span class="titre">Domaine :</span> | |
46ae38a9 | 77 | <select name="langues_sel" onchange="updateSkill('langues')"> |
0337d704 | 78 | <option value=""></option> |
f25e1a56 FB |
79 | {iterate from=$lang_list item=lang} |
80 | <option value="{$lang.id}">{$lang.langue_fr}</option> | |
81 | {/iterate} | |
0337d704 | 82 | </select> |
f25e1a56 | 83 | <span id="langues_add" style="display: none"> |
46ae38a9 | 84 | <a href="javascript:addSkill('langues')">{icon name=add title="Ajouter cette langue"}</a> |
f25e1a56 FB |
85 | </span> |
86 | </div> | |
87 | </td> | |
88 | </tr> | |
89 | <tr class="pair"> | |
90 | <td id="langues"> | |
91 | {foreach from=$langues item=langue key=id} | |
92 | {include file="profile/skill.skill.tpl" cat='langues' skill=$langue id=$id levels=$lang_level} | |
93 | {/foreach} | |
94 | </td> | |
95 | </tr> | |
96 | </table> | |
0337d704 | 97 | |
a7de4ef7 | 98 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |