mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update viewtopic.php
This commit is contained in:
parent
4b586b3f11
commit
8ec64a75d3
@ -706,8 +706,15 @@ for($i = 0; $i < $total_posts; $i++)
|
||||
}
|
||||
|
||||
if ($poster_id != BOT_UID)
|
||||
{
|
||||
if ($bb_cfg['fix_quote_button'])
|
||||
{
|
||||
$quote_btn = ($is_auth['auth_reply'] && !($t_data['forum_status'] == FORUM_LOCKED || $t_data['topic_status'] == TOPIC_LOCKED));
|
||||
}
|
||||
else
|
||||
{
|
||||
$quote_btn = true;
|
||||
}
|
||||
$edit_btn = (($userdata['user_id'] == $poster_id && $is_auth['auth_edit']) || $is_auth['auth_mod']);
|
||||
$ip_btn = ($is_auth['auth_mod'] || IS_MOD);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user