From c4034ac79a064eeea3f111c1f7b4d8adbd393866 Mon Sep 17 00:00:00 2001 From: lucifer4o Date: Sun, 16 Mar 2014 12:01:22 +0200 Subject: [ticket/12276] Expand core.memberlist_view_profile Expand core.memberlist_view_profile to include zebra states PHPBB3-12276 --- phpBB/memberlist.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php index 8db2fef2a3..f6777b6bbd 100644 --- a/phpBB/memberlist.php +++ b/phpBB/memberlist.php @@ -590,8 +590,13 @@ switch ($mode) * @var bool foes_enabled Is the ucp foes module * enabled? * @since 3.1-A1 + * + * @var bool friend Is the user friend? + * + * @var bool foe Is the user foe? + * @since 3.1-A4 */ - $vars = array('member', 'user_notes_enabled', 'warn_user_enabled', 'zebra_enabled', 'friends_enabled', 'foes_enabled'); + $vars = array('member', 'user_notes_enabled', 'warn_user_enabled', 'zebra_enabled', 'friends_enabled', 'foes_enabled', 'friend', 'foe'); extract($phpbb_dispatcher->trigger_event('core.memberlist_view_profile', compact($vars))); $template->assign_vars(show_profile($member, $user_notes_enabled, $warn_user_enabled)); -- cgit v1.2.1