aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlucifer4o <lucifer@anavaro.com>2014-03-16 12:01:22 +0200
committerStanislav Atanasov <lucifer@anavaro.com>2014-03-17 10:40:56 +0200
commitc4034ac79a064eeea3f111c1f7b4d8adbd393866 (patch)
treef3d0fb586e66b839db164f890a5ec7619a313744
parent325931a56bcaf23fb8bb3e1e3395ed739714f5d9 (diff)
downloadforums-c4034ac79a064eeea3f111c1f7b4d8adbd393866.tar
forums-c4034ac79a064eeea3f111c1f7b4d8adbd393866.tar.gz
forums-c4034ac79a064eeea3f111c1f7b4d8adbd393866.tar.bz2
forums-c4034ac79a064eeea3f111c1f7b4d8adbd393866.tar.xz
forums-c4034ac79a064eeea3f111c1f7b4d8adbd393866.zip
[ticket/12276] Expand core.memberlist_view_profile
Expand core.memberlist_view_profile to include zebra states PHPBB3-12276
-rw-r--r--phpBB/memberlist.php7
1 files changed, 6 insertions, 1 deletions
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));