if ($topicHandler->getPermission($forum_id, $topic_status, 'reply')) {
                $thread_buttons['reply']['image'] = newbb_displayImage('p_reply', _MD_REPLY);
                $thread_buttons['reply']['link']  = "reply.php?{$page_query}";
                $thread_buttons['reply']['name']  = _MD_REPLY;