Line 157 | Line 157 |
---|
if (sizeof($attachments)) {
|
if (sizeof($attachments)) {
|
| $user->add_lang('viewtopic');
|
$update_count = array(); parse_attachments($post_info['forum_id'], $message, $attachments, $update_count); }
| $update_count = array(); parse_attachments($post_info['forum_id'], $message, $attachments, $update_count); }
|
Line 227 | Line 228 |
---|
// Get User Notes $log_data = array();
|
// Get User Notes $log_data = array();
|
$log_count = 0;
| $log_count = false;
|
view_log('user', $log_data, $log_count, $config['posts_per_page'], 0, 0, 0, $post_info['user_id']);
|
view_log('user', $log_data, $log_count, $config['posts_per_page'], 0, 0, 0, $post_info['user_id']);
|
if ($log_count)
| if (!empty($log_data))
|
{ $template->assign_var('S_USER_NOTES', true);
| { $template->assign_var('S_USER_NOTES', true);
|
Line 246 | Line 247 |
---|
}
// Get Reports
|
}
// Get Reports
|
if ($auth->acl_get('m_', $post_info['forum_id']))
| if ($auth->acl_get('m_report', $post_info['forum_id']))
|
{ $sql = 'SELECT r.*, re.*, u.user_id, u.username FROM ' . REPORTS_TABLE . ' r, ' . USERS_TABLE . ' u, ' . REPORTS_REASONS_TABLE . " re
| { $sql = 'SELECT r.*, re.*, u.user_id, u.username FROM ' . REPORTS_TABLE . ' r, ' . USERS_TABLE . ' u, ' . REPORTS_REASONS_TABLE . " re
|