Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 44068 invoked from network); 16 Dec 2006 16:22:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Dec 2006 16:22:09 -0000 Received: (qmail 86793 invoked by uid 500); 16 Dec 2006 16:22:16 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 86760 invoked by uid 500); 16 Dec 2006 16:22:16 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 86679 invoked by uid 99); 16 Dec 2006 16:22:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Dec 2006 08:22:16 -0800 X-ASF-Spam-Status: No, hits=-8.2 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,WEIRD_QUOTING X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Dec 2006 08:22:00 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 6D6221A9823; Sat, 16 Dec 2006 08:21:13 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r487826 [4/7] - in /directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins: ./ org.apache.lucene_1.4.103.v20060510a/ org.apache.lucene_1.4.103.v20060601/ org.apache.lucene_1.4.103.v20060601/META-INF/ org.apache.lucene_1.4.... Date: Sat, 16 Dec 2006 16:21:09 -0000 To: commits@directory.apache.org From: pamarcelot@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20061216162113.6D6221A9823@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Added: directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/searchScoped.jsp URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/searchScoped.jsp?view=auto&rev=487826 ============================================================================== --- directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/searchScoped.jsp (added) +++ directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/searchScoped.jsp Sat Dec 16 08:21:01 2006 @@ -0,0 +1,247 @@ +<%-- + Copyright (c) 2000, 2004 IBM Corporation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Contributors: + IBM Corporation - initial API and implementation +--%> +<%@ include file="header.jsp"%> + +<% + SearchData data = new SearchData(application, request, response); + WebappPreferences prefs = data.getPrefs(); +%> + + + + + + +<%=ServletResources.getString("Search", request)%> + + + + + + + + + +
+ " valign="middle" cellspacing="0" cellpadding="0" border="0"> + + + + + + + + +
id="searchTD"> + + + + +   + + + '; return true;" onmouseout="window.status='';"><%=ServletResources.getLabel("Scope", request)%>: + + +
<%=data.getScope()%>
+
+
+ + + + Added: directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/searchSimple.jsp URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/searchSimple.jsp?view=auto&rev=487826 ============================================================================== --- directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/searchSimple.jsp (added) +++ directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/searchSimple.jsp Sat Dec 16 08:21:01 2006 @@ -0,0 +1,225 @@ +<%-- + Copyright (c) 2000, 2004 IBM Corporation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Contributors: + IBM Corporation - initial API and implementation +--%> +<%@ include file="header.jsp"%> + +<% + SearchData data = new SearchData(application, request, response); + WebappPreferences prefs = data.getPrefs(); +%> + + + + + + +<%=ServletResources.getString("Search", request)%> + + + + + + + + + +
+ " valign="middle" cellspacing="0" cellpadding="0" border="0"> + + + + + + + +
> + + + + +   + + + '; return true;" onmouseout="window.status='';"><%=ServletResources.getString("Advanced", request)%>  +
+
+ + + + Added: directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/searchToolbar.jsp URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/searchToolbar.jsp?view=auto&rev=487826 ============================================================================== --- directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/searchToolbar.jsp (added) +++ directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/searchToolbar.jsp Sat Dec 16 08:21:01 2006 @@ -0,0 +1,31 @@ +<%-- + Copyright (c) 2000, 2004 IBM Corporation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Contributors: + IBM Corporation - initial API and implementation +--%> +<%@ include file="header.jsp"%> + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/searchView.jsp URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/searchView.jsp?view=auto&rev=487826 ============================================================================== --- directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/searchView.jsp (added) +++ directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/searchView.jsp Sat Dec 16 08:21:01 2006 @@ -0,0 +1,164 @@ +<%-- + Copyright (c) 2000, 2006 IBM Corporation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Contributors: + IBM Corporation - initial API and implementation +--%> +<%@ include file="header.jsp"%> + +<% + SearchData data = new SearchData(application, request, response); + // After each search we preserve the scope (working set), if any + // this need to be at the beginning, otherwise cookie is not written + if (data.isSearchRequest()) + data.saveScope(); + + WebappPreferences prefs = data.getPrefs(); +%> + + + + + + + +<%=ServletResources.getString("SearchResults", request)%> + + + + + + + + + + + + + +<% +if (!data.isSearchRequest()) { + out.write(ServletResources.getString("doSearch", request)); +} else if (data.getQueryExceptionMessage()!=null) { + out.write(data.getQueryExceptionMessage()); +} else if (data.isProgressRequest()) { +%> + +
+ + + + + +
<%=ServletResources.getString("Indexing", request)%>
+
+
+
+
<%=data.getIndexedPercentage()%>% <%=ServletResources.getString("complete", request)%>

