📄 component_decryptjec.jsp
字号:
<%@include file="include_header.jsp"%><%@page import = "java.util.*,org.jahia.services.sites.*"%><%@page import = "java.util.*,org.jahia.services.jef.*"%><%@page import = "java.util.*,org.jahia.registries.*"%><%@page import="org.jahia.bin.*"%><% String theURL = ""; Hashtable cryptedComp = (Hashtable)request.getAttribute("cryptedComp"); JahiaSite currentSite = (JahiaSite)request.getAttribute("site"); String requestURI = (String)request.getAttribute("requestURI"); String contextRoot = (String)request.getContextPath();%><script language="javascript"> function sendForm() { document.mainForm.submit(); }</script><tr> <td align="right" class="text" colspan="2"><b><% if ( currentSite!= null ){%>site <%=currentSite.getServerName()%> <%}%>:: Encrypted Components ::</b> </td></tr></table><br><table cellpadding="2" cellspacing="0" border="0" width="100%"><tr> <td colspan="2" width="530"> </td></tr><tr> <td width="100"> </td> <td width="100%"> <table border="0" cellpadding="0" width="90%"> <tr> <td nowrap> <font class="text"> <b>Encrypted Components List:</b><br><br><br><br> </font> </td> </tr> <tr> <td width="100%"> <table border="0" cellpadding="0" cellspacing="5" width="100%"> <tr> <td valign="top" align="left" class="text" width="50%"><b>Name</b></td> <td valign="top" align="left" class="text" width="25%"></td> <td valign="top" align="right" class="text" width="25%"><b>Status</b></td> </tr> <tr> <td colspan="3"></td> </tr> <tr> <td colspan="3" width="100%" height="2" background="<%=request.getContextPath()%>/jsp/jahia/engines/images/hr.gif"><img src="<%=request.getContextPath()%>/jsp/jahia/engines/images/pix.gif" width="1" height="1"></td> </tr> <tr> <td colspan="3"><br></td> </tr> <% Enumeration enum = cryptedComp.keys(); if ( enum.hasMoreElements() ){ Integer decrypted = null; String filename = null; while (enum.hasMoreElements()){ filename = (String)enum.nextElement(); decrypted = (Integer)cryptedComp.get(filename); %> <tr> <td class="text" valign="top"><b><%=filename%></b><br><br></td> <td class="text" valign="top"></td> <td class="text" valign="top" align="right" nowrap> <% if ( decrypted.intValue() == JefFileConstants.LOCKED ){ %>requires different license<% } else if ( decrypted.intValue() == JefFileConstants.UNLOCKED ) { %>extracted successfully<% } else if ( decrypted.intValue() == JefFileConstants.INVALID_JEF_FILE ) { %>invalid encrypted file<% } else if ( decrypted.intValue() == JefFileConstants.IO_ERROR ) { %>IO File error occured<% } else if ( decrypted.intValue() == JefFileConstants.JAVA_SECURITY_ERROR ) { %>Java security error occured<% } else if ( decrypted.intValue() == JefFileConstants.UNKNOWN_ERROR ) { %>Unknown error occured<% }%></td> </tr> <% } } else { %><tr><td colspan="3" class="text">No encrypted components found</td></tr><% } %> <tr> <td colspan="3"><br><br><br><br></td> </tr> </table> </td> </tr> <tr> <td> <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"> <font class="text"> <%if(!isLynx){%><li> <%}%><a href="<%=JahiaAdministration.composeActionURL(request,response,"components","&sub=display")%>">Back to components list</a><br> <%if(!isLynx){%><li> <%}%><a href="<%=JahiaAdministration.composeActionURL(request,response,"displaymenu","")%>">Back to menu</a><br> </font> </td> </tr> </table> </td> </tr> </table> </td></tr><tr> <td colspan="2" align="right"> <br> <br> <font class="text2"><%=jahiaDisplayMessage%> </font> </td></tr><tr> <td colspan="2"> </td></tr></table><%@include file="include_footer.jsp"%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -