mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
Update posts.php
This commit is contained in:
parent
8b5cff77a4
commit
ff98168681
1 changed files with 8 additions and 0 deletions
|
@ -65,6 +65,14 @@ switch ($this->request['type']) {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'pin':
|
||||||
|
if ($post['post_id'] != $post['topic_first_post_id'] && (($userdata['user_id'] == $post['poster_id']) || $is_auth['auth_mod'])) {
|
||||||
|
|
||||||
|
} else {
|
||||||
|
// TODO
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case 'reply':
|
case 'reply':
|
||||||
if (bf($userdata['user_opt'], 'user_opt', 'dis_post')) {
|
if (bf($userdata['user_opt'], 'user_opt', 'dis_post')) {
|
||||||
$this->ajax_die($lang['RULES_REPLY_CANNOT']);
|
$this->ajax_die($lang['RULES_REPLY_CANNOT']);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue