mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Simplified gender function (#1167)
* Simplified gender function * Update CHANGELOG.md
This commit is contained in:
parent
73671494e9
commit
9973931004
4 changed files with 16 additions and 20 deletions
|
@ -707,7 +707,7 @@ for ($i = 0; $i < $total_posts; $i++) {
|
|||
'POSTER_GUEST' => $poster_guest,
|
||||
'POSTER_ID' => $poster_id,
|
||||
'POSTER_AUTHOR' => ($poster_id == $t_data['topic_poster']),
|
||||
'POSTER_GENDER' => $bb_cfg['gender'] ? gender_image($postrow[$i]['user_gender']) : '',
|
||||
'POSTER_GENDER' => genderImage((int)$postrow[$i]['user_gender']),
|
||||
'POSTED_AFTER' => $prev_post_time ? delta_time($postrow[$i]['post_time'], $prev_post_time) : '',
|
||||
'IS_UNREAD' => is_unread($postrow[$i]['post_time'], $topic_id, $forum_id),
|
||||
'IS_FIRST_POST' => (!$start && $is_first_post),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue