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