<%@include file="../comm/init.txt"%><%@ page import="kgweb.web.Frame;kgweb.bean.ForumBean"%><% ForumBean actionBean = new ForumBean(); Frame addForumcontentFrame = Frame.processMultiPageFrame(actionBean, out, session, request, _charsetName, /*request的参数*/ "tforumsubject.id", "_title_upid", "forumSubjectPageId", "forumContentPageId"); %> <%out.print(Title.getTitle(_bundle, _thisFileName), _charsetName);%>
<%@include file = "../comm/navigation.txt"%>

" method="post" enctype="multipart/form-data" onkeydown="return ctlent()" onsubmit="return f_submit()"> <%if (_loginTuser == null) {%> <%}%>
<%out.print(_bundle.getString("comm_content"), _charsetName);%>

<%addForumcontentFrame.h_input_textarea("tforumcontent.content", 8, 60, _bundle.getString("comm_forum_input_prompt"));%>

<%out.print(_bundle.getString("comm_reply_topic"), _charsetName);%>
<%addForumcontentFrame.h_checkbox("enableUbbImg", true);%> <%addForumcontentFrame.h_output_pop_ubb_img("ubbImg", response, "addForumcontentForm", "tforumcontent.content", "enableUbbImg", _bundle.getString("ubb_img_ubb_img_pop_link_name"));%>
<%addForumcontentFrame.h_checkbox("enableUbbCode", true);%> <%addForumcontentFrame .h_output_pop_ubb_code("ubbCode", response, "addForumcontentForm", "tforumcontent.content", "enableUbbCode", _bundle.getString("ubb_img_ubb_code_pop_link_name"));%>
<%out.print(_bundle.getString("comm_attachment"), _charsetName);%> <%addForumcontentFrame.h_multi_upload("attachmentFile", 60, _bundle.getString("button_addMoreAttachment"));%> <%out.print(_bundle.getString("config_comm_attachment_intro"), _charsetName);%>
<%kgweb.web.HSelectList hsList = new kgweb.web.HSelectList(); hsList.add(_bundle.getString("comm_visit_forum_file_role"), true); hsList.add(_bundle.getString("comm_visit_forum_file_psw"), false); addForumcontentFrame.h_radio("visitFileByRoleOrPsw", hsList, "
");%>
<%// kgweb.bean.RoleBean roleBean = new kgweb.bean.RoleBean(); ExeEvent exeEvent = new ExeEvent(session, response, _thisFileName+'$'+$ke$sourceLineNumber, _thisFileName, roleBean); //执行 int actionId = roleBean.getAllTRoles(); // if (actionId < 0) { //发生了错误 //根据执行结果进行跳转 exeEvent.action(actionId); return; } //没有发生错误则继续下去 java.util.List roleList = roleBean.getRoleList(); // hsList = new kgweb.web.HSelectList(_bundle.getString("comm_notset_visit_role"), null); for (int i = 0; i < roleList.size(); i++) { hsList.add(roleList.get(i).getRolename(), roleList.get(i).getId()); } addForumcontentFrame.h_select("accessroleId", hsList, 1);%>
<%addForumcontentFrame.h_input_text("accesspsw", "password", 20);%>
<%out.print(_bundle.getString("comm_forum_imagefile_need_show"), _charsetName);%> <%addForumcontentFrame.h_checkbox("needShowImage", true);%>
<%out.print(_bundle.getString("comm_checkcode"), _charsetName);%> <%addForumcontentFrame.h_input_text("checkvalue", null, 6);addForumcontentFrame .h_output_checkimg(response);%>
<%addForumcontentFrame.h_output_button("B1", "submit", _bundle.getString("comm_speak"));%> <%addForumcontentFrame.h_output_fcontent_preview_button("B2", _bundle.getString("comm_preview"), response);%> <%String returnButtonUrl = response.encodeURL("/forum/view.htm?" + actionBean.getReplyTopicSubmitParameters() + "&pageId=" + actionBean.getForumContentPageId()); addForumcontentFrame.h_output_cbutton("returnButton", returnButtonUrl, _bundle.getString("button_return"));%>
<%@include file="../comm/end.txt"%>