Merge branch 'xorg/1.0.2/master'
[platal.git] / templates / profile / skill.tpl
index 0417470..469bb15 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2007 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2010 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
 {*                                                                        *}
 {**************************************************************************}
 
-<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">
-        <span class="rouge"><input type="checkbox" name="accesX" checked="checked" disabled="disabled" /></span>
+        <input type="checkbox" name="accesX" checked="checked" disabled="disabled" />
+        {icon name="flag_red" title="privé"}
       </div>
       Compétences professionnelles
     </th>
@@ -32,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}
   </tr>
 </table>
 
-<table class="bicol">
+<table class="bicol" id="langues_table">
   <tr>
     <th>
       <div class="flags" style="float: left">
-        <span class="rouge"><input type="checkbox" name="accesX" checked="checked" disabled="disabled" /></span>
+        <input type="checkbox" name="accesX" checked="checked" disabled="disabled" />
+        {icon name="flag_red" title="privé"}
       </div>
       Compétences linguistiques
     </th>
@@ -71,8 +73,8 @@
   <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>
         {/iterate}