📄 adminforumedit.jsp
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ include file="../common/include/taglibs.jsp" %>
<html:html>
<head>
<title><lybbs:web key="forumName"/> - <bean:message key="jsp.admincenter.title"/></title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="bookmark" href="favicon.ico" type="image/x-icon">
<%@ include file="../common/include/adminheader.jsp" %>
</head>
<body bgcolor="#555555" topmargin=5 leftmargin=5>
<table width=95% cellpadding=0 cellspacing=1 border=0 bgcolor=#000000 align=center>
<tr>
<td>
<table width=100% cellpadding=0 cellspacing=1 border=0>
<tr>
<td width=28% valign=top bgcolor=#FFFFFF>
<lybbs:typeLeftTag/>
</td>
<td width=70% valign=top bgcolor=#FFFFFF>
<table width=100% cellpadding=6 cellspacing=0 border=0>
<form action="bbs_adminForumManager.do" method="post" name="myform">
<input type=hidden name="catalogID" value="<bean:write name="catalogID"/>">
<logic:present name="forumBean" scope="request"><input type=hidden name="forumID" value="<bean:write name="forumBean" property="forumID"/>"></logic:present>
<input type=hidden name="checkAction" value="yes">
<input type=hidden name="action" value="<bean:write name="action"/>">
<input type=hidden name="sessionToken" value="<%=ParameterUtils.getString(request,"sessionToken")%>">
<tr>
<td bgcolor=#333333" colspan=2>
<font color=#FFFFFF><b><bean:message key="jsp.admincenter.forum.title"/></b></font>
</td>
</tr>
<tr>
<td bgcolor=#EEEEEE align=center colspan=2>
<font color=#333333><logic:present name="forumBean" scope="request"><bean:message key="jsp.admincenter.forum.editforum"/></logic:present><logic:notPresent name="forumBean"><bean:message key="jsp.admincenter.forum.addforum"/></logic:notPresent></font>
</td>
</tr>
<tr>
<td bgcolor=#FFFFFF width=40%><font color=#333333><b><bean:message key="jsp.admincenter.forum.forumgrade"/></b></font></td>
<td bgcolor=#FFFFFF>
<select name="parentID">
<option value='0'><bean:message key="jsp.admincenter.forum.primaryforum"/></option>
<logic:present name="parentID" scope="request">
<option value='<bean:write name="parentID"/>' selected><bean:message key="jsp.admincenter.forum.secondaryforum"/></option>
</logic:present>
</select>
</td>
</tr>
<tr>
<td bgcolor=#FFFFFF width=40%><font color=#333333><b><bean:message key="jsp.search.result.forumname"/></b></font></td>
<td bgcolor=#FFFFFF><input type=text size=40 name="forumName" value="<logic:present name="forumBean" scope="request"><bean:write name="forumBean" property="forumName"/></logic:present>"></td>
</tr>
<tr>
<td bgcolor=#FFFFFF width=40%><font color=#333333><b><bean:message key="jsp.lycode.description"/></b></font></td>
<td bgcolor=#FFFFFF><input type=text size=40 name="forumDescription" value="<logic:present name="forumBean" scope="request"><bean:write name="forumBean" property="forumDescription"/></logic:present>"></td>
</tr>
<tr>
<td bgcolor=#FFFFFF width=40%><font color=#333333><b><bean:message key="jsp.post.tag.html"/></b></font></td>
<td bgcolor=#FFFFFF>
<select name="htmlStat">
<option value="1"><bean:message key="common.lybbs.allow"/></option>
<option value="0" <logic:notPresent name="forumBean">selected</logic:notPresent>><bean:message key="common.lybbs.forbid"/></option>
</select>
</td>
</tr>
<tr>
<td bgcolor=#FFFFFF width=40%><font color=#333333><b><bean:message key="jsp.post.tag.lybbs"/></b></font></td>
<td bgcolor=#FFFFFF>
<select name="lyCodeStat">
<option value="1" <logic:notPresent name="forumBean">selected</logic:notPresent>><bean:message key="common.lybbs.allow"/></option>
<option value="0"><bean:message key="common.lybbs.forbid"/></option>
</select>
</td>
</tr>
<tr>
<td bgcolor=#FFFFFF width=40%><font color=#333333><b><bean:message key="common.lybbs.secretforum"/></b><br><bean:message key="jsp.admincenter.forum.privateforumcomment"/></font></td>
<td bgcolor=#FFFFFF>
<select name="privateForum">
<option value="1"><bean:message key="common.lybbs.yes"/></option>
<option value="0" <logic:notPresent name="forumBean">selected</logic:notPresent>><bean:message key="common.lybbs.no"/></option>
</select>
</td>
</tr>
<tr>
<td bgcolor=#FFFFFF width=40%><font color=#333333><b><bean:message key="jsp.admincenter.forum.privateforumpassword"/></b></font></td>
<td bgcolor=#FFFFFF>
<input type=text size=12 name="forumPassword" value="<logic:present name="forumBean" scope="request"><bean:write name="forumBean" property="forumPassword"/></logic:present>" maxlength=20>
</td>
</tr>
<tr>
<td bgcolor=#FFFFFF width=40%><font color=#333333><b><bean:message key="jsp.admincenter.forum.openforum"/></b><br><bean:message key="jsp.admincenter.forum.openforumcomment"/></font></td>
<td bgcolor=#FFFFFF>
<select name="indexForum">
<option value="1" <logic:notPresent name="forumBean">selected</logic:notPresent>><bean:message key="common.lybbs.yes"/></option>
<option value="0"><bean:message key="common.lybbs.no"/></option>
</select>
</td>
</tr>
<tr>
<td bgcolor=#FFFFFF width=40%>
<font color=#333333><b><bean:message key="jsp.admincenter.forum.forumtype"/></b><br><bean:message key="jsp.admincenter.forum.forumtypecomment"/></font>
</td>
<td bgcolor=#FFFFFF>
<select name="startNewThreads">
<option value="yes" <logic:notPresent name="forumBean">selected</logic:notPresent>><bean:message key="common.lybbs.normalforum"/></option>
<option value="all"><bean:message key="common.lybbs.openforum"/></option>
<option value="follow"><bean:message key="common.lybbs.commentforum"/></option>
<option value="no"><bean:message key="common.lybbs.readonlyforum"/></option>
<option value="cert"><bean:message key="common.lybbs.authforum"/></option>
</select>
</td>
</tr>
<tr>
<td bgcolor=#FFFFFF width=40%><font color=#333333><b><bean:message key="jsp.admincenter.forum.ratings"/></b><br><bean:message key="jsp.admincenter.forum.ratingscomment"/></font></td>
<td bgcolor=#FFFFFF>
<select name="ratings">
<option value="1" <logic:notPresent name="forumBean">selected</logic:notPresent>><bean:message key="common.lybbs.allow"/></option>
<option value="0"><bean:message key="common.lybbs.forbid"/></option>
</select>
</td>
</tr>
<tr>
<td bgcolor=#FFFFFF width=40%><font color=#333333><b><bean:message key="jsp.admincenter.forum.banpost"/></b><br><bean:message key="jsp.admincenter.forum.banpostcomment"/></font></td>
<td bgcolor=#FFFFFF>
<select name="disablePost">
<option value="0"><bean:message key="common.lybbs.allow"/></option>
<option value="1"><bean:message key="common.lybbs.forbid"/></option>
</select>
</td>
</tr>
<tr>
<td bgcolor=#FFFFFF width=40%><font color=#333333><b><bean:message key="jsp.admincenter.forum.validatepost"/></b><br><bean:message key="jsp.admincenter.forum.validatepostcomment"/></font></td>
<td bgcolor=#FFFFFF>
<select name="isValidate">
<option value="1"><bean:message key="common.lybbs.yes"/></option>
<option value="0" <logic:notPresent name="forumBean">selected</logic:notPresent>><bean:message key="common.lybbs.no"/></option>
</select>
</td>
</tr>
<tr>
<td bgcolor=#FFFFFF width=40%>
<font color=#333333><b><bean:message key="jsp.admincenter.forum.teamlogo"/></b><bean:message key="jsp.admincenter.forum.leaveblank"/><bean:message key="jsp.admincenter.forum.teamlogocomment"/></font>
</td>
<td bgcolor=#FFFFFF><input type=text size=60 name="teamLogo" value="<logic:present name="forumBean" scope="request"><bean:write name="forumBean" property="teamLogo"/></logic:present><logic:notPresent name="forumBean">lybbs/myimages/team_077.gif</logic:notPresent>"></td>
</tr>
<tr>
<td bgcolor=#FFFFFF width=40%><font color=#333333><b><bean:message key="jsp.admincenter.forum.teamurl"/></b><bean:message key="jsp.admincenter.forum.leaveblank"/></td>
<td bgcolor=#FFFFFF><input type=text size=60 name="teamUrl" value="<logic:present name="forumBean" scope="request"><bean:write name="forumBean" property="teamUrl"/></logic:present><logic:notPresent name="forumBean">http://</logic:notPresent>"></td>
</tr>
<tr>
<td bgcolor=#FFFFFF align=center colspan=2><input type=submit name=submit value="<bean:message key="common.lybbs.submit"/>"></td>
</tr>
</form>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<script language=JavaScript>
<logic:present name="forumBean" scope="request">
setCurrentSelect(document.myform.htmlStat,"<bean:write name="forumBean" property="htmlStat"/>");
setCurrentSelect(document.myform.lyCodeStat,"<bean:write name="forumBean" property="lyCodeStat"/>");
setCurrentSelect(document.myform.privateForum,"<bean:write name="forumBean" property="privateForum"/>");
setCurrentSelect(document.myform.indexForum,"<bean:write name="forumBean" property="indexForum"/>");
setCurrentSelect(document.myform.startNewThreads,"<bean:write name="forumBean" property="startNewThreads"/>");
setCurrentSelect(document.myform.ratings,"<bean:write name="forumBean" property="ratings"/>");
setCurrentSelect(document.myform.disablePost,"<bean:write name="forumBean" property="disablePost"/>");
setCurrentSelect(document.myform.isValidate,"<bean:write name="forumBean" property="isValidate"/>");
</logic:present>
</script>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -