X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fpayment.php;h=11926f9c840730bbc0368c77ca10411ab2195f7d;hb=89fcda94efa5fa0eaf7184f0f964430388624ce3;hp=d71b26d02356f4a71fab1827b9ffc82178cdc1db;hpb=45a5307bafca8cee103f8d31e22984db81c28e7a;p=platal.git diff --git a/modules/payment.php b/modules/payment.php index d71b26d..11926f9 100644 --- a/modules/payment.php +++ b/modules/payment.php @@ -1,6 +1,6 @@ ",$femme ? "Chère" : "Cher",$conf_text); $conf_text = str_replace("",$femme ? "Chère" : "Cher",$conf_text); + global $globals; $mymail = new PlMailer(); $mymail->setFrom($conf_mail); $mymail->addTo("\"$prenom $nom\" <$forlife@" . $globals->mail->domain . '>'); @@ -307,6 +318,7 @@ class PaymentModule extends PLModule $conf_text = str_replace("",$femme ? "Chère" : "Cher",$conf_text); $conf_text = str_replace("",$femme ? "Chère" : "Cher",$conf_text); + global $globals; $mymail = new PlMailer(); $mymail->setFrom($conf_mail); $mymail->addTo("\"$prenom $nom\" <$forlife@" . $globals->mail->domain . '>'); @@ -448,6 +460,7 @@ class PaymentModule extends PLModule $event[$pid]['paid'] += trim($p); } } + $page->register_modifier('decode_comment', 'decode_comment'); $page->assign('trans', $trans); $page->assign('event', $event); }