phpBB

Code Changes

File: includes/ucp/ucp_pm_viewmessage.php

  Unmodified   Added   Modified   Removed
Line 52Line 52

// Grab icons
$icons = $cache->obtain_icons();


// Grab icons
$icons = $cache->obtain_icons();


$bbcode = false;

// Instantiate BBCode if need be
if ($message_row['bbcode_bitfield'])
{
include($phpbb_root_path . 'includes/bbcode.' . $phpEx);
$bbcode = new bbcode($message_row['bbcode_bitfield']);
}

 

// Load the custom profile fields
if ($config['load_cpf_pm'])


// Load the custom profile fields
if ($config['load_cpf_pm'])

Line 274Line 265
	* @var	array	message_row	Array with message data
* @var array cp_row Array with senders custom profile field data
* @var array msg_data Template array with message data

	* @var	array	message_row	Array with message data
* @var array cp_row Array with senders custom profile field data
* @var array msg_data Template array with message data

 
	* @var 	array	user_info	User data of the sender

	* @since 3.1.0-a1

	* @since 3.1.0-a1

 
	* @changed 3.1.6-RC1		Added user_info into event

	*/
$vars = array(
'id',

	*/
$vars = array(
'id',

Line 285Line 278
		'message_row',
'cp_row',
'msg_data',

		'message_row',
'cp_row',
'msg_data',

 
		'user_info',

	);
extract($phpbb_dispatcher->trigger_event('core.ucp_pm_view_messsage', compact($vars)));


	);
extract($phpbb_dispatcher->trigger_event('core.ucp_pm_view_messsage', compact($vars)));