Fix UFBF_SchoolId
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Tue, 22 Feb 2011 22:15:23 +0000 (23:15 +0100)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Tue, 22 Feb 2011 22:15:23 +0000 (23:15 +0100)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
include/ufbuilder.inc.php
templates/newsletter/edit.tpl

index 0a5e2ff..f967ac1 100644 (file)
@@ -794,7 +794,7 @@ class UFBF_SchoolIds extends UFB_Field
         }
 
         $value = $ufb->t($this->envfield);
-        $values = explode("\n", $value);
+        $values = explode("\r\n", $value);
         $ids = array();
         foreach ($values as $val) {
             if (preg_match('/^[0-9A-Z]{0,8}$/', $val)) {
index 4bd93c1..3009373 100644 (file)
           <br />
           <i>Entrer une liste de matricules AX (un par ligne)</i><br />
           <input type="checkbox" name="axid_reversed" id="axid_reversed" {if $smarty.request.axid_reversed}checked="checked"{/if} value="1" />
+          Inverser la sélection <i>(sélectionner dans l'intervalle de promotions, à l'exception des matricules indiqués)</i>
         </td>
       </tr>
       {/if}