belongsToUserBlog() || UOJResponse::page404(); UOJBlog::cur()->userCanManage(Auth::user()) || UOJResponse::page403(); $delete_form = new UOJBs4Form('delete'); $delete_form->handle = function () { UOJBlog::cur()->delete(); }; $delete_form->submit_button_config['class_str'] = 'btn btn-danger'; $delete_form->submit_button_config['text'] = '是的,我确定要删除'; $delete_form->succ_href = HTML::blog_url(UOJBlog::info('poster'), '/archive'); $delete_form->runAtServer(); ?>

您真的要删除博客 “(博客 ID:吗?该操作不可逆!

printHTML(); ?>