<%=ServletResources.getString("IndexingPleaseWait", request)%>
+
+ + + + +<% + return; +} else if (data.getResultsCount() == 0){ + out.write(ServletResources.getString("Nothing_found", request)); +} else { +%> + + + +<% + for (int topic = 0; topic < data.getResultsCount(); topic++) + { + if(data.isActivityFiltering() && !data.isEnabled(topic)){ + continue; + } +%> + + + + + + +<% + String desc = data.getTopicDescription(topic); + if (desc!=null) { +%> + + + +<% + } + } +%> +
+ +<% + boolean isPotentialHit = data.isPotentialHit(topic); + if (isPotentialHit) { +%> + + + + +<% + } + else { +%> + + + +<% + } +%> + + + + +<% + String label = null; + if (isPotentialHit) { + label = ServletResources.getString("PotentialHit", data.getTopicLabel(topic), request); + } + else { + label = data.getTopicLabel(topic); + } +%> + + <%=label%> +
+ + <%=desc%> +
+ +<% +} +%> + + + + + Added: directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/tabs.jsp URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/tabs.jsp?view=auto&rev=487826 ============================================================================== --- directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/tabs.jsp (added) +++ directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/tabs.jsp Sat Dec 16 08:21:01 2006 @@ -0,0 +1,296 @@ +<%-- + Copyright (c) 2000, 2004 IBM Corporation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Contributors: + IBM Corporation - initial API and implementation +--%> +<%@ include file="header.jsp"%> + +<% + LayoutData data = new LayoutData(application,request, response); + WebappPreferences prefs = data.getPrefs(); + View[] views = data.getViews(); +%> + + + + + +<%=ServletResources.getString("Tabs", request)%> + + + + + + + + + + + + +<% + for (int i=0; i + + <%-- div inside separator cell fixes top separator pixel that was not white on IE, or first separator not displayed when frame width happens to be even number of pixels --%> +<% + } +%> + +<% + } +%> + + +
+ > + <%=title%> + +
+ + + + Added: directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/toc.js URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/toc.js?view=auto&rev=487826 ============================================================================== --- directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/toc.js (added) +++ directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/toc.js Sat Dec 16 08:21:01 2006 @@ -0,0 +1,607 @@ +/******************************************************************************* + * Copyright (c) 2000, 2004 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ + +// Common scripts for IE and Mozilla. + +var isMozilla = navigator.userAgent.indexOf('Mozilla') != -1 && parseInt(navigator.appVersion.substring(0,1)) >= 5; +var isIE = navigator.userAgent.indexOf('MSIE') != -1; + +var oldActive; +var oldActiveClass = ""; + + +// Preload images +// ********************************************************** +// Note: code moved into the jsp, for dynamic image preferences + +/** + * Returns the target node of an event + */ +function getTarget(e) { + var target; + if (isMozilla) + target = e.target; + else if (isIE) + target = window.event.srcElement; + + return target; +} + +/** + * Returns the next tree node "down" from current one + */ +function getNextDown(node) +{ + var a = getAnchorNode(node); + if (!a) return null; + + // Try visible child first + var li = a.parentNode; + var ul = getChildNode(li, "UL"); + if (ul && ul.className == "expanded") + return getDescendantNode(ul, "A"); + + // Try next sibling + var li_sib = getNextSibling(li); + if (li_sib != null) + return getDescendantNode(li_sib, "A"); + + // Try looking to parent's sibling + while(li_sib == null) { + var ul = li.parentNode; + li = ul.parentNode; + if (li.tagName != "LI") // reached the top, nothing else to do + return null; + + li_sib = getNextSibling(li); + } + + // found the next down sibling + return getDescendantNode(li_sib, "A"); +} + +/** + * Returns the next tree node "down" from current one + */ +function getNextUp(node) +{ + var a = getAnchorNode(node); + if (!a) return null; + + // Get previous sibling first + var li = a.parentNode; + var li_sib = getPrevSibling(li); + if (li_sib != null) { + // try to get the deepest node that preceeds this current node + var candidate = getDescendantNode(li_sib, "A"); + var nextDown = getNextDown(candidate); + while(nextDown != null && nextDown != node){ + candidate = nextDown; + nextDown = getNextDown(nextDown); + } + return getDescendantNode(candidate, "A"); ; + } else { + // get the parent + var li = li.parentNode.parentNode; + if (li && li.tagName == "LI") + return getDescendantNode(li, "A"); + else + return null; + } +} + +/** + * Returns the next sibling element + */ +function getNextSibling(node) +{ + var sib = node.nextSibling; + while (sib && (sib.nodeType == 3 || sib.tagName=="SCRIPT")) // text or script node + sib = sib.nextSibling; + return sib; +} + +/** + * Returns the next sibling element + */ +function getPrevSibling(node) +{ + var sib = node.previousSibling; + while (sib && (sib.nodeType == 3 || sib.tagName=="SCRIPT")) // text or script node + sib = sib.previousSibling; + return sib; +} + + +/** + * Returns the child node with specified tag + */ +function getChildNode(parent, childTag) +{ + var list = parent.childNodes; + if (list == null) return null; + for (var i=0; i 0){ + if (!frames.dynLoadFrame) { + return; + } + var ix = window.location.href.indexOf('?'); + if (ix < 0) { + return; + } + var query = window.location.href.substr(ix); + frames.dynLoadFrame.location = "tocFragment.jsp" + query + "&path=" + ul.id; + } + } +} + +/** + * Expands the nodes from root to the specified node + */ +function expandPathTo(node, inclusive) +{ + // when the node is a link, get the plus/minus image + if (node.tagName == "A") + { + var img = getChildNode(node.parentNode, "IMG") + if (img == null) return; + expandPathTo(img, inclusive); + return; + } + + if (inclusive && isCollapsed(node)) + expand(node); + + var li = node.parentNode; + if (li == null) return; + var ul = li.parentNode; + if (ul == null) return; + li = ul.parentNode; + if (li == null) return; + var img = getChildNode(li, "IMG"); + if (img == null) return; + + expandPathTo(img, true); +} + +/** + * Returns true when this is an expanded tree node + */ +function isExpanded(node) { + return node.className == "expanded"; +} + +/** + * Returns true when this is a collapsed tree node + */ +function isCollapsed(node) { + return node.className == "collapsed"; +} + +/** + * Highlights link + */ +function highlightTopic(topic) +{ + if (isMozilla) + window.getSelection().removeAllRanges(); + + var a = getAnchorNode(topic); + if (a != null) + { + parent.parent.parent.setContentToolbarTitle(tocTitle); + if (oldActive) + oldActive.className = oldActiveClass; + + oldActive = a; + oldActiveClass = a.className; + a.className = "active"; + // it looks like the onclick event is not handled in mozilla + // *** TO DO: handle failed synchronization, do not select in that case + if (isMozilla && a.onclick) + a.onclick() + //if (isIE) + // a.hideFocus = "true"; + } +} + +/** + * Selects a topic in the tree: expand tree and highlight it + * returns true if success + */ +function selectTopic(topic) +{ + if (!topic) + return false; + + // remove the query, if any + var i = topic.indexOf('?'); + if (i != -1) + topic = topic.substring(0, i); + + var links = document.getElementsByTagName("a"); + + for (var i=0; i= pageTop ) + { + if (nodeBottom <= pageBottom) + scroll = 0; // already in view + else + scroll = nodeBottom - pageBottom; + } + else + { + scroll = nodeTop - pageTop; + } + + return scroll; +} + +/* + * Currently called on IE only + */ +function focusHandler(e) +{ + /*if (isMozilla) + return; + */ + + try{ + if (oldActive){ + // only focus when the element is visible + var scroll = getVerticalScroll(oldActive); + if (scroll == 0) + oldActive.focus(); + } + } + catch(e){} +} + + +/** + * display topic label in the status line on mouse over topic + */ +function mouseMoveHandler(e) { + var overNode = getTarget(e); + if (!overNode) return; + + overNode = getAnchorNode(overNode); + if (overNode == null){ + window.status = ""; + return; + } + + if (isMozilla) + e.cancelBubble = false; + + if (overNode.title == "") { + if (overNode.innerText) + overNode.title = overNode.innerText; + else if (overNode.text) + overNode.title = overNode.text; + } + window.status = overNode.title; +} + +/** + * handler for expanding / collapsing topic tree + */ +function mouseClickHandler(e) { + + var clickedNode = getTarget(e); + + if (isPlusMinus(clickedNode) ) + { + if (isCollapsed(clickedNode)) + expand(clickedNode); + else if (isExpanded(clickedNode)) + collapse(clickedNode); + } + else + { + var plus_minus = getPlusMinus(clickedNode); + if (plus_minus != null) + highlightTopic(plus_minus); + } + + if (isMozilla) + e.cancelBubble = true; + else if (isIE) + window.event.cancelBubble = true; +} + +/** + * handler for expanding / collapsing topic tree + */ +function mouseDblClickHandler(e) { + + var clickedNode = getTarget(e); + if (!clickedNode) return; + + var plus_minus = getPlusMinus(clickedNode); + if (plus_minus != null) + { + if (isCollapsed(plus_minus)) + expand(plus_minus); + else if (isExpanded(plus_minus)) + collapse(plus_minus); + + highlightTopic(plus_minus); + } + + if (isMozilla) + e.cancelBubble = true; + else if (isIE) + window.event.cancelBubble = true; +} + +/** + * Handler for key down (arrows) + */ +function keyDownHandler(e) +{ + var key; + + if (isIE) { + key = window.event.keyCode; + } else if (isMozilla) { + key = e.keyCode; + } + + if (key <37 || key > 40) + return true; + + if (isMozilla) + e.cancelBubble = true; + else if (isIE) + window.event.cancelBubble = true; + + if (key == 39) { // Right arrow, expand + var clickedNode = getTarget(e); + if (!clickedNode) return; + if (isIE){ + if(clickedNode.id!=null){ + if(clickedNode.id.charAt(0)=='b'){ + if(clickedNode.name!="opened"){ + loadTOC(clickedNode.name); + return true; + } + } + } + } + + var plus_minus = getPlusMinus(clickedNode); + if (plus_minus != null) + { + if (isCollapsed(plus_minus)) + expand(plus_minus); + + highlightTopic(plus_minus); + scrollIntoView(clickedNode); + } + } else if (key == 37) { // Left arrow,collapse + var clickedNode = getTarget(e); + if (!clickedNode) return; + + if(clickedNode.id!=null){ + if(clickedNode.id.charAt(0)=='b'){ + if(clickedNode.name=="opened"){ + loadTOC(" "); + return true; + } + else{ + return true; + } + } + + } + + var plus_minus = getPlusMinus(clickedNode); + if (plus_minus != null) + { + if (isExpanded(plus_minus)) + collapse(plus_minus); + + highlightTopic(plus_minus); + scrollIntoView(clickedNode); + } + } else if (key == 40 ) { // down arrow + var clickedNode = getTarget(e); + if (!clickedNode) return; + + var next = getNextDown(clickedNode); + if (next) + next.focus(); + + } else if (key == 38 ) { // up arrow + var clickedNode = getTarget(e); + if (!clickedNode) return; + + var next = getNextUp(clickedNode); + if (next) + next.focus(); + } + + + return true; +} + +if (isMozilla) { + document.addEventListener('click', mouseClickHandler, true); + document.addEventListener('dblclick', mouseDblClickHandler, true); + document.addEventListener('mousemove', mouseMoveHandler, true); + document.addEventListener('keydown', keyDownHandler, true); +} +else if (isIE){ + document.onclick = mouseClickHandler; + document.ondblclick = mouseDblClickHandler; + document.onmousemove = mouseMoveHandler; + document.onkeydown = keyDownHandler; + //window.onfocus = focusHandler; +} + Added: directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/tocFragment.jsp URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/tocFragment.jsp?view=auto&rev=487826 ============================================================================== --- directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/tocFragment.jsp (added) +++ directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/tocFragment.jsp Sat Dec 16 08:21:01 2006 @@ -0,0 +1,54 @@ +<%-- + Copyright (c) 2000, 2004 IBM Corporation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Contributors: + IBM Corporation - initial API and implementation +--%> +<%@ include file="header.jsp"%> +<% + TocData data = new TocData(application,request, response); + WebappPreferences prefs = data.getPrefs(); +%> + + + +<%=ServletResources.getString("partialContent", request)%> + + + +<% + int toc=data.getSelectedToc(); + // Only generate the selected toc + if (toc != -1 && data.getTocHref(data.getSelectedToc()).equals(data.getTocHref(toc))) + { + data.generateToc(toc, out); + } +%> + + Added: directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/tocToolbar.jsp URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/tocToolbar.jsp?view=auto&rev=487826 ============================================================================== --- directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/tocToolbar.jsp (added) +++ directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/tocToolbar.jsp Sat Dec 16 08:21:01 2006 @@ -0,0 +1,30 @@ +<%-- + Copyright (c) 2000, 2004 IBM Corporation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Contributors: + IBM Corporation - initial API and implementation +--%> +<%@ include file="header.jsp"%> + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/tocView.jsp URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/tocView.jsp?view=auto&rev=487826 ============================================================================== --- directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/tocView.jsp (added) +++ directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/tocView.jsp Sat Dec 16 08:21:01 2006 @@ -0,0 +1,218 @@ +<%-- + Copyright (c) 2000, 2004 IBM Corporation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Contributors: + IBM Corporation - initial API and implementation +--%> +<%@ include file="header.jsp"%> + +<% + TocData data = new TocData(application,request, response); + WebappPreferences prefs = data.getPrefs(); +%> + + + + + +<%=ServletResources.getString("Content", request)%> + + + + + + + + + + + + +
    +<% + for (int toc=0; toc +
  • + <%=ServletResources.getString("><%=data.getTocLabel(toc)%> +<% + // Only generate the selected toc + data.generateToc(toc, out); + // keep track of the selected toc id +%> + +<% + } else { +%> +
  • + <%=ServletResources.getString("><%=data.getTocLabel(toc)%> +<% + } +%> +
  • +<% + } +%> +
+ + + + Added: directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/toolbar.jsp URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/toolbar.jsp?view=auto&rev=487826 ============================================================================== --- directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/toolbar.jsp (added) +++ directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/toolbar.jsp Sat Dec 16 08:21:01 2006 @@ -0,0 +1,328 @@ +<%-- + Copyright (c) 2000, 2004 IBM Corporation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Contributors: + IBM Corporation - initial API and implementation +--%> +<%@ include file="header.jsp"%> + +<% + ToolbarData data = new ToolbarData(application,request, response); + WebappPreferences prefs = data.getPrefs(); +%> + + + + + + +<%=ServletResources.getString("Toolbar", request)%> + + + + + +<% +if (data.getScript() != null) { +%> + +<% +} +%> + + + +<% +if(buttons.length > 0){ +%> + +<% +}else{ +%> + +<% +} +%> + + + + + + +
+
 <%=data.getTitle()%>
+
+ + +
:0px;"> + + + + +
"> + " border="0" cellspacing="0" cellpadding="0" height="100%" style="background:<%=prefs.getToolbarBackground()%>"> + +<% + for (int i=0; i + +<% + } else { +%> + +<% + } + } +%> + +
+ " height=18> + + <%=buttons[i].getTooltip()%> + +
+
+
+
+ +<%// special case for content toolbar - internally used live help frame +if ("content".equals(request.getParameter("toolbar"))) { +%> + +<% +} +%> + + + + Added: directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/tree.css URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/tree.css?view=auto&rev=487826 ============================================================================== --- directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/tree.css (added) +++ directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/tree.css Sat Dec 16 08:21:01 2006 @@ -0,0 +1,96 @@ +/******************************************************************************* + * Copyright (c) 2000, 2004 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ + +BODY { + background-color: <%=prefs.getViewBackground()%>; + font: <%=prefs.getViewFont()%>; + margin:0; + padding:0; + border:0; +} + +UL { + border-width:0; + margin-<%=isRTL?"right":"left"%>:20px; +} + +#root { + margin-top:5px; + margin-<%=isRTL?"right":"left"%>:5px; +} + +UL.expanded { + display:block; +} + +UL.collapsed { + display: none; +} + +LI { + margin-top:3px; + list-style-image:none; + list-style-type:none; + white-space: nowrap; +} + +IMG { + border:0px; + margin:0px; + padding:0px; + margin-<%=isRTL?"left":"right"%>:4px; +} + + +A { + text-decoration:none; + color:WindowText; + padding-<%=isRTL?"left":"right"%>:2px; + /* this works in ie5.5, but not in ie5.0 */ + white-space: nowrap; +} + +A:hover{ + text-decoration:underline; +} + +A.active{ + background:Highlight; + color:HighlightText; + width:100%; +} + +A.active:hover{ + text-decoration:underline; + background:Highlight; + color:HighlightText; + width:100%; +} + +<% +if (data.isMozilla()){ +%> +UL { + margin-<%=isRTL?"right":"left"%>:-20px; +} +#root{ + margin-<%=isRTL?"right":"left"%>:-35px; + margin-top:5px; +} + +<% +} +%> + +.h { + visibility:hidden; +} + \ No newline at end of file Added: directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/view.jsp URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/view.jsp?view=auto&rev=487826 ============================================================================== --- directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/view.jsp (added) +++ directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/view.jsp Sat Dec 16 08:21:01 2006 @@ -0,0 +1,49 @@ +<%-- + Copyright (c) 2000, 2004 IBM Corporation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Contributors: + IBM Corporation - initial API and implementation +--%> +<%@ include file="fheader.jsp"%> + +<% + new ActivitiesData(application, request, response); // here it can turn filtering on or off + LayoutData data = new LayoutData(application,request, response); + View view = data.getCurrentView(); + if (view == null) return; +%> + + + + + +<%=ServletResources.getString(view.getName(), request)%> + + + + + + + " src='<%=view.getURL()+view.getName()+"Toolbar.jsp"%>' marginwidth="0" marginheight="0" scrolling="no" frameborder="0" noresize=0> + " src='<%=view.getURL()+view.getName()+"View.jsp?"+request.getQueryString()%>' marginwidth="10" marginheight="0" frameborder="0" > + + + + Added: directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/views.jsp URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/views.jsp?view=auto&rev=487826 ============================================================================== --- directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/views.jsp (added) +++ directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/views.jsp Sat Dec 16 08:21:01 2006 @@ -0,0 +1,221 @@ +<%-- + Copyright (c) 2000, 2006 IBM Corporation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Contributors: + IBM Corporation - initial API and implementation +--%> +<%@ include file="header.jsp"%> + +<% + LayoutData data = new LayoutData(application,request, response); + WebappPreferences prefs = data.getPrefs(); + View[] views = data.getViews(); +%> + + + + + + +<%=ServletResources.getString("Views", request)%> + + + + + + + + +<% + for (int i=0; i + +<% + } +%> + + + + + + Added: directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/workingSet.jsp URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/workingSet.jsp?view=auto&rev=487826 ============================================================================== --- directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/workingSet.jsp (added) +++ directory/sandbox/pamarcelot/ldapstudio/dependencies/eclipse/3.2/plugins/org.eclipse.help.webapp_3.2.1.R321_v20060803/advanced/workingSet.jsp Sat Dec 16 08:21:01 2006 @@ -0,0 +1,430 @@ +<%-- + Copyright (c) 2000, 2004 IBM Corporation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Contributors: + IBM Corporation - initial API and implementation +--%> +<%@ include file="header.jsp"%> + +<% + WorkingSetData data = new WorkingSetData(application, request, response); + TocData tocData = new TocData(application,request, response); + WebappPreferences prefs = data.getPrefs(); +%> + + + + +<%=ServletResources.getString(data.isEditMode()?"EditWorkingSet":"NewWorkingSet", request)%> + + + + + + + + + + + +
+ + + + +
+
+
:10px;"><%=ServletResources.getString("WorkingSetContent", request)%>:
+
+ +
+ +<% +for (int i=0; i +
+ <%=ServletResources.getString(" src="<%=prefs.getImagesDirectory()%>/plus.gif" onclick="collapseOrExpand('<%=i%>')"> + + onkeydown="keyDownHandler(<%=i%>, event.keyCode, this)" + onclick="setSubtreeChecked(this, '<%="div"+i%>')"> + + +
+<% +} +%> + +
+
+ "> + +
"> + + + + + +
+ + + +
+
+
+
+ + +