From: Eloi G. <ada...@us...> - 2004-09-15 20:22:27
|
Update of /cvsroot/phpwsbb/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28397/class Modified Files: Thread.php Log Message: Code allows PHPWS_MAN_ITEMS to work without the brackets which breaks the link in e-mail messages, so now theyr'e out wherever users usually copy & paste links. Index: Thread.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Thread.php,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** Thread.php 14 Sep 2004 04:13:46 -0000 1.56 --- Thread.php 15 Sep 2004 20:22:17 -0000 1.57 *************** *** 494,498 **** if ($GLOBALS['core']->sqlInsert($data, 'mod_phpwsbb_monitors', TRUE, FALSE, FALSE, FALSE)) { $GLOBALS['CNT_phpwsbb']['content'] .= $_SESSION['translate']->it('You are now monitoring the topic "[var1]" and will be emailed when there is a new reply.', $this->getLabel()); ! $GLOBALS['CNT_phpwsbb']['content'] .= '<br /><a href="http://' . PHPWS_HOME_HTTP . 'index.php?module=phpwsbb&PHPWSBB_MAN_OP=view&PHPWS_MAN_ITEMS[]=' . $this->getId() . '">' . $_SESSION['translate']->it('Back to the topic.') . '</a>'; $this->monitored = TRUE; } else { --- 494,498 ---- if ($GLOBALS['core']->sqlInsert($data, 'mod_phpwsbb_monitors', TRUE, FALSE, FALSE, FALSE)) { $GLOBALS['CNT_phpwsbb']['content'] .= $_SESSION['translate']->it('You are now monitoring the topic "[var1]" and will be emailed when there is a new reply.', $this->getLabel()); ! $GLOBALS['CNT_phpwsbb']['content'] .= '<br /><a href="http://' . PHPWS_HOME_HTTP . 'index.php?module=phpwsbb&PHPWSBB_MAN_OP=view&PHPWS_MAN_ITEMS=' . $this->getId() . '">' . $_SESSION['translate']->it('Back to the topic.') . '</a>'; $this->monitored = TRUE; } else { *************** *** 514,518 **** if ($GLOBALS['core']->sqlDelete('mod_phpwsbb_monitors', $data)) { $GLOBALS['CNT_phpwsbb']['content'] .= $_SESSION['translate']->it('Monitor successfully removed.'); ! $GLOBALS['CNT_phpwsbb']['content'] .= '<br /><a href="http://' . PHPWS_HOME_HTTP . 'index.php?module=phpwsbb&PHPWSBB_MAN_OP=view&PHPWS_MAN_ITEMS[]=' . $this->getId() . '">' . $_SESSION['translate']->it('Back to the topic.') . '</a>'; $this->monitored = FALSE; } else { --- 514,518 ---- if ($GLOBALS['core']->sqlDelete('mod_phpwsbb_monitors', $data)) { $GLOBALS['CNT_phpwsbb']['content'] .= $_SESSION['translate']->it('Monitor successfully removed.'); ! $GLOBALS['CNT_phpwsbb']['content'] .= '<br /><a href="http://' . PHPWS_HOME_HTTP . 'index.php?module=phpwsbb&PHPWSBB_MAN_OP=view&PHPWS_MAN_ITEMS=' . $this->getId() . '">' . $_SESSION['translate']->it('Back to the topic.') . '</a>'; $this->monitored = FALSE; } else { |