httpheader.jspf revision a7851548ebb1d736ee4564a71293fb8ee6ba460c
ab4ab2edaac480f68b476dc19e015c54cd4f1978Lubos Kosco<%--
ab4ab2edaac480f68b476dc19e015c54cd4f1978Lubos KoscoCDDL HEADER START
b227f89b8c13b15a9372ce56713c024f7f73be35Lubos Kosco
ab4ab2edaac480f68b476dc19e015c54cd4f1978Lubos KoscoThe contents of this file are subject to the terms of the
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders HatlenCommon Development and Distribution License (the "License").
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders HatlenYou may not use this file except in compliance with the License.
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders Hatlen
551b849ce88d596dc52dda2f78229a932b339c78Lubos KoscoSee LICENSE.txt included in this distribution for the specific
551b849ce88d596dc52dda2f78229a932b339c78Lubos Koscolanguage governing permissions and limitations under the License.
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders Hatlen
a1318a82916028f363b3c5b52e7fd7256b632497Trond NorbyeWhen distributing Covered Code, include this CDDL HEADER in each
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbyefile and include the License file at LICENSE.txt.
a1318a82916028f363b3c5b52e7fd7256b632497Trond NorbyeIf applicable, add the following below this CDDL HEADER, with the
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbyefields enclosed by brackets "[]" replaced with your own identifying
477c09a2656e6a2c1075425ad81e61d594164fa9Lubos Koscoinformation: Portions Copyright [yyyy] [name of copyright owner]
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye
bcae302a5f4b516d2f3c05f657df054e1a0efde7Knut Anders HatlenCDDL HEADER END
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye
98774b0b90e4da0f3f2c5e4856bcbbf366ed0fe0Knut Anders HatlenCopyright 2007 Sun Microsystems, Inc. All rights reserved.
a1318a82916028f363b3c5b52e7fd7256b632497Trond NorbyeUse is subject to license terms.
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye--%><%@ page import="org.opensolaris.opengrok.configuration.*"%><%
a1318a82916028f363b3c5b52e7fd7256b632497Trond NorbyeString laf = environment.getWebappLAF();
afb218f076cae538126a5f931299a82a114a075aKnut Anders HatlenString httpHeaderContext = request.getContextPath();
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye%><?xml version="1.0" encoding="UTF-8"?>
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye<head>
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye <meta name="robots" content="noindex,nofollow">
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye <meta name="generator" content="<%=org.opensolaris.opengrok.Info.getVersion()%> (<%=org.opensolaris.opengrok.Info.getRevision()%>)"/>
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <link rel="icon" href="<%=httpHeaderContext%>/<%=laf%>/img/icon.png" type="image/png"/>
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye <link rel="stylesheet" type="text/css" href="<%=httpHeaderContext%>/<%=laf%>/style.css"/>
ab4ab2edaac480f68b476dc19e015c54cd4f1978Lubos Kosco <link rel="stylesheet" type="text/css" href="<%=httpHeaderContext%>/<%=laf%>/print.css" media="print" />
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye <link rel="alternate stylesheet" type="text/css" media="all" title="Paper White" href="<%=httpHeaderContext%>/<%=laf%>/print.css"/>
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders Hatlen <link rel="search" href="<%=httpHeaderContext%>/opensearch" type="application/opensearchdescription+xml" title="OpenGrok Search for current project(s)" />
bbb39d08c0e5b73c89ba813a7c1789842c60f961Lubos Kosco <title><%=pageTitle%></title>
2ba599c0d79caf59996d8b54a0490bb968442134Knut Anders Hatlen
67b14513c549ae0027ba7590e736b3dd3281db7cLubos Kosco<script type="text/javascript">
8dc938f5c6296cffbadd8e06925dc0762dd79c5aLubos Koscofunction toggle_annotations() {
6d7c6f82e644c205bc679ee5b1fa2929ec949963Lubos Kosco var spans = document.getElementsByTagName("span");
6d7c6f82e644c205bc679ee5b1fa2929ec949963Lubos Kosco
6d7c6f82e644c205bc679ee5b1fa2929ec949963Lubos Kosco for (var i = 0; i < spans.length; i++) {
6d7c6f82e644c205bc679ee5b1fa2929ec949963Lubos Kosco var span = spans[i];
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye if (span.className == 'blame') {
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye span.className = 'blame-hidden';
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye } else if (span.className == 'blame-hidden') {
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye span.className = 'blame';
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye }
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders Hatlen }
bbb39d08c0e5b73c89ba813a7c1789842c60f961Lubos Kosco}
2ba599c0d79caf59996d8b54a0490bb968442134Knut Anders Hatlenfunction selectAllProjects() {
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye var list = document.getElementById("project");
ca37bb3c4127b35d333203398bd983ee730d9da5Jan S Berg var all = document.getElementById("ALL");
6d7c6f82e644c205bc679ee5b1fa2929ec949963Lubos Kosco for(var i = 0; i < list.options.length; ++i) {
6d7c6f82e644c205bc679ee5b1fa2929ec949963Lubos Kosco list.options[i].selected=all.checked ? true : false;
ca37bb3c4127b35d333203398bd983ee730d9da5Jan S Berg }
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye}
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbyefunction alltoggle() {
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye var list = document.getElementById("project");
ab4ab2edaac480f68b476dc19e015c54cd4f1978Lubos Kosco var all = document.getElementById("ALL");
ab4ab2edaac480f68b476dc19e015c54cd4f1978Lubos Kosco var toggle=false;
301b95653d1ea543522ddd6be61572b2093b8fa3Knut Anders Hatlen var value="";
301b95653d1ea543522ddd6be61572b2093b8fa3Knut Anders Hatlen for(var i = 0; i < list.options.length; ++i) {
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye if (list.options[i].selected==false) {
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye toggle=true;
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye }
4bb936310d8f131aa850821e9254ac14242c7f95Knut Anders Hatlen else value=value+list.options[i].value;
4bb936310d8f131aa850821e9254ac14242c7f95Knut Anders Hatlen }
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye all.checked= toggle ? false : true;
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye}
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbyefunction lntoggle() {
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye var a = document.getElementsByTagName("a");
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye for (var i = 0; i < a.length; i++) {
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye var el = a[i]; //fix all line #
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye if (el.className == 'l' || el.className == 'hl') {
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye el.className=el.className+'-hide';
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye el.setAttribute("tmp", el.innerHTML);
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye el.innerHTML='';
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye }
87396bac3204b6788c817e19222626eefde8f3f0Knut Anders Hatlen else if (el.className == 'l-hide' || el.className == 'hl-hide') {
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye el.innerHTML=el.getAttribute("tmp");
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye el.className=el.className.substr(0,el.className.indexOf('-'));
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye }
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye }
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye}
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye</script>
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye</head>
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye