changelog and docs
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Fri, 3 Dec 2004 13:09:27 +0000 (13:09 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:26:27 +0000 (23:26 +0200)
git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-32

ChangeLog
include/conf.d/newsletter.globals.inc.php
include/newsletter.inc.php
install.d/STATE

index 1218788..602f232 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -50,6 +50,9 @@ Bug/Wish :
                - #184 : Owners can now delete their lists.                                                     -MC
                - #231 : Add a link to the user's fiche on moderation page.                     -MC
 
+       * Newsletter :
+               - #242 : Newsletter is standalone.                                                                      -MC
+
        * Search :
                - #56 : Search on referent.                                                                                     -JS
                - #189 : Selection of diplomas depends on schools.                                      -JS
index 63ed7d7..210a271 100644 (file)
@@ -23,8 +23,8 @@
 
 class NLConfig
 {
-    var $from         = "\"Lettre Mensuelle\" <null@example.org>";
-    var $replyto      = "null@example.org";
+    var $from    = "Lettre Mensuelle <null@example.org>";
+    var $replyto = "";
 }
 
 // }}}
index 22b624b..afbdd6b 100644 (file)
@@ -324,7 +324,9 @@ EOF;
        $mailer->setFrom($globals->newsletter->from);
        $mailer->setSubject($this->title());
        $mailer->addTo("\"$prenom $nom\" <$login@polytechnique.org>");
-       $mailer->addHeader('Reply-To',$globals->newsletter->replyto);
+        if (!empty($globals->newsletter->replyto)) {
+            $mailer->addHeader('Reply-To',$globals->newsletter->replyto);
+        }
        $mailer->setTxtBody($this->toText($prenom,$nom,$sex));
        if ($html) {
            $mailer->setHTMLBody($this->toHtml($prenom,$nom,$sex,true));
index 931ac9f..307e1f8 100644 (file)
@@ -5,6 +5,7 @@ skins.
 
     only one minor bug
 
+newsletter
 webredirect
 
 STILL NEED SOME WORK
@@ -15,11 +16,6 @@ banana
     quite good shape.
     converting banana into templates would be great though
 
-newsletter
-
-    it's mixed into the lists module ...
-    we have to repair this, and all will be OK
-
 
 IN PROGRESS
 -----------