Revision 4235
Added by ben leinfelder over 16 years ago
lib/style/skins/first/first.js | ||
---|---|---|
87 | 87 |
|
88 | 88 |
// Location of the header that will be displayed at the top of the page |
89 | 89 |
var HEADER_URL |
90 |
= "@systemidserver@/@context@@style-skins-relpath@/first/header.jsp";
|
|
90 |
= "style/skins/first/header.jsp";
|
|
91 | 91 |
|
92 | 92 |
// Location of the search box that will be displayed above the |
93 | 93 |
// results on the results page (optional) |
lib/style/skins/first/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"> |
... | ... | |
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> |
lib/style/skins/first/header.jsp | ||
---|---|---|
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 |
%> |
|
1 | 27 |
|
2 |
<!-- |
|
3 |
'$RCSfile$' |
|
4 |
Copyright: 2003 Regents of the University of California and the |
|
5 |
National Center for Ecological Analysis and Synthesis |
|
6 |
'$Author$' |
|
7 |
'$Date$' |
|
8 |
'$Revision$' |
|
28 |
<%@ include file="../../common/common-settings.jsp"%> |
|
29 |
<%@ include file="../../common/configure-check.jsp"%> |
|
9 | 30 |
|
10 |
This program is free software; you can redistribute it and/or modify |
|
11 |
it under the terms of the GNU General Public License as published by |
|
12 |
the Free Software Foundation; either version 2 of the License, or |
|
13 |
(at your option) any later version. |
|
14 |
|
|
15 |
This program is distributed in the hope that it will be useful, |
|
16 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
17 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
18 |
GNU General Public License for more details. |
|
19 |
|
|
20 |
You should have received a copy of the GNU General Public License |
|
21 |
along with this program; if not, write to the Free Software |
|
22 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
23 |
--> |
|
24 |
<!--____________________________max_width____________________________________--> |
|
25 |
|
|
26 | 31 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
27 | 32 |
<html> |
28 | 33 |
<head> |
29 | 34 |
<title>FIRST Data Repository</title> |
30 | 35 |
<link rel="stylesheet" type="text/css" |
31 |
href="@systemidserver@@style-skins-path@/first/first.css"></link>
|
|
36 |
href="<%=STYLE_SKINS_URL%>/first/first.css"></link>
|
|
32 | 37 |
</head> |
33 | 38 |
|
34 | 39 |
<body> |
35 | 40 |
<table width="760" border="0" cellspacing="0" cellpadding="0"> |
36 | 41 |
<tr valign="top"> |
37 | 42 |
<td> |
38 |
<img src="@systemidserver@@style-skins-path@/first/images/first2banner.jpg">
|
|
43 |
<img src="<%=STYLE_SKINS_URL%>/first/images/first2banner.jpg">
|
|
39 | 44 |
</td> |
40 | 45 |
<td> |
41 | 46 |
<table> |
... | ... | |
47 | 52 |
<p><a href="http://www.first2.org" target=_top">FIRST Home</a></p> |
48 | 53 |
</td> |
49 | 54 |
<td valign="top"> |
50 |
<p><a href="index.html" target="_top">Repository Home</a></p>
|
|
55 |
<p><a href="index.jsp" target="_top">Repository Home</a></p>
|
|
51 | 56 |
</td> |
52 | 57 |
<!-- |
53 | 58 |
<td valign="top"> |
Also available in: Unified diff
render the pages using the common settings