?? searchview.jsp
字號:
<%-- Copyright (c) 2000, 2006 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: IBM Corporation - initial API and implementation--%><%@ include file="header.jsp"%><% SearchData data = new SearchData(application, request, response); WebappPreferences prefs = data.getPrefs(); LayoutData ldata = new LayoutData(application,request, response);%><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta http-equiv="Pragma" content="no-cache"><meta http-equiv="Expires" content="-1"><%if (data.isProgressRequest()) {%> <meta HTTP-EQUIV="REFRESH" CONTENT="2;URL=<%="searchView.jsp?"+request.getQueryString()%>"><%}%><title><%=ServletResources.getString("SearchResults", request)%></title><base target="ContentViewFrame"></head><body dir="<%=direction%>" bgcolor="<%=prefs.getBasicViewBackground()%>"><%if (data.isProgressRequest()) {%><table border="0" cellpadding="0" cellspacing="0"> <tr> <td> <%=ServletResources.getString("Indexing", request)%> </td> </tr> <tr> <td> <%=data.getIndexedPercentage()%>% <%=ServletResources.getString("complete", request)%> </td> </tr> <tr> <td> <br> <%=ServletResources.getString("IndexingPleaseWait", request)%> </td> </tr></table></body></html><% return;} else {%> <%@ include file="advanced.inc"%><% if (data.isSearchRequest()) { if (data.getResultsCount() == 0){ out.write(ServletResources.getString("Nothing_found", request)); } else { %><table border="0" cellpadding="0" cellspacing="0"><% //boolean disabledSearchResults = false; for (int topic = 0; topic < data.getResultsCount(); topic++){ // if(!data.isEnabled(topic)){ // continue; // }%><tr> <td align='<%=isRTL?"left":"right"%>'><img src="<%=prefs.getImagesDirectory()%>/topic.gif" alt=""/></td> <td align='<%=isRTL?"right":"left"%>' nowrap> <a <%=("a"+topic).equals(data.getSelectedTopicId())?" name=\"selectedItem\" ":""%> href='<%=data.getTopicHref(topic)%>' title="<%=data.getTopicTocLabel(topic)%>"> <%=data.getTopicLabel(topic)%> </a> </td></tr><% }%> </table><% } }}%></body></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -