Updates Changelog (Closes #1512).
[platal.git] / templates / profile / skill.tpl
index 98590c6..7b423a8 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2009 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2011 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -20,7 +20,7 @@
 {*                                                                        *}
 {**************************************************************************}
 
-<table class="bicol" style="margin-bottom: 1em">
+<table class="bicol" id="competences_table" style="margin-bottom: 1em">
   <tr>
     <th>
       <div class="flags" style="float: left">
@@ -33,8 +33,8 @@
   <tr>
     <td>
       <span class="titre">Domaine&nbsp;:</span>
-      <select name="competences_sel" onchange="updateSkill('competences')">
-        <option value=""></option>
+      <select name="competences_sel" onchange="updateElement('competences')">
+        <option value="">&nbsp;</option>
         {assign var=ingroup value=false}
         {iterate from=$comp_list item=comp}
         {if $comp.title}
@@ -60,7 +60,7 @@
   </tr>
 </table>
 
-<table class="bicol">
+<table class="bicol" id="langues_table">
   <tr>
     <th>
       <div class="flags" style="float: left">
   <tr>
     <td>
       <span class="titre">Domaine&nbsp;:</span>
-      <select name="langues_sel" onchange="updateSkill('langues')">
-        <option value=""></option>
+      <select name="langues_sel" onchange="updateElement('langues')">
+        <option value="">&nbsp;</option>
         {iterate from=$lang_list item=lang}
-        <option value="{$lang.id}">{$lang.langue_fr}</option>
+        <option value="{$lang.iso_639_2b}">{$lang.language}</option>
         {/iterate}
       </select>
       <span id="langues_add" style="display: none">