📄 critic_list.jsp
字号:
<%@ include file = "../tiles/include.jsp"%><center><bean:define id="title">
<bean:message key="critic.title"/>
</bean:define><gui:window title="<%=title%>" prototype="boWindow" color="100%"><gui:tabbedPanel prototype = "boTabbedPanel" followUp = "usermanag.jsp" color = "#f0f0f0" selectedTab = "tab2" width="83"><!--********************* edit article ******************************************--><bean:define id="tab2_title"><bean:message key="critic.remove"/></bean:define> <gui:tab prototype="boTab" name="tab2" title="<%=tab2_title%>" followUp="./listCritic.do?method=listCritic"> <table class="win" CELLPADDING="0" CELLSPACING="0" width="100%"> <html:form action="listCritic.do?method=listCritic"> <tr> <td><input type="text" name="para" value=""> <bean:message key="article.catalog"/> <html:select property="artCatalog"> <html:option value="" >all</html:option> <logic:present name="catalogtree" scope="request"> <html:options collection="catalogtree" labelProperty="catalogTitle" property="catalogId"/> </logic:present> </html:select> <bean:message key="article.sort"/> <select name="orderby"> <option value="date"><bean:message key="article.updateDate"/></option> <option value="catalog"><bean:message key="article.catalog"/></option> <option value="count"><bean:message key="article.count"/></option> <option value="author"><bean:message key="article.author"/></option> <option value="title"><bean:message key="article.name"/></option> </select> <select name="sort"> <option value="asc"><bean:message key="article.asc"/></option> <option value="desc"><bean:message key="article.desc"/></option> </select> <html:submit styleClass="button"><bean:message key="button.search"/></html:submit> </td> </tr> </table> </html:form> <html:errors/> <table class="sort-table" cellSpacing="1" cellPadding="1" width="100%" border="0"> <thead> <tr> <td colspan="2">Critic list</td> </tr> </thead><html:form action="removeCritic.do?method=removeCritic"><logic:present name="articles" scope="request"><!--page offset start --> <pg:pager url="./listCritic.do" items="<%=((Integer)request.getAttribute("artCount")).intValue()%>" index="center" maxPageItems="10" maxIndexPages="10" isOffset="<%= true %>" export="offset,currentPageNumber=pageNumber" scope="request"><%-- keep track of preference --%> <pg:param name="para"/> <pg:param name="artCatalog"/> <pg:param name="page"/> <pg:param name="orderby"/> <pg:param name="sort"/> <pg:param name="method"/> <%-- save pager offset during form changes --%> <input type="hidden" name="pager.offset" value="<%= offset %>"> <logic:iterate name="articles" id="article" ><pg:item> <tr> <td colspan="2"><bean:write name="article" property="artTitle" /></td> </tr><logic:iterate property="critics" name="article" id="critic" ><tr> <td><input type="checkbox" name="criticId" value="<bean:write name="critic" property="id" />"> <bean:write name="critic" property="author"/></td> <td><bean:write name="critic" property="createDate" formatKey="dateFormat"/></td></tr><tr> <td colspan="2"><bean:write name="critic" property="content"/></td></tr><tr> <td colspan="2"><hr size="1"></td></tr></logic:iterate></pg:item> </logic:iterate> </table> <jsp:include page="./page.jsp" flush="true"/></pg:pager><!-- page offset end --><br><table cellSpacing="0" cellPadding="0" width="100%" border="0"><tr> <td ALIGN="RIGHT"><html:submit styleClass="button"><bean:message key="button.delete"/></html:submit> <html:cancel styleClass="button"><bean:message key="button.cancel"/></html:cancel> </td></tr></logic:present></html:form></table> </gui:tab></gui:tabbedPanel></gui:window></center>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -