From: Eloi G. <ada...@us...> - 2004-09-25 17:49:19
|
Update of /cvsroot/phpwsbb/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15238/class Modified Files: Thread.php Log Message: Fixed Bug Report [1033711] "HTML in reply email". Index: Thread.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Thread.php,v retrieving revision 1.61 retrieving revision 1.62 diff -C2 -d -r1.61 -r1.62 *** Thread.php 21 Sep 2004 03:12:05 -0000 1.61 --- Thread.php 25 Sep 2004 17:49:09 -0000 1.62 *************** *** 342,346 **** $message = $_SESSION['PHPWSBB_Manager']->_email_text; // Replace [name] and [url] in $message ! $message = str_replace('[name]', '"' . $this->getLabel() . '"', $message); // Got rid of the brackets so that the link isn't broken in email messages $message = str_replace('[url]', 'http://' . PHPWS_HOME_HTTP . 'index.php?module=phpwsbb&PHPWSBB_MAN_OP=view&PHPWS_MAN_ITEMS=' . $this->getId(), $message); --- 342,346 ---- $message = $_SESSION['PHPWSBB_Manager']->_email_text; // Replace [name] and [url] in $message ! $message = str_replace('[name]', '"' . strip_tags($this->getLabel()) . '"', $message); // Got rid of the brackets so that the link isn't broken in email messages $message = str_replace('[url]', 'http://' . PHPWS_HOME_HTTP . 'index.php?module=phpwsbb&PHPWSBB_MAN_OP=view&PHPWS_MAN_ITEMS=' . $this->getId(), $message); |