xref: /OpenGrok/opengrok-web/src/main/webapp/pageheader.jspf (revision aa18fa2876e3629259023f79466c3f639b53b9d0)
10d40e9d0SAdam Hornáček<%--
20d40e9d0SAdam HornáčekCDDL HEADER START
30d40e9d0SAdam Hornáček
40d40e9d0SAdam HornáčekThe contents of this file are subject to the terms of the
50d40e9d0SAdam HornáčekCommon Development and Distribution License (the "License").
60d40e9d0SAdam HornáčekYou may not use this file except in compliance with the License.
70d40e9d0SAdam Hornáček
80d40e9d0SAdam HornáčekSee LICENSE.txt included in this distribution for the specific
90d40e9d0SAdam Hornáčeklanguage governing permissions and limitations under the License.
100d40e9d0SAdam Hornáček
110d40e9d0SAdam HornáčekWhen distributing Covered Code, include this CDDL HEADER in each
120d40e9d0SAdam Hornáčekfile and include the License file at LICENSE.txt.
130d40e9d0SAdam HornáčekIf applicable, add the following below this CDDL HEADER, with the
140d40e9d0SAdam Hornáčekfields enclosed by brackets "[]" replaced with your own identifying
150d40e9d0SAdam Hornáčekinformation: Portions Copyright [yyyy] [name of copyright owner]
160d40e9d0SAdam Hornáček
170d40e9d0SAdam HornáčekCDDL HEADER END
180d40e9d0SAdam Hornáček
19*aa18fa28SAdam HornacekCopyright (c) 2007, 2021, Oracle and/or its affiliates. All rights reserved.
200d40e9d0SAdam Hornáček
21d8a7afe2SAdam Hornacek--%><%@page import="org.opengrok.web.PageConfig"%>
220d40e9d0SAdam Hornáček<%
230d40e9d0SAdam Hornáček/* ---------------------- pageheader.jspf start --------------------- */
240d40e9d0SAdam Hornáček{
250d40e9d0SAdam Hornáček    PageConfig cfg = PageConfig.get(request);
26*aa18fa28SAdam Hornacek    String headerContent = cfg.getEnv().getIncludeFiles().getHeaderIncludeFileContent(false);
27*aa18fa28SAdam Hornacek    if (headerContent != null && !headerContent.isBlank()) {
280d40e9d0SAdam Hornáček        %>
29*aa18fa28SAdam Hornacek<div id="header">
30*aa18fa28SAdam Hornacek    <%= headerContent %>
31*aa18fa28SAdam Hornacek</div>
320d40e9d0SAdam Hornáček        <%
330d40e9d0SAdam Hornáček    }
34*aa18fa28SAdam Hornacek}
350d40e9d0SAdam Hornáček/* ---------------------- pageheader.jspf end --------------------- */
360d40e9d0SAdam Hornáček%>
37