1<%-- 2CDDL HEADER START 3 4The contents of this file are subject to the terms of the 5Common Development and Distribution License (the "License"). 6You may not use this file except in compliance with the License. 7 8See LICENSE.txt included in this distribution for the specific 9language governing permissions and limitations under the License. 10 11When distributing Covered Code, include this CDDL HEADER in each 12file and include the License file at LICENSE.txt. 13If applicable, add the following below this CDDL HEADER, with the 14fields enclosed by brackets "[]" replaced with your own identifying 15information: Portions Copyright [yyyy] [name of copyright owner] 16 17CDDL HEADER END 18 19Copyright (c) 2005, 2021, Oracle and/or its affiliates. All rights reserved. 20Portions Copyright 2011 Jens Elkner. 21Portions Copyright (c) 2018, Chris Fraire <cfraire@me.com>. 22 23--%> 24<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 25<%@page session="false" errorPage="error.jsp" %> 26<% 27{ 28 PageConfig cfg = PageConfig.get(request); 29 cfg.checkSourceRootExistence(); 30} 31%><%@ 32 33include file="projects.jspf" 34 35%><% 36/* ---------------------- index.jsp start --------------------- */ 37{ 38 PageConfig cfg = PageConfig.get(request); 39 cfg.setTitle("Search"); 40} 41%><%@ 42 43include file="httpheader.jspf" 44 45%><body> 46 <div id="page"> 47 <header id="whole_header"> 48 <%@include file="pageheader.jspf" %> 49 <div id="Masthead">OpenGrok search</div> 50 <div id="sbar"><%@ 51 52include file="menu.jspf" 53 54 %></div> 55 </header> 56 <div id="results"> 57 <%= PageConfig.get(request).getEnv().getIncludeFiles().getBodyIncludeFileContent(false) %> 58 <% if (PageConfig.get(request).getEnv().isDisplayRepositories()) { %><%@ 59 60include file="repos.jspf" 61 62 %><% } %> 63 </div> 64<% 65/* ---------------------- index.jsp end --------------------- */ 66%><%@ 67 68include file="foot.jspf" 69 70%>