<%-- $Id$ CDDL HEADER START The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. See LICENSE.txt included in this distribution for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at LICENSE.txt. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] CDDL HEADER END Copyright (c) 2007, 2021, Oracle and/or its affiliates. All rights reserved. Portions Copyright 2011 Jens Elkner. Portions Copyright (c) 2017-2018, 2020, Chris Fraire . Portions Copyright (c) 2020, Aleksandr Kirillov . --%><%-- All pages, which include this fragment should use the following code snippet to set the title of the document before the include directive for this fragment:

    cfg = PageConfig.get(request);
    cfg.setTitle("your title");

--%> <%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" import=" org.opengrok.indexer.Info, org.opengrok.web.PageConfig, org.opengrok.indexer.web.Prefix, org.opengrok.web.Scripts" %><% /* ---------------------- httpheader.jsp start --------------------- */ { PageConfig cfg = PageConfig.get(request); String styleDir = cfg.getCssDir(); String ctxPath = request.getContextPath(); String dstyle = styleDir + '/' + "style-1.0.4.min.css"; String pstyle = styleDir + '/' + "print-1.0.2.min.css"; String mstyle = styleDir + '/' + "mandoc-1.0.0.min.css"; %> "> <% /** * The order can be arbitrary here, it is hardcoded in Scripts. These * are printed out in footer. * * @see Scripts */ cfg.addScript("jquery"); cfg.addScript("jquery-ui"); cfg.addScript("jquery-tablesorter"); cfg.addScript("tablesorter-parsers"); cfg.addScript("searchable-option-list"); cfg.addScript("utils"); cfg.addScript("jquery-caret"); if (cfg.getPrefix().equals(Prefix.HIST_L)) { out.write(""); } %> <%= cfg.getEnv().getIncludeFiles().getHttpHeaderIncludeFileContent(false) %> <%=cfg.getTitle()%><% out.write(cfg.getHeaderData()); %> <% } /* ---------------------- httpheader.jsp end --------------------- */ %>