<%@include file="../comm/init.txt"%><%@ page import="kgweb.web.Frame;kgweb.bean.ForumBean"%><% ForumBean actionBean = new ForumBean(); Frame addForumsubjectFrame = Frame.processMultiPageFrame(actionBean, out, session, request, _charsetName, /*request的参数*/ "forumid", "_title_upid", "forumSubjectPageId"); %> <%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_subject"), _charsetName);%> <%addForumsubjectFrame.h_input_text("tforumsubject.title", null, 60);%> <%out.print(_bundle.getString("comm_new_topic"), _charsetName);%>
<%out.print(_bundle.getString("comm_checkcode"), _charsetName);%> <%addForumsubjectFrame.h_input_text("checkvalue", null, 6);addForumsubjectFrame.h_output_checkimg(response);%>
<%out.print(_bundle.getString("comm_content"), _charsetName);%>

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

<%addForumsubjectFrame.h_checkbox("enableUbbImg", true);%> <%addForumsubjectFrame.h_output_pop_ubb_img("ubbImg", response, "addForumsubjectForm", "tforumsubject.content", "enableUbbImg", _bundle.getString("ubb_img_ubb_img_pop_link_name"));%>
<%addForumsubjectFrame.h_checkbox("enableUbbCode", true);%> <%addForumsubjectFrame.h_output_pop_ubb_code("ubbCode", response, "addForumsubjectForm", "tforumsubject.content", "enableUbbCode", _bundle.getString("ubb_img_ubb_code_pop_link_name"));%>
<%out.print(_bundle.getString("comm_attachment"), _charsetName);%> <%addForumsubjectFrame.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); addForumsubjectFrame.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()); } addForumsubjectFrame.h_select("accessroleId", hsList, 1);%>
<%addForumsubjectFrame.h_input_text("accesspsw", "password", 20);%>
<%out.print(_bundle.getString("comm_forum_imagefile_need_show"), _charsetName);%> <%addForumsubjectFrame.h_checkbox("needShowImage", true);%>
<%addForumsubjectFrame.h_output_button("B1", "submit", _bundle.getString("comm_speak"));%> <%addForumsubjectFrame.h_output_fcontent_preview_button("B2", _bundle.getString("comm_preview"), response);%> <%String returnButtonUrl = response.encodeURL(actionBean.getRtUrl() + "?pageId=" + actionBean.getForumSubjectPageId()); addForumsubjectFrame.h_output_cbutton("returnButton", returnButtonUrl, _bundle.getString("button_return"));%>
<%@include file="../comm/end.txt"%>