diff options
Diffstat (limited to 'phpBB/viewtopic.php')
| -rw-r--r-- | phpBB/viewtopic.php | 23 | 
1 files changed, 22 insertions, 1 deletions
| diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 780e43e09b..dc656b8fad 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -495,6 +495,28 @@ if ($config['allow_topic_notify'])  	}  } +/** +* Event to modify highlight. +* +* @event core.viewtopic_highlight_modify +* @var	string	highlight			String to be highlighted +* @var	string	highlight_match		Highlight string to be used in preg_replace +* @var	array	topic_data			Topic data +* @var	int		start				Pagination start +* @var	int		total_posts			Number of posts +* @var	string	viewtopic_url		Current viewtopic URL +* @since 3.1.11-RC1 +*/ +$vars = array( +	'highlight', +	'highlight_match', +	'topic_data', +	'start', +	'total_posts', +	'viewtopic_url', +); +extract($phpbb_dispatcher->trigger_event('core.viewtopic_highlight_modify', compact($vars))); +  // Bookmarks  if ($config['allow_bookmarks'] && $user->data['is_registered'] && request_var('bookmark', 0))  { @@ -1294,7 +1316,6 @@ while ($row = $db->sql_fetchrow($result))  				'rank_title'		=> '',  				'rank_image'		=> '',  				'rank_image_src'	=> '', -				'sig'				=> '',  				'pm'				=> '',  				'email'				=> '',  				'jabber'			=> '', | 
