Overview
Comment:Change wording of email footer
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA3-256: 6e5e62b2921d8cd88c9b1ea1baa4a0deff89c71e58c3e0561efcda874fd28784
User & Date: bohwaz on 2022-02-16 00:07:04
Other Links: manifest | tags
Context
2022-02-16
00:28
Make sure the date is valid check-in: 617e234f73 user: bohwaz tags: trunk, stable
00:07
Change wording of email footer check-in: 6e5e62b292 user: bohwaz tags: trunk, stable
00:04
Session->get() can return false sometimes, handle that case check-in: 11f9477544 user: bohwaz tags: trunk, stable
Changes

Modified src/include/lib/Garradin/Utils.php from [d2ffbffd88] to [e0d6c3d032].

678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
        $headers = [];
        $config = Config::getInstance();

        $content = wordwrap($content);
        $content = trim($content);

        $content .= sprintf("\n\n-- \n%s\n%s\n\n", $config->get('nom_asso'), $config->get('site_asso'));
        $content .= "Vous recevez ce message car vous ĂȘtes inscrit comme membre de\nl'association.\n";
        $content .= "Pour ne plus recevoir de message de notre part merci de nous contacter :\n" . $config->get('email_asso');

        $content = preg_replace("#(?<!\r)\n#si", "\r\n", $content);

        if ($pgp_key)
        {
            $content = Security::encryptWithPublicKey($pgp_key, $content);







|







678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
        $headers = [];
        $config = Config::getInstance();

        $content = wordwrap($content);
        $content = trim($content);

        $content .= sprintf("\n\n-- \n%s\n%s\n\n", $config->get('nom_asso'), $config->get('site_asso'));
        $content .= "Vous recevez ce message car vous ĂȘtes inscrit dans nos contacts.\n";
        $content .= "Pour ne plus recevoir de message de notre part merci de nous contacter :\n" . $config->get('email_asso');

        $content = preg_replace("#(?<!\r)\n#si", "\r\n", $content);

        if ($pgp_key)
        {
            $content = Security::encryptWithPublicKey($pgp_key, $content);