diff options
author | Graham Eames <grahamje@users.sourceforge.net> | 2005-12-17 20:41:23 +0000 |
---|---|---|
committer | Graham Eames <grahamje@users.sourceforge.net> | 2005-12-17 20:41:23 +0000 |
commit | e7565d31d0c25a330f5310bed765d9470096c21d (patch) | |
tree | e8a81bcbc9b4e13436e34377c2f72b41a8b1cc85 /phpBB/includes/ucp/ucp_main.php | |
parent | 791b1bbe73215cb98ed79fa78353182b9b0803a7 (diff) | |
download | forums-e7565d31d0c25a330f5310bed765d9470096c21d.tar forums-e7565d31d0c25a330f5310bed765d9470096c21d.tar.gz forums-e7565d31d0c25a330f5310bed765d9470096c21d.tar.bz2 forums-e7565d31d0c25a330f5310bed765d9470096c21d.tar.xz forums-e7565d31d0c25a330f5310bed765d9470096c21d.zip |
Expose the warning level and user notes in appropriate places (assuming
the user has the correct permissions)
git-svn-id: file:///svn/phpbb/trunk@5345 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp/ucp_main.php')
-rw-r--r-- | phpBB/includes/ucp/ucp_main.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/ucp/ucp_main.php b/phpBB/includes/ucp/ucp_main.php index 30bf123078..a1f9105e13 100644 --- a/phpBB/includes/ucp/ucp_main.php +++ b/phpBB/includes/ucp/ucp_main.php @@ -229,6 +229,7 @@ class ucp_main 'USER_COLOR' => (!empty($user->data['user_colour'])) ? $user->data['user_colour'] : '', 'JOINED' => $user->format_date($user->data['user_regdate'], $user->lang['DATE_FORMAT']), 'VISITED' => (empty($last_visit)) ? ' - ' : $user->format_date($last_visit, $user->lang['DATE_FORMAT']), + 'WARNINGS' => ($user->data['user_warnings']) ? $user->data['user_warnings'] : 0, 'POSTS' => ($user->data['user_posts']) ? $user->data['user_posts'] : 0, 'POSTS_DAY' => sprintf($user->lang['POST_DAY'], $posts_per_day), 'POSTS_PCT' => sprintf($user->lang['POST_PCT'], $percentage), |