httpheader.jspf revision 847
144N/A<%--
144N/ACDDL HEADER START
144N/A
144N/AThe contents of this file are subject to the terms of the
144N/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
187N/A--%><%@ page import="org.opensolaris.opengrok.configuration.*"%><%
144N/AString laf = environment.getWebappLAF();
157N/AString httpHeaderContext = request.getContextPath();
830N/A%><?xml version="1.0" encoding="UTF-8"?>
144N/A<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
144N/A<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
144N/A<head>
144N/A <meta name="robots" content="noindex,nofollow">
830N/A <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
230N/A <meta name="generator" content="<%=org.opensolaris.opengrok.Info.getVersion()%> (<%=org.opensolaris.opengrok.Info.getRevision()%>)"/>
157N/A <link rel="icon" href="<%=httpHeaderContext%>/<%=laf%>/img/icon.png" type="image/png"/>
157N/A <link rel="stylesheet" type="text/css" href="<%=httpHeaderContext%>/<%=laf%>/style.css"/>
157N/A <link rel="stylesheet" type="text/css" href="<%=httpHeaderContext%>/<%=laf%>/print.css" media="print" />
157N/A <link rel="alternate stylesheet" type="text/css" media="all" title="Paper White" href="<%=httpHeaderContext%>/<%=laf%>/print.css"/>
847N/A <link rel="search" href="<%=httpHeaderContext%>/opensearch" type="application/opensearchdescription+xml" title="OpenGrok Search for current project(s)" />
144N/A <title><%=pageTitle%></title>
181N/A
181N/A<script type="text/javascript">
181N/Afunction toggle_annotations() {
181N/A var spans = document.getElementsByTagName("span");
181N/A
181N/A for (var i = 0; i < spans.length; i++) {
181N/A var span = spans[i];
181N/A if (span.className == 'blame') {
181N/A span.className = 'blame-hidden';
181N/A } else if (span.className == 'blame-hidden') {
181N/A span.className = 'blame';
181N/A }
181N/A }
181N/A}
830N/Afunction selectAllProjects() {
830N/A var list = document.getElementById("project");
830N/A var all = document.getElementById("ALL");
830N/A for(var i = 0; i < list.options.length; ++i) {
830N/A list.options[i].selected=all.checked ? true : false;
830N/A }
830N/A}
840N/Afunction alltoggle() {
830N/A var list = document.getElementById("project");
830N/A var all = document.getElementById("ALL");
830N/A var toggle=false;
830N/A var value="";
830N/A for(var i = 0; i < list.options.length; ++i) {
830N/A if (list.options[i].selected==false) {
830N/A toggle=true;
830N/A }
830N/A else value=value+list.options[i].value;
830N/A }
830N/A all.checked= toggle ? false : true;
830N/A}
840N/Afunction lntoggle() {
840N/A var a = document.getElementsByTagName("a");
840N/A for (var i = 0; i < a.length; i++) {
840N/A var el = a[i]; //fix all line #
840N/A if (el.className == 'l' || el.className == 'hl') {
840N/A el.className=el.className+'-hide';
847N/A el.setAttribute("tmp", el.innerHTML);
847N/A el.innerHTML='';
847N/A }
840N/A else if (el.className == 'l-hide' || el.className == 'hl-hide') {
847N/A el.innerHTML=el.getAttribute("tmp");
840N/A el.className=el.className.substr(0,el.className.indexOf('-'));
840N/A }
840N/A }
840N/A}
181N/A</script>
144N/A</head>