character set fix

git-svn-id: http://svn.cacert.cl/Software/Voting/vote@54 d4452222-2f33-11de-9270-010000000000
reality
community.cacert.org 16 years ago
parent f9236cccd2
commit 553a4dfafa

@ -95,7 +95,7 @@ BODY;
} else { } else {
$header = "References: <".$tag.">\r\nIn-reply-to: <".$tag.">\r\n"; $header = "References: <".$tag.">\r\nIn-reply-to: <".$tag.">\r\n";
} }
mail($this->board,$subject,$body,$header."From: Voting System <returns@cacert.org>"); mail($this->board, mb_encode_mimeheader($subject,"UTF-8", "B", "\n"),$body,$header."From: Voting System <returns@cacert.org>");
//mail("testsympa@lists.cacert.org",$subject,$body,"From: Voting System <returns@cacert.org>"); //mail("testsympa@lists.cacert.org",$subject,$body,"From: Voting System <returns@cacert.org>");
} }
function auth() function auth()

@ -86,7 +86,7 @@ BODY;
</td> </td>
<td> <td>
<i><a href="motions.php?motion=<?php echo $row['tag'].'">'.$row['tag']; ?></a></i><br/> <i><a href="motions.php?motion=<?php echo $row['tag'].'">'.$row['tag']; ?></a></i><br/>
<b><?php echo htmlentities($row['title']); ?></b><br/> <b><?php echo htmlspecialchars($row['title']); ?></b><br/>
<pre><?php echo htmlspecialchars($row['content']); ?></pre> <pre><?php echo htmlspecialchars($row['content']); ?></pre>
<br/> <br/>
<i>Due: <?php echo($row['due']); ?> UTC</i><br/> <i>Due: <?php echo($row['due']); ?> UTC</i><br/>

Loading…
Cancel
Save