From 91b9255bf67fa0f9d7093a9930d20a5327972270 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Tue, 22 Feb 2011 23:15:23 +0100 Subject: [PATCH] Fix UFBF_SchoolId MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- include/ufbuilder.inc.php | 2 +- templates/newsletter/edit.tpl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/ufbuilder.inc.php b/include/ufbuilder.inc.php index 0a5e2ff..f967ac1 100644 --- a/include/ufbuilder.inc.php +++ b/include/ufbuilder.inc.php @@ -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)) { diff --git a/templates/newsletter/edit.tpl b/templates/newsletter/edit.tpl index 4bd93c1..3009373 100644 --- a/templates/newsletter/edit.tpl +++ b/templates/newsletter/edit.tpl @@ -185,6 +185,7 @@
Entrer une liste de matricules AX (un par ligne)
+ Inverser la sélection (sélectionner dans l'intervalle de promotions, à l'exception des matricules indiqués) {/if} -- 2.1.4