📄 operations.jsp
字号:
<%@page import = "java.util.*" %><%@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="operation" class="java.lang.String" scope="request"/> <% // The selected operation. %><% Boolean isLynx = (Boolean) request.getAttribute("isLynx"); // Linx. Boolean indexExists = (Boolean) request.getAttribute("indexExists"); // Does the index exist or not.%><table border="0" width="100%" cellpadding="0" cellspacing="0"><tr> <td colspan="2" nowrap class="text"> <table border="0" cellpadding="1" cellspacing="0" width="90%"> <% if ( !indexExists.booleanValue() ) { %> <tr> <td class="text" colspan="2" align="left"> <br><br> <b>!! The search index do not exist yet, you should perform a full re-index of the site. !!</b> </td> </tr> <% } %> <!-- <tr> <td class="text" colspan="2" align="left"><b>History :</b></td> </tr> <tr> <td class="text" width="20"> </td> <td nowrap class="text"> <br> <p>Last indexation : 21.04.2002</p> <p>Last optimization : 20.04.2002</p> </td> </tr> //--> <tr> <td class="text" colspan="2" align="left"> <br><br><br> <b>Available Operations :</b> <br><br> </td> </tr> <tr> <td class="text" width="20"> </td> <td class="text" align="left"> <input type="radio" name="operation" value="doindex" <% if (operation.equals("doindex")) {%>checked<%}%>>Re-index and optimize the search index.<br><br> <% if ( indexExists.booleanValue() ) { %> <input type="radio" name="operation" value="dooptimize" <% if (operation.equals("dooptimize")) {%>checked<%}%>>Optimize the search index only. <% } %> </td> </tr> <tr> <td align="right" colspan="2"> <br><br><br> <%if(!isLynx.booleanValue()){%> <a href="javascript:document.formular.submit();" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('next','','<%=url%>/images/buttons/next_steep_on.gif',1)"><img name="next" src="<%=url%>/images/buttons/next_steep_off.gif" width="114" height="17" border="0"></a> <%}else{%> <br> <input type="submit" name="submit" value="Next Step >>"> <%}%> </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,"displaymenu","")%>">Back to menu</a><br> </td> </tr> </table> </td></tr><tr></tr></table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -