Fix really issue #19 :-)
This commit is contained in:
parent
be16c63fd7
commit
b033b8121d
@ -173,8 +173,8 @@ if (!is_error(NO_POLL) && (isset($_POST["boutonp"]) || isset($_POST["boutonp_x"]
|
|||||||
if ($dsondage->mailsonde || /* compatibility for non boolean DB */ $dsondage->mailsonde=="yes" || $dsondage->mailsonde=="true") {
|
if ($dsondage->mailsonde || /* compatibility for non boolean DB */ $dsondage->mailsonde=="yes" || $dsondage->mailsonde=="true") {
|
||||||
$headers="From: ".NOMAPPLICATION." <".ADRESSEMAILADMIN.">\r\nContent-Type: text/plain; charset=\"UTF-8\"\nContent-Transfer-Encoding: 8bit";
|
$headers="From: ".NOMAPPLICATION." <".ADRESSEMAILADMIN.">\r\nContent-Type: text/plain; charset=\"UTF-8\"\nContent-Transfer-Encoding: 8bit";
|
||||||
mail ("$dsondage->mail_admin",
|
mail ("$dsondage->mail_admin",
|
||||||
"[".NOMAPPLICATION."] "._("Poll's participation")." : ".htmlspecialchars_decode($dsondage->titre, ENT_QUOTES)."",
|
"[".NOMAPPLICATION."] "._("Poll's participation")." : ".utf8_decode(html_entity_decode($dsondage->titre, ENT_QUOTES, 'UTF-8'))."",
|
||||||
htmlspecialchars_decode("\"$nom\" ", ENT_QUOTES).
|
utf8_decode(html_entity_decode("\"$nom\" ", ENT_QUOTES, 'UTF-8')).
|
||||||
_("has filled a line.\nYou can find your poll at the link") . " :\n\n".
|
_("has filled a line.\nYou can find your poll at the link") . " :\n\n".
|
||||||
getUrlSondage($numsondage)." \n\n" .
|
getUrlSondage($numsondage)." \n\n" .
|
||||||
_("Thanks for your confidence.") . "\n". NOMAPPLICATION,
|
_("Thanks for your confidence.") . "\n". NOMAPPLICATION,
|
||||||
@ -308,7 +308,7 @@ if ($testmodifier) {
|
|||||||
|
|
||||||
if ($dsondage->mailsonde=="yes") {
|
if ($dsondage->mailsonde=="yes") {
|
||||||
$headers="From: ".NOMAPPLICATION." <".ADRESSEMAILADMIN.">\r\nContent-Type: text/plain; charset=\"UTF-8\"\nContent-Transfer-Encoding: 8bit";
|
$headers="From: ".NOMAPPLICATION." <".ADRESSEMAILADMIN.">\r\nContent-Type: text/plain; charset=\"UTF-8\"\nContent-Transfer-Encoding: 8bit";
|
||||||
mail ("$dsondage->mail_admin", "[".NOMAPPLICATION."] " . _("Poll's participation") . " : ".htmlspecialchars_decode($dsondage->titre, ENT_QUOTES), "\"".htmlspecialchars_decode($data->nom, ENT_QUOTES)."\""."" . _("has filled a line.\nYou can find your poll at the link") . " :\n\n".getUrlSondage($numsondage)." \n\n" . _("Thanks for your confidence.") . "\n".NOMAPPLICATION,$headers);
|
mail ("$dsondage->mail_admin", "[".NOMAPPLICATION."] " . _("Poll's participation") . " : ".utf8_decode(html_entity_decode($dsondage->titre, ENT_QUOTES, 'UTF-8')), "\"".utf8_decode(html_entity_decode($data->nom, ENT_QUOTES, 'UTF-8'))."\""."" . _("has filled a line.\nYou can find your poll at the link") . " :\n\n".getUrlSondage($numsondage)." \n\n" . _("Thanks for your confidence.") . "\n".NOMAPPLICATION,$headers);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user