ревизия какая?
if ($post['post_id'] != $post['topic_first_post_id'] && ($is_auth['auth_mod'] || ($userdata['user_id'] == $post['poster_id'] && $is_auth['auth_delete'] && $post['topic_last_post_id'] == $post['post_id'] && $post['post_time'] + 3600*3 > TIMENOW)))
if ($post['post_id'] != $post['topic_first_post_id'] && $is_auth['auth_delete'] && ($is_auth['auth_mod'] || ($userdata['user_id'] == $post['poster_id'] && $post['topic_last_post_id'] == $post['post_id'] && $post['post_time'] + 3600*3 > TIMENOW)))
$this->ajax_die(sprintf($lang['DELETE_OWN_POSTS'], strip_tags($is_auth['auth_delete_type'])));
$this->ajax_die(sprintf($lang['SORRY_AUTH_DELETE'], strip_tags($is_auth['auth_delete_type'])));
case 'edit':
if(bf($userdata['user_opt'], 'user_opt', 'allow_post_edit'))
{
$this->ajax_die($lang['POST_EDIT_CANNOT']);
}
$this->ajax_die($lang['RULES_REPLY_CANNOT']);
$this->ajax_die(strip_tags($lang['RULES_REPLY_CANNOT']));
$lang['POST_EDIT_CANNOT'] = 'Извините, вы не можете редактировать сообщения';
$lang['POST_EDIT_CANNOT'] = 'Sorry, but you cannot edit posts';