|
From: Javier B. <jb...@us...> - 2005-05-25 07:22:51
|
Update of /cvsroot/openbash-org/openbash-org/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30191/modules Modified Files: Quote.php Log Message: retocado TODO Index: Quote.php =================================================================== RCS file: /cvsroot/openbash-org/openbash-org/modules/Quote.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** Quote.php 31 Mar 2005 11:25:57 -0000 1.21 --- Quote.php 25 May 2005 07:22:41 -0000 1.22 *************** *** 247,251 **** $from = "From: webmaster@$_SERVER[SERVER_NAME]\nReply-To: $author\nX-Mailer: OpenBash MSG Alert System"; ! mail($rcpt, $subject, $body, $from); } } --- 247,251 ---- $from = "From: webmaster@$_SERVER[SERVER_NAME]\nReply-To: $author\nX-Mailer: OpenBash MSG Alert System"; ! mail($rcpt, $subject, html_entity_decode($body), $from); } } *************** *** 254,257 **** --- 254,258 ---- { include ('config.php'); + $quote = html_entity_decode($quote); $rcpt = $moderator_email; $subject = "[ OpenBash ] new quote inserted by $author"; *************** *** 262,268 **** by: $author ($ip) ! * Please visit the admin page to validate: http://$_SERVER[SERVER_NAME]/$_SERVER[SCRIPT_NAME]?page=admin"; $from = "From: webmaster@$_SERVER[SERVER_NAME]\nReply-To: $author\nX-Mailer: OpenBash MSG Alert System"; ! mail($rcpt, $subject, $body, $from); } } --- 263,271 ---- by: $author ($ip) ! * Please visit the admin page to check the validity of the quote: ! ! http://$_SERVER[SERVER_NAME]/$_SERVER[SCRIPT_NAME]?page=admin"; $from = "From: webmaster@$_SERVER[SERVER_NAME]\nReply-To: $author\nX-Mailer: OpenBash MSG Alert System"; ! mail($rcpt, $subject, html_entity_decode($body), $from); } } |