📄 delete.jsp
字号:
<%@page import = "java.util.*" %><%@page import = "org.jahia.services.homepages.*" %><%@page import="org.jahia.bin.*"%><jsp:useBean id="url" class="java.lang.String" scope="request"/> <% // http files path. %><jsp:useBean id="input" class="java.lang.String" scope="request"/> <% // inputs size. %><jsp:useBean id="values" class="java.util.Hashtable" scope="request"/> <% // hashtable containing values. %><jsp:useBean id="warningMsg" class="java.lang.String" scope="request"/> <% // Warning msg %><jsp:useBean id="includes" class="java.util.Properties" scope="request"/> <% // Includes settings. %><jsp:useBean id="homepageBean" class="JahiaHomepage" scope="session"/> <% // Homepage bean stored in session. %><jsp:useBean id="includeSpecificSection" class="java.lang.String" scope="request"/> <% // Specific home page add section. %><% Boolean isLynx = (Boolean) request.getAttribute( "isLynx" ); String includeDetailSection = includes.getProperty(includeSpecificSection); if ( includeDetailSection == null ) includeDetailSection = "";%><table border="0" width="100%" cellpadding="0" cellspacing="0"><tr> <td colspan="2" nowrap class="text"> <table border="0" cellpadding="1" cellspacing="0"> <tr> <td nowrap class="text" colspan="2"> <b>Home page definition :</b> </td> </tr> <tr> <td nowrap class="text" colspan="2"> <br><br> <b>!!! Are you sure you want to delete this homepage !!!</b> </td> </tr> <tr> <td nowrap class="text" colspan="2"> <br><br><br> <table border="0" cellpadding="0" cellspacing="0" width="400"> <tr> <td class="text" align="left" valign="top"><b>name : <%=homepageBean.getName()%></b></td> </tr> <tr> <td class="text"> </td> </tr> <tr> <td class="text" align="left" valign="top"><b>type : <%=HomepageTypes.getInstance().getTypeName(homepageBean.getType())%></b></td> </tr> <tr> <td class="text"> </td> </tr> <tr> <td class="text" align="left" valign="top"><b>descr :</b></td> </tr> <tr> <td align="left" valign="top"> <textarea class="input" name="descr" rows="5" cols="<%=input%>"><%=homepageBean.getDescr()%></textarea> </td> </tr> <tr> <td colspan="2" height="100"> </td> </tr> <tr> <td align="right" colspan="2"> <input type="hidden" name="confirmdelete" value="true"> <a href="<%=JahiaAdministration.composeActionURL(request,response,"homepages","&sub=detail&hpid=" + homepageBean.getID())%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('cancel','','<%=url%>/images/buttons/cancel_on.gif',1)"><img name="cancel" src="<%=url%>/images/buttons/cancel_off.gif" border="0" alt="Cancel"></a> <a href="javascript:submitFormular('detail','delete');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('delete','','<%=url%>/images/buttons/delete_on.gif',1)"><img name="delete" src="<%=url%>/images/buttons/delete_off.gif" border="0" alt="Delete"></a> </td> </tr> </table> <br> </td> </tr> </table> </td></tr><tr> <td colspan="2" class="text"> <br><br><br><br> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td nowrap width="145" valign="top"><font class="text"><b>Other operations: </b></font></td> <td valign="top" class="text"> <%if(!isLynx.booleanValue()){%><li> <%}%><a href="<%=JahiaAdministration.composeActionURL(request,response,"homepages","&sub=display")%>">Back to Home page list</a><br> <%if(!isLynx.booleanValue()){%><li> <%}%><a href="<%=JahiaAdministration.composeActionURL(request,response,"displaymenu","")%>">Back to menu</a><br> </td> </tr> </table> </td></tr><tr></tr></table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -