================================================================================
VERSION 1.1.8 XX XX XXXX
+ * XnetGrp:
+ - Add footer linking to the group for group-related emails -XEL
+
================================================================================
VERSION 1.1.7 18 02 2013
$firstname = $user;
}
+ global $globals;
+ $grp_name = $globals->asso('nom');
+ $grp_short = $globals->asso('diminutif');
+
$text = str_ireplace(array('<cher>', '<nom>', '<prenom>'),
array($dear, $lastname, $firstname), $body);
+ if ($wiki) {
+ $text .= (
+ "\n" .
+ "---- \n" .
+ "Message envoyé pour le groupe [[http://www.polytechnique.net/${grp_short}|${grp_name}]] via les outils de Polytechnique.org \\\\\n" .
+ "[[http://www.polytechnique.net/${grp_short}/annuaire|Annuaire]] | [[http://www.polytechnique.net/${grp_short}/unsubscribe|Se désinscrire]]"
+ );
+ } else {
+ $text .= (
+ "\n" .
+ "---- \n" .
+ "Message envoyé pour le groupe ${grp_name} via les outils de Polytechnique.org\n" .
+ "Annuaire : http://www.polytechnique.net/${grp_short}/annuaire | Désinscription : http://www.polytechnique.net/${grp_short}/unsubscribe"
+ );
+ }
+
$mailer->setTo($user);
if ($replyto) {
$mailer->addHeader('Reply-To', $replyto);