Initial commit
@@ -0,0 +1,68 @@
|
||||
<%--
|
||||
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 Common Public License v1.0
|
||||
which accompanies this distribution, and is available at
|
||||
http://www.eclipse.org/legal/cpl-v10.html
|
||||
|
||||
Contributors:
|
||||
IBM Corporation - initial API and implementation
|
||||
--%>
|
||||
<form action="searchView.jsp" method="get" accept-charset="UTF-8" target="_self">
|
||||
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td>
|
||||
<label for="searchWord"><%=ServletResources.getString("SearchExpression", request)%></label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap>
|
||||
<input type="text" name="searchWord" id="searchWord" value='<%=data.getSearchWord()%>' maxlength=256 alt='<%=ServletResources.getString("SearchExpression", request)%>' title='<%=ServletResources.getString("SearchExpression", request)%>'>
|
||||
<input type="hidden" name="maxHits" value="500" >
|
||||
<input type="hidden" name="scopedSearch" value="true" >
|
||||
<input type="submit" value='<%=ServletResources.getString("GO", request)%>' alt='<%=ServletResources.getString("GO", request)%>' title='<%=ServletResources.getString("GO", request)%>'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<%=ServletResources.getString("expression_label", request)%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<hr>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>
|
||||
<%=ServletResources.getString("Select", request)%>
|
||||
</b>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
TocData tocData = new TocData(application, request, response);
|
||||
for (int toc=0; toc<tocData.getTocCount(); toc++)
|
||||
{
|
||||
//if(!tocData.isEnabled(toc)){
|
||||
// do not show
|
||||
// continue;
|
||||
//}
|
||||
String label = tocData.getTocLabel(toc);
|
||||
String checked="checked=\"yes\" ";
|
||||
if( data.isSearchRequest() && !data.isTocSelected(toc) ){
|
||||
checked="";
|
||||
}
|
||||
%>
|
||||
<tr>
|
||||
<td nowrap>
|
||||
<input type="checkbox" name='scope' id="checkbox<%=toc%>" value='<%=tocData.getTocHref(toc)%>' <%=checked%> alt="<%=label%>"><label for="checkbox<%=toc%>"><%=label%></label>
|
||||
</td>
|
||||
</tr>
|
||||
<%
|
||||
}
|
||||
%>
|
||||
</table>
|
||||
</form>
|
||||
@@ -0,0 +1,40 @@
|
||||
<%--
|
||||
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 Common Public License v1.0
|
||||
which accompanies this distribution, and is available at
|
||||
http://www.eclipse.org/legal/cpl-v10.html
|
||||
|
||||
Contributors:
|
||||
IBM Corporation - initial API and implementation
|
||||
--%>
|
||||
<%@ page import="org.eclipse.help.internal.webapp.data.*" contentType="text/html; charset=UTF-8"%>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title> Error </title>
|
||||
</head>
|
||||
<%
|
||||
String direction = "ltr";
|
||||
try{
|
||||
if(UrlUtil.isRTL(request, response)){
|
||||
direction = "rtl";
|
||||
}
|
||||
}catch(Exception e){
|
||||
}
|
||||
%>
|
||||
|
||||
<body dir="<%=direction%>">
|
||||
|
||||
<%@ page isErrorPage="true" %>
|
||||
|
||||
There was an error in your action:
|
||||
<p>
|
||||
<%= exception.toString() %>
|
||||
</P>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -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 Common Public License v1.0
|
||||
which accompanies this distribution, and is available at
|
||||
http://www.eclipse.org/legal/cpl-v10.html
|
||||
|
||||
Contributors:
|
||||
IBM Corporation - initial API and implementation
|
||||
--%>
|
||||
<%@ page import="org.eclipse.help.internal.webapp.data.*" errorPage="/advanced/err.jsp" contentType="text/html; charset=UTF-8"%>
|
||||
|
||||
<%
|
||||
request.setCharacterEncoding("UTF-8");
|
||||
boolean isRTL = UrlUtil.isRTL(request, response);
|
||||
String direction = isRTL?"rtl":"ltr";
|
||||
%>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<!------------------------------------------------------------------------------
|
||||
! 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 Common Public License v1.0
|
||||
! which accompanies this distribution, and is available at
|
||||
! http://www.eclipse.org/legal/cpl-v10.html
|
||||
!
|
||||
! Contributors:
|
||||
! IBM Corporation - initial API and implementation
|
||||
------------------------------------------------------------------------------->
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
<%--
|
||||
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 Common Public License v1.0
|
||||
which accompanies this distribution, and is available at
|
||||
http://www.eclipse.org/legal/cpl-v10.html
|
||||
|
||||
Contributors:
|
||||
IBM Corporation - initial API and implementation
|
||||
--%>
|
||||
<%@ include file="header.jsp"%>
|
||||
<%
|
||||
LayoutData data = new LayoutData(application,request, response);
|
||||
%>
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title><%=ServletResources.getString("Help", request)%></title>
|
||||
|
||||
</head>
|
||||
|
||||
<frameset cols="<%=isRTL?"*,300":"300,*"%>">
|
||||
<%
|
||||
if (isRTL) {
|
||||
%>
|
||||
<frame name="ContentViewFrame" title="<%=ServletResources.getString("aView", ServletResources.getString("topic", request), request)%>" src='<%=data.getContentURL()%>' marginwidth="5" marginheight="5">
|
||||
<frame name="ViewsFrame" title="<%=ServletResources.getString("ignore", "ViewsFrame", request)%>" src='<%="view.jsp?view="+data.getVisibleView()+"&"+request.getQueryString()%>' marginwidth="0" marginheight="0" scrolling="no">
|
||||
<%
|
||||
} else {
|
||||
%>
|
||||
<frame name="ViewsFrame" title="<%=ServletResources.getString("ignore", "ViewsFrame", request)%>" src='<%="view.jsp?view="+data.getVisibleView()+"&"+request.getQueryString()%>' marginwidth="0" marginheight="0" scrolling="no">
|
||||
<frame name="ContentViewFrame" title="<%=ServletResources.getString("aView", ServletResources.getString("topic", request), request)%>" src='<%=data.getContentURL()%>' marginwidth="5" marginheight="5">
|
||||
<%
|
||||
}
|
||||
%>
|
||||
</frameset>
|
||||
|
||||
</html>
|
||||
|
||||
|
After Width: | Height: | Size: 283 B |
|
After Width: | Height: | Size: 595 B |
|
After Width: | Height: | Size: 542 B |
|
After Width: | Height: | Size: 583 B |
|
After Width: | Height: | Size: 215 B |
|
After Width: | Height: | Size: 360 B |
|
After Width: | Height: | Size: 166 B |
|
After Width: | Height: | Size: 212 B |
|
After Width: | Height: | Size: 580 B |
|
After Width: | Height: | Size: 581 B |
|
After Width: | Height: | Size: 315 B |
@@ -0,0 +1,37 @@
|
||||
<%--
|
||||
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 Common Public License v1.0
|
||||
which accompanies this distribution, and is available at
|
||||
http://www.eclipse.org/legal/cpl-v10.html
|
||||
|
||||
Contributors:
|
||||
IBM Corporation - initial API and implementation
|
||||
--%>
|
||||
<%@ include file="header.jsp"%>
|
||||
<%
|
||||
LayoutData data = new LayoutData(application,request, response);
|
||||
%>
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title><%=data.getWindowTitle()%></title>
|
||||
<jsp:include page="livehelp_js.jsp"/>
|
||||
</head>
|
||||
|
||||
<frameset rows="<%="0".equals(data.getBannerHeight())?"":data.getBannerHeight()+","%>45,*">
|
||||
<%
|
||||
if(!("0".equals(data.getBannerHeight()))){
|
||||
%>
|
||||
<frame name="BannerFrame" title="<%=ServletResources.getString("Banner", request)%>" src='<%=data.getBannerURL()%>' marginwidth="0" marginheight="0" scrolling="no" frameborder="no" noresize>
|
||||
<%
|
||||
}
|
||||
%>
|
||||
<frame name="TabsFrame" title="<%=ServletResources.getString("helpToolbarFrame", request)%>" src='<%="basic/tabs.jsp"+data.getQuery()%>' marginwidth="5" marginheight="5" scrolling="no">
|
||||
<frame name="HelpFrame" title="<%=ServletResources.getString("ignore", "HelpFrame", request)%>" src='<%="basic/help.jsp"+data.getQuery()%>' frameborder="no" marginwidth="0" marginheight="0" scrolling="no">
|
||||
</frameset>
|
||||
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
<%--
|
||||
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 Common Public License v1.0
|
||||
which accompanies this distribution, and is available at
|
||||
http://www.eclipse.org/legal/cpl-v10.html
|
||||
|
||||
Contributors:
|
||||
IBM Corporation - initial API and implementation
|
||||
--%>
|
||||
<%@ include file="header.jsp"%>
|
||||
|
||||
|
||||
<jsp:include page="toolbar.jsp">
|
||||
<jsp:param name="view" value="links"/>
|
||||
</jsp:include>
|
||||
@@ -0,0 +1,67 @@
|
||||
<%--
|
||||
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 Common Public License v1.0
|
||||
which accompanies this distribution, and is available at
|
||||
http://www.eclipse.org/legal/cpl-v10.html
|
||||
|
||||
Contributors:
|
||||
IBM Corporation - initial API and implementation
|
||||
--%>
|
||||
<%@ include file="header.jsp"%>
|
||||
<%
|
||||
LinksData data = new LinksData(application, request, response);
|
||||
WebappPreferences prefs = data.getPrefs();
|
||||
%>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta http-equiv="Pragma" content="no-cache">
|
||||
<meta http-equiv="Expires" content="-1">
|
||||
|
||||
<title><%=ServletResources.getString("Links", request)%></title>
|
||||
|
||||
<base target="ContentViewFrame">
|
||||
</head>
|
||||
|
||||
|
||||
<body dir="<%=direction%>" bgcolor="<%=prefs.getBasicViewBackground()%>">
|
||||
|
||||
<%
|
||||
if(!data.isLinksRequest()) {
|
||||
out.write(ServletResources.getString("pressF1", request));
|
||||
} else if (data.getLinksCount() == 0){
|
||||
out.write(ServletResources.getString("Nothing_found", null));
|
||||
} else {
|
||||
%>
|
||||
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
|
||||
<%
|
||||
for (int link = 0; link < data.getLinksCount(); link++)
|
||||
{
|
||||
%>
|
||||
|
||||
<tr>
|
||||
<td align='<%=isRTL?"right":"left"%>' nowrap>
|
||||
<a href='<%=data.getTopicHref(link)%>'>
|
||||
<img src="<%=prefs.getImagesDirectory()%>/topic.gif" alt="" border=0>
|
||||
<%=data.getTopicLabel(link)%>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
}
|
||||
%>
|
||||
|
||||
</table>
|
||||
|
||||
<%
|
||||
|
||||
}
|
||||
|
||||
%>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,63 @@
|
||||
<%--
|
||||
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 Common Public License v1.0
|
||||
which accompanies this distribution, and is available at
|
||||
http://www.eclipse.org/legal/cpl-v10.html
|
||||
|
||||
Contributors:
|
||||
IBM Corporation - initial API and implementation
|
||||
--%>
|
||||
<%@ page import="org.eclipse.help.internal.webapp.data.*" errorPage="/basic/err.jsp" contentType="text/html; charset=UTF-8"%>
|
||||
<%
|
||||
request.setCharacterEncoding("UTF-8");
|
||||
%>
|
||||
<script language="JavaScript">
|
||||
function liveActionInternal(topHelpWindow, pluginId, className, argument)
|
||||
{
|
||||
<%
|
||||
RequestData data = new RequestData(application,request, response);
|
||||
if(data.getMode() == RequestData.MODE_INFOCENTER){
|
||||
%>
|
||||
alert("<%=UrlUtil.JavaScriptEncode(ServletResources.getString("noLiveHelpInInfocenter", request))%>");
|
||||
return;
|
||||
<%
|
||||
}else{
|
||||
%>
|
||||
// construct the proper url for communicating with the server
|
||||
var url= window.location.href;
|
||||
|
||||
var i = url.indexOf("?");
|
||||
if(i>0)
|
||||
url=url.substring(0, i);
|
||||
|
||||
i = url.indexOf("/topic/");
|
||||
if(i < 0)
|
||||
i = url.lastIndexOf("/");
|
||||
|
||||
url=url.substring(0, i+1);
|
||||
var encodedArg;
|
||||
if(window.encodeURIComponent){
|
||||
encodedArg=encodeURIComponent(argument);
|
||||
}else{
|
||||
encodedArg=escape(argument);
|
||||
}
|
||||
url=url+"livehelp/?pluginID="+pluginId+"&class="+className+"&arg="+encodedArg+"&nocaching="+Math.random();
|
||||
|
||||
var tabsFrame = topHelpWindow.TabsFrame;
|
||||
if (!tabsFrame){
|
||||
return;
|
||||
}
|
||||
if(tabsFrame.liveHelpFrame){
|
||||
tabsFrame.liveHelpFrame.location=url;
|
||||
} else if(tabsFrame.document && tabsFrame.document.liveHelpFrame){
|
||||
tabsFrame.document.liveHelpFrame.src=url;
|
||||
}
|
||||
<%
|
||||
}
|
||||
%>
|
||||
}
|
||||
function showTopicInContentsInternal(topHelpWindow, topic) {
|
||||
}
|
||||
|
||||
</script>
|
||||
@@ -0,0 +1,16 @@
|
||||
<%--
|
||||
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 Common Public License v1.0
|
||||
which accompanies this distribution, and is available at
|
||||
http://www.eclipse.org/legal/cpl-v10.html
|
||||
|
||||
Contributors:
|
||||
IBM Corporation - initial API and implementation
|
||||
--%>
|
||||
<%@ include file="header.jsp"%>
|
||||
|
||||
|
||||
<jsp:include page="toolbar.jsp">
|
||||
<jsp:param name="view" value="search"/>
|
||||
</jsp:include>
|
||||
@@ -0,0 +1,104 @@
|
||||
<%--
|
||||
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 Common Public License v1.0
|
||||
which accompanies this distribution, and is available at
|
||||
http://www.eclipse.org/legal/cpl-v10.html
|
||||
|
||||
Contributors:
|
||||
IBM Corporation - initial API and implementation
|
||||
--%>
|
||||
<%@ include file="header.jsp"%>
|
||||
<%
|
||||
SearchData data = new SearchData(application, request, response);
|
||||
WebappPreferences prefs = data.getPrefs();
|
||||
LayoutData ldata = new LayoutData(application,request, response);
|
||||
%>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta http-equiv="Pragma" content="no-cache">
|
||||
<meta http-equiv="Expires" content="-1">
|
||||
|
||||
<%
|
||||
if (data.isProgressRequest()) {
|
||||
%>
|
||||
<meta HTTP-EQUIV="REFRESH" CONTENT="2;URL=<%="searchView.jsp?"+request.getQueryString()%>">
|
||||
<%
|
||||
}
|
||||
%>
|
||||
|
||||
<title><%=ServletResources.getString("SearchResults", request)%></title>
|
||||
<base target="ContentViewFrame">
|
||||
</head>
|
||||
|
||||
<body dir="<%=direction%>" bgcolor="<%=prefs.getBasicViewBackground()%>">
|
||||
<%
|
||||
if (data.isProgressRequest()) {
|
||||
%>
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td>
|
||||
<%=ServletResources.getString("Indexing", request)%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<%=data.getIndexedPercentage()%>% <%=ServletResources.getString("complete", request)%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<br>
|
||||
<%=ServletResources.getString("IndexingPleaseWait", request)%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<%
|
||||
return;
|
||||
} else {
|
||||
%>
|
||||
<%@ include file="advanced.inc"%>
|
||||
<%
|
||||
if (data.isSearchRequest()) {
|
||||
if (data.getResultsCount() == 0){
|
||||
out.write(ServletResources.getString("Nothing_found", request));
|
||||
} else {
|
||||
%>
|
||||
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<%
|
||||
//boolean disabledSearchResults = false;
|
||||
for (int topic = 0; topic < data.getResultsCount(); topic++){
|
||||
// if(!data.isEnabled(topic)){
|
||||
// continue;
|
||||
// }
|
||||
%>
|
||||
<tr>
|
||||
<td align='<%=isRTL?"left":"right"%>'><%=data.getTopicScore(topic)%></td>
|
||||
<td align='<%=isRTL?"right":"left"%>' nowrap>
|
||||
|
||||
<a <%=("a"+topic).equals(data.getSelectedTopicId())?" name=\"selectedItem\" ":""%>
|
||||
href='<%=data.getTopicHref(topic)%>'
|
||||
title="<%=data.getTopicTocLabel(topic)%>">
|
||||
<%=data.getTopicLabel(topic)%>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<%
|
||||
}
|
||||
%>
|
||||
</table>
|
||||
<%
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
%>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,100 @@
|
||||
<%--
|
||||
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 Common Public License v1.0
|
||||
which accompanies this distribution, and is available at
|
||||
http://www.eclipse.org/legal/cpl-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();
|
||||
%>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
|
||||
<title><%=ServletResources.getString("Tabs", request)%></title>
|
||||
|
||||
<base target="ViewsFrame">
|
||||
<SCRIPT TYPE="text/javascript">
|
||||
<!--
|
||||
function resynch()
|
||||
{
|
||||
var topic = parent.HelpFrame.ContentViewFrame.window.location.href;
|
||||
// remove the query, if any
|
||||
var i = topic.indexOf('?');
|
||||
if (i != -1)
|
||||
topic = topic.substring(0, i);
|
||||
// remove the fragment, if any
|
||||
var i = topic.indexOf('#');
|
||||
if (i != -1)
|
||||
topic = topic.substring(0, i);
|
||||
parent.HelpFrame.ViewsFrame.location="view.jsp?view=toc&topic="+topic;
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
</head>
|
||||
|
||||
<body dir="<%=direction%>" bgcolor="<%=prefs.getBasicToolbarBackground()%>" link="#0000FF" vlink="#0000FF" alink="#0000FF">
|
||||
<table align="<%=isRTL?"right":"left"%>" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
|
||||
<%
|
||||
for (int i=0; i<views.length; i++)
|
||||
{
|
||||
// do not show booksmarks view
|
||||
if("bookmarks".equals(views[i].getName())){
|
||||
continue;
|
||||
}
|
||||
|
||||
// search view is not called "advanced view"
|
||||
String title = ServletResources.getString(views[i].getName(), request);
|
||||
if("search".equals(views[i].getName())){
|
||||
title=ServletResources.getString("Search", request);
|
||||
}
|
||||
|
||||
String viewHref="view.jsp?view="+views[i].getName();
|
||||
// always pass query string to "links view"
|
||||
if("links".equals(views[i].getName())){
|
||||
viewHref=viewHref+(request.getQueryString()!=null?"&"+request.getQueryString():"");
|
||||
}
|
||||
|
||||
%>
|
||||
<td nowrap>
|
||||
<b>
|
||||
<a href='<%=viewHref%>' >
|
||||
<img alt="<%=title%>"
|
||||
title="<%=title%>"
|
||||
src="<%=views[i].getOnImage()%>" border=0>
|
||||
|
||||
<%=title%>
|
||||
</a>
|
||||
|
||||
</b>
|
||||
</td>
|
||||
<%
|
||||
}
|
||||
%>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<SCRIPT TYPE="text/javascript">
|
||||
<!--
|
||||
document.write("<table align=\"<%=isRTL?"left":"right"%>\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td nowrap><b><a href='javascript:parent.parent.TabsFrame.resynch();' >");
|
||||
document.write("<img alt=\"\" title=\"<%=ServletResources.getString("Synch", request)%>\" src=\"images/e_synch_toc_nav.gif\" border=0> ");
|
||||
document.write("<%=ServletResources.getString("shortSynch", request)%></a> </b></td></tr></table>");
|
||||
//-->
|
||||
</SCRIPT>
|
||||
|
||||
<iframe name="liveHelpFrame" title="<%=ServletResources.getString("ignore", "liveHelpFrame", request)%>" frameborder="no" width="0" height="0" scrolling="no">
|
||||
<layer name="liveHelpFrame" frameborder="no" width="0" height="0" scrolling="no"></layer>
|
||||
</iframe>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
<%--
|
||||
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 Common Public License v1.0
|
||||
which accompanies this distribution, and is available at
|
||||
http://www.eclipse.org/legal/cpl-v10.html
|
||||
|
||||
Contributors:
|
||||
IBM Corporation - initial API and implementation
|
||||
--%>
|
||||
<%@ include file="header.jsp"%>
|
||||
|
||||
|
||||
<jsp:include page="toolbar.jsp">
|
||||
<jsp:param name="view" value="toc"/>
|
||||
</jsp:include>
|
||||
@@ -0,0 +1,69 @@
|
||||
<%--
|
||||
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 Common Public License v1.0
|
||||
which accompanies this distribution, and is available at
|
||||
http://www.eclipse.org/legal/cpl-v10.html
|
||||
|
||||
Contributors:
|
||||
IBM Corporation - initial API and implementation
|
||||
--%>
|
||||
<%@ include file="header.jsp"%>
|
||||
<%
|
||||
TocData data = new TocData(application,request, response);
|
||||
WebappPreferences prefs = data.getPrefs();
|
||||
%>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
|
||||
<title><%=ServletResources.getString("Content", request)%></title>
|
||||
|
||||
<base target="ContentViewFrame">
|
||||
</head>
|
||||
|
||||
|
||||
<body dir="<%=direction%>" bgcolor="<%=prefs.getBasicViewBackground()%>">
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<%
|
||||
for (int toc=0; toc<data.getTocCount(); toc++) {
|
||||
boolean isSelected =data.getSelectedToc() != -1 &&
|
||||
data.getTocHref(data.getSelectedToc()).equals(data.getTocHref(toc));
|
||||
//if(!data.isEnabled(toc) && !isSelected){
|
||||
// do not show
|
||||
// continue;
|
||||
//}
|
||||
String icon = isSelected ?
|
||||
prefs.getImagesDirectory()+"/toc_open.gif" :
|
||||
prefs.getImagesDirectory()+"/toc_closed.gif";
|
||||
String alt = isSelected ?
|
||||
ServletResources.getString("bookOpen", request) :
|
||||
ServletResources.getString("bookClosed", request) ;
|
||||
%>
|
||||
<tr>
|
||||
<td align='<%=isRTL?"right":"left"%>' nowrap>
|
||||
<b><img src="<%=icon%>" alt="<%=alt%>"><a href="<%="tocView.jsp?toc="+data.getTocHref(toc)%>" target='_self'> <%=data.getTocLabel(toc)%></a></b>
|
||||
</td>
|
||||
</tr>
|
||||
<%
|
||||
// Only generate the selected toc
|
||||
if (isSelected) {
|
||||
%>
|
||||
<tr>
|
||||
<td align='<%=isRTL?"right":"left"%>' nowrap>
|
||||
<ul>
|
||||
<%
|
||||
data.generateBasicToc(toc, out);
|
||||
%>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<%
|
||||
}
|
||||
}
|
||||
%>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
<%--
|
||||
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 Common Public License v1.0
|
||||
which accompanies this distribution, and is available at
|
||||
http://www.eclipse.org/legal/cpl-v10.html
|
||||
|
||||
Contributors:
|
||||
IBM Corporation - initial API and implementation
|
||||
--%>
|
||||
<%@ include file="header.jsp"%>
|
||||
<%
|
||||
ToolbarData data = new ToolbarData(application,request, response);
|
||||
WebappPreferences prefs = data.getPrefs();
|
||||
%>
|
||||
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
|
||||
<title><%=ServletResources.getString("Toolbar", request)%></title>
|
||||
</head>
|
||||
|
||||
<body dir="<%=direction%>" bgcolor="<%=prefs.getBasicToolbarBackground()%>">
|
||||
<%
|
||||
String title=data.getTitle();
|
||||
// search view is not called "advanced view"
|
||||
if("search".equals(request.getParameter("view"))){
|
||||
title=ServletResources.getString("Search", request);
|
||||
}
|
||||
%>
|
||||
<b>
|
||||
<%=title%>
|
||||
</b>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -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 Common Public License v1.0
|
||||
which accompanies this distribution, and is available at
|
||||
http://www.eclipse.org/legal/cpl-v10.html
|
||||
|
||||
Contributors:
|
||||
IBM Corporation - initial API and implementation
|
||||
--%>
|
||||
<%@ include file="header.jsp"%>
|
||||
<%
|
||||
LayoutData data = new LayoutData(application,request, response);
|
||||
View view = data.getCurrentView();
|
||||
if (view == null) return;
|
||||
%>
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title><%=ServletResources.getString(view.getName(), request)%></title>
|
||||
</head>
|
||||
|
||||
<frameset rows="30,*" >
|
||||
<frame name="<%=view.getName()%>ToolbarFrame" title="<%=ServletResources.getString(view.getName()+"ViewToolbar", request)%>" src='<%=view.getURL()+view.getName()+"Toolbar.jsp"%>' frameborder="no" marginwidth="5" marginheight="3" scrolling="no">
|
||||
<frame name='<%=view.getName()%>ViewFrame' title="<%=ServletResources.getString(view.getName()+"View", request)%>" src='<%=view.getURL()+view.getName()+"View.jsp?"+request.getQueryString()%>#selectedItem' frameborder="no" marginwidth="5" marginheight="5">
|
||||
</frameset>
|
||||
|
||||
</html>
|
||||
|
||||