1186N/A<%--
1186N/A$Id$
1281N/A
144N/ACDDL HEADER START
144N/A
144N/AThe contents of this file are subject to the terms of the
1281N/ACommon Development and Distribution License (the "License").
144N/AYou may not use this file except in compliance with the License.
144N/A
144N/ASee LICENSE.txt included in this distribution for the specific
144N/Alanguage governing permissions and limitations under the License.
144N/A
144N/AWhen distributing Covered Code, include this CDDL HEADER in each
144N/Afile and include the License file at LICENSE.txt.
144N/AIf applicable, add the following below this CDDL HEADER, with the
144N/Afields enclosed by brackets "[]" replaced with your own identifying
144N/Ainformation: Portions Copyright [yyyy] [name of copyright owner]
144N/A
144N/ACDDL HEADER END
144N/A
144N/ACopyright 2007 Sun Microsystems, Inc. All rights reserved.
144N/AUse is subject to license terms.
144N/A
1356N/APortions Copyright 2011, 2012 Jens Elkner.
1186N/A
1281N/A--%><%--
1186N/A
1186N/AAll pages, which include this fragment should use the following code snippet
1186N/Ato set the title of the document before the include directive for this fragment:
1186N/A<pre>
1186N/A
1281N/A cfg = PageConfig.get(request);
1281N/A cfg.setTitle("your title");
1186N/A
1186N/A</pre>
1478N/A--%><%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><%@
1186N/A
1186N/Ainclude file="pageconfig.jspf"
1186N/A
934N/A%><%
1186N/A/* ---------------------- httpheader.jsp start --------------------- */
1186N/A{
1281N/A cfg = PageConfig.get(request);
1281N/A String styleDir = cfg.getCssDir();
1281N/A String ctxPath = request.getContextPath();
1364N/A boolean debug = false;
1364N/A String debugParam = request.getParameter("debug");
1364N/A if (debugParam != null) {
1364N/A debug = debugParam.isEmpty() || Boolean.parseBoolean(debugParam);
1364N/A } else {
1364N/A debug = getServletContext()
1364N/A .getAttribute(WebappListener.JS_DEBUG_PARAM) == Boolean.TRUE;
1364N/A }
1390N/A String dstyle = styleDir + '/' + "style" + ( debug ? ".css" : "-min.css");
1390N/A String pstyle = styleDir + '/' + "print" + ( debug ? ".css" : "-min.css");
830N/A%><?xml version="1.0" encoding="UTF-8"?>
1281N/A<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
1281N/A "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
850N/A<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
144N/A<head>
1186N/A<meta name="robots" content="noindex,nofollow" />
1186N/A<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
1186N/A<meta name="generator" content="<%=Info.getVersion()%> (<%=Info.getRevision()%>)" />
1275N/A<meta http-equiv="X-UA-Compatible" content="IE=8" />
1186N/A<link rel="icon" href="<%=styleDir%>/img/icon.png" type="image/png" />
1281N/A<link rel="stylesheet" type="text/css" media="all"
1281N/A title="Default" href="<%= dstyle %>" />
1186N/A<link rel="alternate stylesheet" type="text/css" media="all"
1281N/A title="Paper White" href="<%= pstyle %>" />
1390N/A<link rel="stylesheet" type="text/css" href="<%= pstyle %>" media="print" />
1419N/A<link rel="search" href="<%= ctxPath + Prefix.SEARCH_O %>"
1356N/A type="application/opensearchdescription+xml"
1387N/A title="OpenGrok Search for current project(s)" />
1356N/A<script type="text/javascript" src="<%=ctxPath%>/static/yui-<%=
1387N/A debug ? "debug" : "min" %>.js"></script>
1363N/A<script type="text/javascript" src="<%=ctxPath%>/static/opengrok-<%=
1387N/A debug ? "debug" : "min" %>.js"></script>
1356N/A<title><%= cfg.getTitle() %></title><%
1281N/A out.write(cfg.getHeaderData());
1186N/A%>
1186N/A</head><%
1186N/A}
1186N/A/* ---------------------- httpheader.jsp end --------------------- */
1186N/A%>