Project

General

Profile

« Previous | Next » 

Revision 4235

render the pages using the common settings

View differences:

index.jsp
1
<!--
2
  *  '$RCSfile$'
3
  *      Authors: Matt Jones
4
  *    Copyright: 2000 Regents of the University of California and the
5
  *               National Center for Ecological Analysis and Synthesis
6
  *  For Details: http://www.nceas.ucsb.edu/
7
  *
8
  *   '$Author$'
9
  *     '$Date$'
10
  * '$Revision$'
11
  * 
12
  * This is an HTML document for displaying metadata catalog tools
13
  *
14
  * This program is free software; you can redistribute it and/or modify
15
  * it under the terms of the GNU General Public License as published by
16
  * the Free Software Foundation; either version 2 of the License, or
17
  * (at your option) any later version.
18
  *
19
  * This program is distributed in the hope that it will be useful,
20
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
  * GNU General Public License for more details.
23
  *
24
  * You should have received a copy of the GNU General Public License
25
  * along with this program; if not, write to the Free Software
26
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
27
-->
1
<%@ page    language="java" %>
2
<%
3
/**
4
 * 
5
 * '$RCSfile$'
6
 * Copyright: 2008 Regents of the University of California and the
7
 *             National Center for Ecological Analysis and Synthesis
8
 *    '$Author$'
9
 *      '$Date$'
10
 * '$Revision$'
11
 * 
12
 * This program is free software; you can redistribute it and/or modify
13
 * it under the terms of the GNU General Public License as published by
14
 * the Free Software Foundation; either version 2 of the License, or
15
 * (at your option) any later version.
16
 * 
17
 * This program is distributed in the hope that it will be useful,
18
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20
 * GNU General Public License for more details.
21
     
22
 * You should have received a copy of the GNU General Public License
23
 * along with this program; if not, write to the Free Software
24
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
25
 */  
26
%>
27

  
28
<%@ include file="../../common/common-settings.jsp"%>
29
<%@ include file="../../common/configure-check.jsp"%>
30

  
28 31
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
29 32
<html>
30 33
<head>
31 34
<title>FIRST Assessment Metadata Repository</title>
32 35
<link rel="stylesheet" type="text/css"
33
	href="@systemidserver@@style-skins-path@/first/first.css">
36
	href="<%=STYLE_SKINS_URL%>/first/first.css">
34 37
<script language="JavaScript" type="text/JavaScript"
35
	src="@systemidserver@@style-skins-path@/first/first.js"></script>
38
	src="<%=STYLE_SKINS_URL%>/first/first.js"></script>
36 39
<script language="JavaScript" type="text/JavaScript"
37
	src="@systemidserver@@style-common-path@/branding.js"></script>
40
	src="<%=STYLE_COMMON_URL%>/branding.js"></script>
38 41
<script language="Javascript">
39 42
        function trim(stringToTrim) {
40 43
                return stringToTrim.replace(/^\s*/, '').replace(/\s*$/,'');
......
130 133
</head>
131 134
<body>
132 135
<script language="JavaScript">
133
          insertTemplateOpening();
134
          insertSearchBox();
136
          insertTemplateOpening("<%=CONTEXT_URL%>");
137
          insertSearchBox("<%=CONTEXT_URL%>");
135 138
      </script>
136 139

  
137 140
<table width="760" border="0" cellspacing="0" cellpadding="0">
......
178 181
	
179 182
				<tr>
180 183
					<td colspan="2" align="left">
181
						<form method="POST" action="@servlet-path@" target="_top"
184
						<form method="POST" action="<%=SERVLET_URL%>" target="_top"
182 185
							onSubmit="return checkSearch(this)" id="searchForm">
183 186
							<span class="searchresultsdividerPale"> 
184 187
								<input value="UNION" name="operator" type="hidden"> &nbsp; 
......
239 242
</table>
240 243

  
241 244
<script language="JavaScript">          
242
    insertTemplateClosing();
245
    insertTemplateClosing("<%=CONTEXT_URL%>");
243 246
</script>
244 247
</body>
245 248
</html>

Also available in: Unified diff