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