Merge remote branch 'origin/xorg/maint' into xorg/master
[platal.git] / templates / profile / groups.tpl
index 9aed51f..fdae749 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2010 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2011 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -34,7 +34,7 @@
     <td class="titre" style="width: 30%">{if $old}ex-{/if}Section</td>
     <td>
       <select name="section">
-        {select_db_table table="profile_section_enum" 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="profile_binet_enum" 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}