mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
Update viewtopic.php
This commit is contained in:
parent
75e4cf59fa
commit
d23ef71b7d
1 changed files with 1 additions and 0 deletions
|
@ -604,6 +604,7 @@ for ($i = 0; $i < $total_posts; $i++) {
|
|||
if (!$poster_bot) {
|
||||
$quote_btn = ($is_auth['auth_reply'] && !$locked);
|
||||
$edit_btn = (($userdata['user_id'] == $poster_id && $is_auth['auth_edit']) || $is_auth['auth_mod']);
|
||||
$pin_btn = (($userdata['user_id'] == $poster_id) || $is_auth['auth_mod']);
|
||||
$ip_btn = ($is_auth['auth_mod'] || IS_MOD);
|
||||
}
|
||||
$delpost_btn = ($post_id != $t_data['topic_first_post_id'] && ($is_auth['auth_mod'] || ($userdata['user_id'] == $poster_id && $is_auth['auth_delete'] && $t_data['topic_last_post_id'] == $post_id && $postrow[$i]['post_time'] + 3600 * 3 > TIMENOW)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue