[evolvis-commits] r8465: forum emails will be english-only↵

mirabilos at evolvis.org mirabilos at evolvis.org
Thu Feb 24 16:43:23 CET 2011


Author: mirabilos
Date: 2011-02-24 16:43:22 +0100 (Thu, 24 Feb 2011)
New Revision: 8465

Modified:
   trunk/gforge_base/evolvisforge-5.1/gforge/common/forum/ForumMessage.class
Log:
forum emails will be english-only


Modified: trunk/gforge_base/evolvisforge-5.1/gforge/common/forum/ForumMessage.class
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/common/forum/ForumMessage.class	2011-02-24 15:43:21 UTC (rev 8464)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/common/forum/ForumMessage.class	2011-02-24 15:43:22 UTC (rev 8465)
@@ -398,9 +398,9 @@
 		$messagesys=$GLOBALS['sys_name'];
 		$messagemonitor='http://'.$GLOBALS[sys_default_domain].'/forum/monitor.php?forum_id='.$this->Forum->getID() .'&group_id='.$this->Forum->Group->getID().'&stop=1';
 		
-		$body = stripcslashes($Language->getText('forum_utils', 'mailmonitor', array($messagelink, $messagesender, $messagebody, $messagesys, $messagemonitor)));
+//		$body = stripcslashes($Language->getText('forum_utils', 'mailmonitor', array($messagelink, $messagesender, $messagebody, $messagesys, $messagemonitor)));
 
-		/*	$body = "\nRead and respond to this message at: ".
+		$body = "\nRead and respond to this message at: ".
 		"\nhttp://$GLOBALS[sys_default_domain]/forum/message.php?msg_id=".$this->getID().
 		"\nBy: " . $this->getPosterName() .
 		"\n\n" . util_line_wrap(util_unconvert_htmlspecialchars($this->getBody())).
@@ -408,12 +408,10 @@
 		"\nRead and respond to this message at: ".
 		"\nhttp://$GLOBALS[sys_default_domain]/forum/message.php?msg_id=".$this->getID().
 		"\n\nYou are receiving this email because you elected to monitor this forum.".
-		"\nTo stop monitoring this forum, login to $GLOBALS[$sys_name] and visit: ".
+		"\nTo stop monitoring this forum, login to $GLOBALS[sys_name] and visit: ".
 		"\nhttp://$GLOBALS[sys_default_domain]/forum/monitor.php?forum_id=".$this->Forum->getID() .'&group_id='.$this->Forum->Group->getID().'&stop=1';
 
 
-		
-		*/
 		$subject="[" . $this->Forum->Group->getUnixName() . " - " . $this->Forum->getName() ."] ".util_unconvert_htmlspecialchars($this->getSubject());
 		util_handle_message(array_unique($ids),$subject,$body,$this->Forum->getSendAllPostsTo());
 		return true;



More information about the evolvis-commits mailing list