| 1 | {**************************************************************************} |
| 2 | {* *} |
| 3 | {* Copyright (C) 2003-2009 Polytechnique.org *} |
| 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 | <table class="bicol" style="margin-bottom: 1em"> |
| 24 | <tr> |
| 25 | <th> |
| 26 | <div class="flags" style="float: left"> |
| 27 | <input type="checkbox" name="accesX" checked="checked" disabled="disabled" /> |
| 28 | {icon name="flag_red" title="privé"} |
| 29 | </div> |
| 30 | Compétences professionnelles |
| 31 | </th> |
| 32 | </tr> |
| 33 | <tr> |
| 34 | <td> |
| 35 | <span class="titre">Domaine :</span> |
| 36 | <select name="competences_sel" onchange="updateSkill('competences')"> |
| 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> |
| 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> |
| 62 | |
| 63 | <table class="bicol"> |
| 64 | <tr> |
| 65 | <th> |
| 66 | <div class="flags" style="float: left"> |
| 67 | <input type="checkbox" name="accesX" checked="checked" disabled="disabled" /> |
| 68 | {icon name="flag_red" title="privé"} |
| 69 | </div> |
| 70 | Compétences linguistiques |
| 71 | </th> |
| 72 | </tr> |
| 73 | <tr> |
| 74 | <td> |
| 75 | <span class="titre">Domaine :</span> |
| 76 | <select name="langues_sel" onchange="updateSkill('langues')"> |
| 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> |
| 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> |
| 95 | |
| 96 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |