From 0e00d6462069f7f29b5b81be6fa237df67066069 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sat, 2 Jan 2021 17:16:29 +0100 Subject: [PATCH] =?UTF-8?q?Blog=20mail=20notification=20:=20nom=20de=20l'a?= =?UTF-8?q?rticle=20plut=C3=B4t=20que=20la=20page.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/blog/blog.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/blog/blog.php b/module/blog/blog.php index c8329e86..006fd8d2 100755 --- a/module/blog/blog.php +++ b/module/blog/blog.php @@ -438,9 +438,9 @@ class blog extends common { if ($this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'mailNotification']) === true) { $sent = $this->sendMail( $to, - 'Nouveau commentaire', + 'Nouveau commentaire déposé', 'Bonjour' . ' ' . $user['firstname'] . ' ' . $user['lastname'] . ',

' . - 'Nouveau commentaire déposé sur la page "' . $this->getData(['page', $this->getUrl(0), 'title']) . '" :

', + 'L\'article ' . $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'title']) . ' a reçu un nouveau commentaire.

', '' ); // Valeurs en sortie @@ -448,7 +448,7 @@ class blog extends common { 'redirect' => helper::baseUrl() . $this->getUrl() . '#comment', //'notification' => 'Commentaire ajouté', //'state' => true - 'notification' => ($sent === true ? 'Commentaire ajouté et une notification envoyée' : 'Commentaire ajouté, erreur de notification :
' . $sent), + 'notification' => ($sent === true ? 'Commentaire ajouté, les administrateurs ont été notifiés.' : 'Commentaire ajouté.
' . $sent), 'state' => ($sent === true ? true : null) ]);