Merge remote branch 'origin/platal-1.0.0' into platal-1.0.1
[platal.git] / templates / profile / groups.tpl
index 607c52d..116f1f3 100644 (file)
@@ -34,7 +34,7 @@
     <td class="titre" style="width: 30%">{if $old}ex-{/if}Section</td>
     <td>
       <select name="section">
-        {select_db_table table="sections" valeur=$section}
+        {select_db_table table="profile_section_enum" valeur=$section pad="1"}
       </select>
     </td>
   </tr>
@@ -43,7 +43,7 @@
     <td class="titre">{if $old}ex-{/if}Binet(s)</td>
     <td>
       <select name="binets_sel" onchange="updateElement('binets')">
-        {select_db_table table="binets_def" valeur=0 champ="text" pad='1'}
+        {select_db_table table="profile_binet_enum" valeur=0 champ="text" pad="1"}
       </select>
       <a id="binets_add" style="display: none"
          href="javascript:addBinet()">{icon name="add" title="Ajouter ce binet"}</a>
@@ -58,7 +58,7 @@
       <div style="float: left; width: 70%">
         {$text}
       </div>
-      <a href="javascript:removeElement('binets', {$bid})">{icon name="cross" title="Supprimer ce binet"}</a>
+      <a href="javascript:removeElement('binets',{$bid})">{icon name="cross" title="Supprimer ce binet"}</a>
     </td>
   </tr>
   {/foreach}