Small improvements in the surveys.
[platal.git] / templates / survey / edit_root.tpl
index 38661c4..eb788f7 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2008 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2009 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
       <td><textarea name="survey_question[description]" rows="5" cols="60">{$survey_current.description}</textarea></td>
     </tr>
     <tr>
+      <td></td>
+      <td class="smaller">
+        <a href="wiki_help/notitle" class="popup3">
+          {icon name=information title="Syntaxe wiki"} Voir la syntaxe wiki autorisée pour le commentaire du sondage
+        </a>
+      </td>
+    </tr>
+    <tr>
       <td class="titre">Date de fin</td>
       <td>
         {valid_date name="survey_question[end]" value=$survey_current.end to=90}
       </td>
     </tr>
-    {javascript name=jquery}
     <script type="text/javascript">//<![CDATA[
       {literal}
       $(document).ready(function() {
@@ -47,7 +54,7 @@
             $("#ln_promo_exp").show();
           } 
         }
-        $("[@name='survey_question[mode]']").change(function() { hidePromo(this.value); });
+        $("[name='survey_question[mode]']").change(function() { hidePromo(this.value); });
         hidePromo({/literal}"{$survey_current.mode}"{literal});
       });
       {/literal}
@@ -61,6 +68,7 @@
           {/foreach}
         </select>
       </td>
+    </tr>
     <tr id="ln_promo">
       <td class="titre">Promotions</td>
       <td><input type="text" name="survey_question[promos]" size="50" maxlength="200" value="{$survey_current.promos}"/></td>
@@ -69,7 +77,8 @@
       <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)
+        1954, 1986 &#224; 1989, toutes jusqu'à 1942 et toutes à partir 2000 (les bornes sont syst&#233;matiquement incluses).<br />
+        Pour sélectionner toutes les promotions, laisser le vide.
       </td>
     </tr>