mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Hide quote button if topic locked (#1416)
* Hide quote button if topic locked * Updated * Update CHANGELOG.md
This commit is contained in:
parent
f605a187ce
commit
971b8da843
4 changed files with 13 additions and 10 deletions
|
@ -603,7 +603,7 @@ for ($i = 0; $i < $total_posts; $i++) {
|
|||
}
|
||||
|
||||
if (!$poster_bot) {
|
||||
$quote_btn = true;
|
||||
$quote_btn = ($is_auth['auth_reply'] && !($t_data['forum_status'] == FORUM_LOCKED || $t_data['topic_status'] == TOPIC_LOCKED));
|
||||
$edit_btn = (($userdata['user_id'] == $poster_id && $is_auth['auth_edit']) || $is_auth['auth_mod']);
|
||||
$ip_btn = ($is_auth['auth_mod'] || IS_MOD);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue