phpBB

Code Changes

File: phpbb/message/topic_form.php

  Unmodified   Added   Modified   Removed
Line 122Line 122

$this->message->set_template('email_notify');
$this->message->set_template_vars(array(


$this->message->set_template('email_notify');
$this->message->set_template_vars(array(

			'TOPIC_NAME'	=> htmlspecialchars_decode($this->topic_row['topic_title']),
'U_TOPIC' => generate_board_url() . '/viewtopic.' . $this->phpEx . '?f=' . $this->topic_row['forum_id'] . '&t=' . $this->topic_id,

			'TOPIC_NAME'	=> html_entity_decode($this->topic_row['topic_title'], ENT_COMPAT),
'U_TOPIC' => generate_board_url() . '/viewtopic.' . $this->phpEx . '?t=' . $this->topic_id,

		));
$this->message->set_body($this->body);
$this->message->add_recipient(

		));
$this->message->set_body($this->body);
$this->message->add_recipient(

Line 142Line 142
	*/
public function get_return_message()
{

	*/
public function get_return_message()
{

		return sprintf($this->user->lang['RETURN_TOPIC'],  '<a href="' . append_sid($this->phpbb_root_path . 'viewtopic.' . $this->phpEx, 'f=' . $this->topic_row['forum_id'] . '&amp;t=' . $this->topic_id) . '">', '</a>');

		return sprintf($this->user->lang['RETURN_TOPIC'],  '<a href="' . append_sid($this->phpbb_root_path . 'viewtopic.' . $this->phpEx, 't=' . $this->topic_id) . '">', '</a>');

	}

/**

	}

/**