-
-
Notifications
You must be signed in to change notification settings - Fork 946
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ticket/12488] Add user warning indication to viewtopic posts #2400
Changes from 1 commit
2c5a2a1
cefeb7f
172fa9e
4d64e09
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1641,7 +1641,7 @@ | |
'POSTER_JOINED' => $user_cache[$poster_id]['joined'], | ||
'POSTER_POSTS' => $user_cache[$poster_id]['posts'], | ||
'POSTER_AVATAR' => $user_cache[$poster_id]['avatar'], | ||
'POSTER_WARNINGS' => $user_cache[$poster_id]['warnings'], | ||
'POSTER_WARNINGS' => ($auth->acl_get('m_warn') && $poster_id != ANONYMOUS) ? $user_cache[$poster_id]['warnings'] : '', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe we should have both available in the template. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I didn't know anonymous could get warnings There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, they can't. I'm solely talking about code organisation. See #2405 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh yes, sorry, I misunderstood |
||
'POSTER_AGE' => $user_cache[$poster_id]['age'], | ||
|
||
'POST_DATE' => $user->format_date($row['post_time'], false, ($view == 'print') ? true : false), | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the value should not be wrapped by
<em>