From 8906500e527bdcfcf1fb6cac9cdb412df323b641 Mon Sep 17 00:00:00 2001 From: Pierre Date: Wed, 8 Jul 2020 14:57:55 +0200 Subject: [PATCH] =?UTF-8?q?Passage=20du=20formulaire=20NOUS=5FCONTACTER=20?= =?UTF-8?q?dans=20le=20plugin=20NOSPAM=20Mise=20=C3=A0=20jour=20du=20messa?= =?UTF-8?q?ge=20lors=20d'oubli=20de=20mot=20de=20passe=20:=20on=20rappelle?= =?UTF-8?q?=20de=20regarder=20dans=20les=20spams.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- balint_options.php | 3 +++ lang/spip_fr.php | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/balint_options.php b/balint_options.php index d405758..58cb7ba 100644 --- a/balint_options.php +++ b/balint_options.php @@ -49,3 +49,6 @@ if (!isset($GLOBALS['z_blocs'])) // On retire les boutons "Espace privé" et "Recalculer" pour les admins $GLOBALS['flag_preserver'] = true; + +// proteger le #FORMULAIRE_NOUS_CONTACTER +$GLOBALS['formulaires_no_spam'][] = 'nous_contacter'; \ No newline at end of file diff --git a/lang/spip_fr.php b/lang/spip_fr.php index c20e8c0..1dad031 100644 --- a/lang/spip_fr.php +++ b/lang/spip_fr.php @@ -8,5 +8,6 @@ if (!defined('_ECRIRE_INC_VERSION')) { $GLOBALS[$GLOBALS['idx_lang']] = array( 'form_forum_email_deja_enregistre' => 'Un compte existe déjà avec cette adresse email. Connectez-vous avec votre mot de passe habituel, ou bien réinitialisez-le en cliquant ici.', - + 'pass_recevoir_mail' => "Un lien de réinitialisation de votre mot de passe vous a été envoyé sur votre adresse email (si celle-ci est valide). Si vous ne le trouvez pas, pensez à vérifiez vos SPAMs." + );