Merge branch 'xorg/maint' into xorg/master
[platal.git] / templates / survey / edit_root.tpl
index aa1c88d..3bc93cf 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2009 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2010 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
       <td class="titre">Date de fin</td>
       <td>
         {valid_date name="survey_question[end]" value=$survey_current.end to=90}
-      </td>
-    </tr>
     <script type="text/javascript">//<![CDATA[
       {literal}
       $(document).ready(function() {
         function hidePromo(value) {
-          if (value == "0" || value == "") { 
-            $("#ln_promo").hide(); 
+          if (value == "0" || value == "") {
+            $("#ln_promo").hide();
             $("#ln_promo_exp").hide();
-          } else { 
+          } else {
             $("#ln_promo").show();
             $("#ln_promo_exp").show();
-          } 
+          }
         }
         $("[name='survey_question[mode]']").change(function() { hidePromo(this.value); });
         hidePromo({/literal}"{$survey_current.mode}"{literal});
       });
       {/literal}
     //]]></script>
+      </td>
+    </tr>
     <tr>
       <td class="titre">Type de sondage</td>
       <td>
@@ -76,8 +76,9 @@
     <tr id="ln_promo_exp">
       <td></td>
       <td class="smaller">
-        Exemple&nbsp;: 1954,1986-1989,-1942,2000-&nbsp;&nbsp;&nbsp;restreindra le sondage &#224; toutes les promotions suivantes&nbsp;:<br/>
-        1954, 1986 &#224; 1989, toutes jusqu'à 1942 et toutes à partir 2000 (les bornes sont syst&#233;matiquement incluses)
+        Exemple&nbsp;: 1954,1986-1989,-1942,2000-&nbsp;&nbsp;&nbsp;restreindra le sondage à toutes les promotions suivantes&nbsp;:<br/>
+        1954, 1986 à 1989, toutes jusqu'à 1942 et toutes à partir 2000 (les bornes sont systématiquement incluses).<br />
+        Pour sélectionner toutes les promotions, laisser le vide.
       </td>
     </tr>