Project

General

Profile

« Previous | Next » 

Revision 3734

-use jsp rather than html files so hat the server context can be looked up on the fly (as well as additional options from the MetacatUtil class).
-incorporate the use of relative paths in the XML configuration (doctype=>stylesheet mapping)

Note: still using ant tokens in the .cfg file used for perl...not sure how to convert that.

View differences:

lib/style/skins/nceas/index.html
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
-->
28
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
29
<html>
30
<head>
31
<title>NCEAS Data Repository</title>
32
  <link rel="stylesheet" type="text/css" 
33
        href="@systemidserver@@style-skins-path@/nceas/nceas.css">
34
  <script language="JavaScript" type="text/JavaScript"
35
          src="@systemidserver@@style-skins-path@/nceas/nceas.js"></script>
36
  <script language="JavaScript" type="text/JavaScript"
37
          src="@systemidserver@@style-common-path@/branding.js"></script>
38
  <script type="text/javascript" 
39
          src="@systemidserver@@style-skins-path@/nceas/navigation.js"></script>
40
  <script type="text/javascript"
41
          src="@systemidserver@@style-skins-path@/nceas/search.js"></script>
42

  
43
</head>
44
<body id="Overview" onload="loginStatus();">
45
    <div id="main_wrapper">
46

  
47
    <div id="header">
48
        <p>Skip to <a href="#navigation">navigation</a>, <a href="#main_content">main
49
        content</a>, <a href="#secondary_content">secondary content</a> or to <a
50
        href="#search">search</a>.</p> <h1><span></span><a href="/">NCEAS</a></h1>
51
    </div>
52
    <div id="navigation">
53
        <p></p>
54
        <ul id="main_nav">
55
            <ul class="menu">
56
                <li class="collapsed"><a href="http://www.nceas.ucsb.edu">Home</a></li>
57
                <li class="collapsed"><a href="http://data.nceas.ucsb.edu">Repository</a></li>
58
                <li class="collapsed"><a href="@cgi-prefix@/register-dataset.cgi?cfg=nceas">Register</a></li>
59
                <li class="collapsed"><span id="login_block"></span></li>
60
            </ul>
61
        </ul>
62
    </div> <!-- navigation --> 
63

  
64
    <div id="content_wrapper">
65
        <h1>NCEAS Data Repository</h1>
66

  
67
<p class ="intro">Welcome to the NCEAS Data Repository. This repository contains information 
68
about the research data sets collected and collated as part of NCEAS' funded activities. 
69
Information in the NCEAS Data Repository is concurrently available through the <a href="http://knb.ecoinformatics.org/index.jsp">Knowledge Network for Biocomplexity (KNB)</a>, an international data repository. </span></p>
70
<p class="intro">A number of the data sets were synthesized from multiple data sources that originated from the efforts of many contributors, while others originated from a single investigator. Credit for the data sets in this repository goes to the investigators who collected the data, as well as to the NCEAS working groups and scientists who compiled the data for synthetic purposes. See each data package for a list of the people and institutions involved. </p>
71
<p class="intro"> If you have any questions, comments or problems, please contact the repository administrator at <a href="mailto:help@nceas.ucsb.edu">help@nceas.ucsb.edu</a> </p>
72
<br>
73
<table class="tables" cellpadding="8" cellspacing="0">
74
  <tr class="sectheader">
75
    <td class="borderbottom"><a name="search" ></a>
76
        <p align="center" class="largetext"> Search for Data Sets </p></td>
77
  </tr>
78
  <tr class="sectbody"></tr>
79
 
80
  <tr >
81
    <td align="left"><form method="POST" action="@servlet-path@" target="_top" onSubmit="return checkSearch(this)">
82
        <div class="searchresultsdividerPale">
83
        <p>
84
        <input value="UNION" name="operator" type="hidden">
85
&nbsp;
86
        <input size="14" name="searchstring" type="text" value="" id="searchBox">
87
        <input name="query" type="hidden">
88
        <input name="qformat" value="nceas" type="hidden">
89
        <input name="enableediting" value="true" type="hidden">
90
        <input type="hidden" name="action" value="squery">
91
        <input value="Search" type="submit">
92
        </p>
93
        <p>
94
        <input name="search" type="radio" checked>
95
        Search Title, Abstract, Keywords, Personnel (Quicker) <br>
96
        <input name="search" type="radio" id="searchAll">
97
        Search all fields (Slower) <br>
98
        </p>
99
        </div>
100
        </form> 
101
        <div align="center">
102
          <p align="left">This tool allows you to search the registry for data sets of interest. When you type text in the box and click on the "Search" button, the search will only be conducted within the title, author, abstract, and keyword fields. Checking the "Search All Fields" box will search on these and all other existing fields (this search will take more time). <br>
103
                <br>
104
          You can use the '%' character as a wildcard in your searches (e.g., '%biodiversity%' would locate any phrase with the word biodiversity embedded within it). </p>
105
      </div></td>
106
  </tr>
107
  <tr >
108
    <td class="borderbottom"><div align="center"><a href="@servlet-path@?action=query&amp;operator=INTERSECT&amp;anyfield=%25&amp;organizationName=National%20Center%20for%20Ecological%20Analysis%20and%20Synthesis&amp;qformat=nceas&amp;enableediting=true&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.0&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.1&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN&amp;returnfield=dataset/title&amp;returnfield=keyword&amp;returnfield=originator/individualName/surName&amp;returnfield=creator/individualName/surName&amp;returnfield=originator/organizationName&amp;returnfield=creator/organizationName">Browse existing NCEAS data sets</a>
109
<br/><br/>
110
<a href="map.html"> View Interactive Map </a> </div>
111
</td></tr></table>
112
<br><br>
113
<table class="tables" cellpadding="8" cellspacing="0">
114
  <tr class="sectheader">
115
    <td class="borderbottom" colspan="2" align="left"><span class="label"> </span>
116
        <p align="center" class="largetext"> Register information about a new NCEAS data set </p></td>
117
  </tr>
118
  
119
 
120
  <tr >
121
    <td  colspan="2" align="center"><div align="left">
122
      <p><a href="http://knb.ecoinformatics.org/cgi-bin/register-dataset.cgi?cfg=nceas">Register Information Online</a> - This is a simple way to provide information (metadata) about the existence of a data set. The registration page is used to submit information about a <b>new</b> data set associated with NCEAS research.</p>
123
  
124
      <p align="center">OR</p>
125
      </div></td>
126
  </tr>
127
  <tr >
128
    <td class="borderbottom"><div align="left">
129
      <p align="center"></p>
130
      <table width="100%"  border="0" align="center" >
131
        <tr>
132
          <td width="110" class="templatecontentareaclass"><a href="http://knb.ecoinformatics.org/morphoportal.jsp"><img src="../../images/MorphoButterfly.jpg" alt="Morpho Software Butterfly" width="100" height="100" border="0" ></a></td>
133
          <td width="550" valign="top" class="templateleftcolclass"><p >Use <a href="http://knb.ecoinformatics.org/morphoportal.jsp"><span class="style2">Morpho</span></a> software to register, document and upload data sets. </p>
134
              <p>Morpho is a data management tool for ecologists. It was created to provide an easy-to-use, cross-platform application for accessing and manipulating metadata (e.g. documentation) and data (both locally and on the network). Morpho allows ecologists to create metadata, (i.e. describe their data in a standardized format), and create a catalog of data and metadata upon which to query, edit and view data collections. In addition, Morpho provides the means to access network servers, in order to query, view and retrieve relevant, public ecological data!</p></td>
135
        </tr>
136
      </table>
137
    </div>
138
  </td></tr></table>
139
<p class="intro">This repository is an effort of the <a href="http://www.nceas.ucsb.edu">National 
140
Center for Ecological Analysis and Synthesis (NCEAS)</a> and
141
is based on software developed by the
142
<a href="http://knb.ecoinformatics.org">Knowledge Network for 
143
Biocomplexity (KNB)</a>, and houses metadata that are compliant with 
144
<a href="http://knb.ecoinformatics.org/software/eml/">Ecological Metadata 
145
Language (EML)</a>.
146
</p>
147

  
148
<div id="footer">
149
    <div id="footer_logos">
150
                <a href="http://www.msi.ucsb.edu/"><img
151
src="images/logo_msi.jpg" alt="MSI: Marine Science Institute" height="66"
152
width="132"></a><a href="http://www.nsf.gov/"><img src="images/logo_nsf.jpg"
153
alt="NSF: National Science 
154
Foundation" height="66" width="70"></a><a href="http://www.ucsb.edu/"><img
155
src="images/logo_ucsb.jpg" alt="UCSB: University of California at Santa Barbara"
156
height="66" width="132"></a>
157
    </div> <!-- footer_logos -->
158
    <div id="footer_contact">
159
        <span class="contact_name">National Center for Ecological Analysis and Synthesis</span>
160

  
161
        <span class="contact_address">735 State Street, Suite 300, Santa Barbara, CA 93101</span>
162
        <span class="copyright">Copyright &copy; 2007 The Regents of the
163
University of California, All Rights Reserved</span>
164
        <span class="copyright"><a href="http://www.ucsb.edu/" title="Visit the
165
UCSB website">UC Santa Barbara</a>, Santa Barbara CA 93106 &bull; (805)
166
893-8000</span>
167
        <span class="copyright"><a href="mailto:webmaster@nceas.ucsb.edu"
168
title="E-mail the NCEAS webmaster">Contact</a> &bull; <a
169
href="http://www.ucsb.edu/policies/terms-of-use.shtml">Terms of Use</a> &bull; <a
170
href="http://www.nceas.ucsb.edu/accessibility" title="NCEAS is committed to the
171
accessibility of its products for all users">Accessibility</a></span>
172
        
173
    </div> <!-- footer_contact -->
174
</div>
175

  
176
</div> <!-- id="content_wrapper"-->
177

  
178
</div>
179
</body>
180
</html>
181 0

  
lib/style/skins/nceas/map.html
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
-->
28
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
29
<html>
30
<head>
31
<title>NCEAS Data Repository Interactive Map</title>
32
  <link rel="stylesheet" type="text/css" 
33
        href="@systemidserver@@style-skins-path@/nceas/nceas.css">
34
  <script language="JavaScript" type="text/JavaScript"
35
          src="@systemidserver@@style-skins-path@/nceas/nceas.js"></script>
36
  <script language="JavaScript" type="text/JavaScript"
37
          src="@systemidserver@@style-common-path@/branding.js"></script>
38
  <script type="text/javascript" 
39
          src="@systemidserver@@style-skins-path@/nceas/navigation.js"></script>
40
  <script type="text/javascript"
41
          src="@systemidserver@@style-skins-path@/nceas/search.js"></script>
42

  
43
</head>
44
<body id="Overview" onload="loginStatus();">
45
    <div id="main_wrapper">
46

  
47
    <div id="header">
48
        <p>Skip to <a href="#navigation">navigation</a>, <a href="#main_content">main
49
        content</a>, <a href="#secondary_content">secondary content</a> or to <a
50
        href="#search">search</a>.</p> <h1><span></span><a href="/">NCEAS</a></h1>
51
    </div>
52
    <div id="navigation">
53
        <p></p>
54
        <ul id="main_nav">
55
            <ul class="menu">
56
                <li class="collapsed"><a href="http://www.nceas.ucsb.edu">Home</a></li>
57
                <li class="collapsed"><a href="http://data.nceas.ucsb.edu">Repository</a></li>
58
                <li class="collapsed"><a href="@cgi-prefix@/register-dataset.cgi?cfg=nceas">Register</a></li>
59
                <li class="collapsed"><span id="login_block"></span></li>
60
            </ul>
61
        </ul>
62
    </div> <!-- navigation -->
63
    <div id="content_wrapper">
64
        <h1>NCEAS Data Repository Interactive Map</h1>
65

  
66
        <iframe scrolling="no" frameborder="0" width="750" height="520" src="spatial/map.html">
67
          You need iframe support 
68
        </iframe>
69

  
70
<div id="footer">
71
    <div id="footer_logos">
72
                <a href="http://www.msi.ucsb.edu/"><img
73
src="images/logo_msi.jpg" alt="MSI: Marine Science Institute" height="66"
74
width="132"></a><a href="http://www.nsf.gov/"><img src="images/logo_nsf.jpg"
75
alt="NSF: National Science 
76
Foundation" height="66" width="70"></a><a href="http://www.ucsb.edu/"><img
77
src="images/logo_ucsb.jpg" alt="UCSB: University of California at Santa Barbara"
78
height="66" width="132"></a>
79
    </div> <!-- footer_logos -->
80
    <div id="footer_contact">
81
        <span class="contact_name">National Center for Ecological Analysis and Synthesis</span>
82

  
83
        <span class="contact_address">735 State Street, Suite 300, Santa Barbara, CA 93101</span>
84
        <span class="copyright">Copyright &copy; 2007 The Regents of the
85
University of California, All Rights Reserved</span>
86
        <span class="copyright"><a href="http://www.ucsb.edu/" title="Visit the
87
UCSB website">UC Santa Barbara</a>, Santa Barbara CA 93106 &bull; (805)
88
893-8000</span>
89
        <span class="copyright"><a href="mailto:webmaster@nceas.ucsb.edu"
90
title="E-mail the NCEAS webmaster">Contact</a> &bull; <a
91
href="http://www.ucsb.edu/policies/terms-of-use.shtml">Terms of Use</a> &bull; <a
92
href="http://www.nceas.ucsb.edu/accessibility" title="NCEAS is committed to the
93
accessibility of its products for all users">Accessibility</a></span>
94

  
95
        
96
    </div> <!-- footer_contact -->
97
</div>
98

  
99
</div> <!-- id="content_wrapper"-->
100

  
101
</div>
102

  
103
</body>
104
</html>
105 0

  
lib/style/skins/nceas/searchform.html
1
<form method="POST" action="@servlet-path@" target="_top">
2
Search for: 
3
  <input value="INTERSECT" name="operator" type="hidden">   
4
  <input size="14" name="anyfield" type="text" value="">
5
  <input name="organizationName" value="National Center for Ecological Analysis and Synthesis" type="hidden">
6
  <input name="action" value="query" type="hidden">
7
  <input name="qformat" value="obfs" type="hidden">
8
  <input name="enableediting" value="true" type="hidden">
9
  <input name="operator" value="UNION" type="hidden">
10
  <input name="returnfield" value="originator/individualName/surName" type="hidden">
11
  <input name="returnfield" value="originator/individualName/givenName" type="hidden">
12
  <input name="returnfield" value="creator/individualName/surName" type="hidden">
13
  <input name="returnfield" value="creator/individualName/givenName" type="hidden">
14
  <input name="returnfield" value="originator/organizationName" type="hidden">
15
  <input name="returnfield" value="creator/organizationName" type="hidden">
16
  <input name="returnfield" value="dataset/title" type="hidden">
17
  <input name="returnfield" value="keyword" type="hidden">
18
  <input name="returndoctype" value="eml://ecoinformatics.org/eml-2.0.1" type="hidden">
19
  <input name="returndoctype" value="eml://ecoinformatics.org/eml-2.0.0" type="hidden">
20
  <input name="returndoctype" value="-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN" type="hidden">
21
  <input name="returndoctype" value="-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN" type="hidden">
22
  <input name="returndoctype" value="-//NCEAS//resource//EN" type="hidden">
23
  <input name="returndoctype" value="-//NCEAS//eml-dataset//EN" type="hidden">
24
  <input value="Start Search" type="submit">
25
</form>
26 0

  
lib/style/skins/nceas/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
-->
28
<%@ include file="settings.jsp"%>
29
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
30
<html>
31
<head>
32
<title>NCEAS Data Repository</title>
33
  <link rel="stylesheet" type="text/css" 
34
        href="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/nceas/nceas.css">
35
  <script language="JavaScript" type="text/JavaScript"
36
          src="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/nceas/nceas.js"></script>
37
  <script language="JavaScript" type="text/JavaScript"
38
          src="<%=SERVER_URL_WITH_CONTEXT%>/style/common/branding.js"></script>
39
  <script type="text/javascript" 
40
          src="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/nceas/navigation.js"></script>
41
  <script type="text/javascript"
42
          src="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/nceas/search.js"></script>
43

  
44
</head>
45
<body id="Overview" onload="loginStatus('<%=METACAT_URL%>','<%=CGI_PREFIX%>');">
46
    <div id="main_wrapper">
47

  
48
    <div id="header">
49
        <p>Skip to <a href="#navigation">navigation</a>, <a href="#main_content">main
50
        content</a>, <a href="#secondary_content">secondary content</a> or to <a
51
        href="#search">search</a>.</p> <h1><span></span><a href="/">NCEAS</a></h1>
52
    </div>
53
    <div id="navigation">
54
        <p></p>
55
        <ul id="main_nav">
56
            <ul class="menu">
57
                <li class="collapsed"><a href="http://www.nceas.ucsb.edu">Home</a></li>
58
                <li class="collapsed"><a href="http://data.nceas.ucsb.edu">Repository</a></li>
59
                <li class="collapsed"><a href="<%=CGI_PREFIX%>/register-dataset.cgi?cfg=nceas">Register</a></li>
60
                <li class="collapsed"><span id="login_block"></span></li>
61
            </ul>
62
        </ul>
63
    </div> <!-- navigation --> 
64

  
65
    <div id="content_wrapper">
66
        <h1>NCEAS Data Repository</h1>
67

  
68
<p class ="intro">Welcome to the NCEAS Data Repository. This repository contains information 
69
about the research data sets collected and collated as part of NCEAS' funded activities. 
70
Information in the NCEAS Data Repository is concurrently available through the <a href="http://knb.ecoinformatics.org/index.jsp">Knowledge Network for Biocomplexity (KNB)</a>, an international data repository. </span></p>
71
<p class="intro">A number of the data sets were synthesized from multiple data sources that originated from the efforts of many contributors, while others originated from a single investigator. Credit for the data sets in this repository goes to the investigators who collected the data, as well as to the NCEAS working groups and scientists who compiled the data for synthetic purposes. See each data package for a list of the people and institutions involved. </p>
72
<p class="intro"> If you have any questions, comments or problems, please contact the repository administrator at <a href="mailto:help@nceas.ucsb.edu">help@nceas.ucsb.edu</a> </p>
73
<br>
74
<table class="tables" cellpadding="8" cellspacing="0">
75
  <tr class="sectheader">
76
    <td class="borderbottom"><a name="search" ></a>
77
        <p align="center" class="largetext"> Search for Data Sets </p></td>
78
  </tr>
79
  <tr class="sectbody"></tr>
80
 
81
  <tr >
82
    <td align="left"><form method="POST" action="<%=METACAT_URL%>" target="_top" onSubmit="return checkSearch(this)">
83
        <div class="searchresultsdividerPale">
84
        <p>
85
        <input value="UNION" name="operator" type="hidden">
86
&nbsp;
87
        <input size="14" name="searchstring" type="text" value="" id="searchBox">
88
        <input name="query" type="hidden">
89
        <input name="qformat" value="nceas" type="hidden">
90
        <input name="enableediting" value="true" type="hidden">
91
        <input type="hidden" name="action" value="squery">
92
        <input value="Search" type="submit">
93
        </p>
94
        <p>
95
        <input name="search" type="radio" checked>
96
        Search Title, Abstract, Keywords, Personnel (Quicker) <br>
97
        <input name="search" type="radio" id="searchAll">
98
        Search all fields (Slower) <br>
99
        </p>
100
        </div>
101
        </form> 
102
        <div align="center">
103
          <p align="left">This tool allows you to search the registry for data sets of interest. When you type text in the box and click on the "Search" button, the search will only be conducted within the title, author, abstract, and keyword fields. Checking the "Search All Fields" box will search on these and all other existing fields (this search will take more time). <br>
104
                <br>
105
          You can use the '%' character as a wildcard in your searches (e.g., '%biodiversity%' would locate any phrase with the word biodiversity embedded within it). </p>
106
      </div></td>
107
  </tr>
108
  <tr >
109
    <td class="borderbottom"><div align="center"><a href="<%=METACAT_URL%>?action=query&amp;operator=INTERSECT&amp;anyfield=%25&amp;organizationName=National%20Center%20for%20Ecological%20Analysis%20and%20Synthesis&amp;qformat=nceas&amp;enableediting=true&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.0&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.1&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN&amp;returnfield=dataset/title&amp;returnfield=keyword&amp;returnfield=originator/individualName/surName&amp;returnfield=creator/individualName/surName&amp;returnfield=originator/organizationName&amp;returnfield=creator/organizationName">Browse existing NCEAS data sets</a>
110
<br/><br/>
111
<a href="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/nceas/map.jsp"> View Interactive Map </a> </div>
112
</td></tr></table>
113
<br><br>
114
<table class="tables" cellpadding="8" cellspacing="0">
115
  <tr class="sectheader">
116
    <td class="borderbottom" colspan="2" align="left"><span class="label"> </span>
117
        <p align="center" class="largetext"> Register information about a new NCEAS data set </p></td>
118
  </tr>
119
  
120
 
121
  <tr >
122
    <td  colspan="2" align="center"><div align="left">
123
      <p><a href="<%=CGI_PREFIX%>/register-dataset.cgi?cfg=nceas">Register Information Online</a> - This is a simple way to provide information (metadata) about the existence of a data set. The registration page is used to submit information about a <b>new</b> data set associated with NCEAS research.</p>
124
  
125
      <p align="center">OR</p>
126
      </div></td>
127
  </tr>
128
  <tr >
129
    <td class="borderbottom"><div align="left">
130
      <p align="center"></p>
131
      <table width="100%"  border="0" align="center" >
132
        <tr>
133
          <td width="110" class="templatecontentareaclass"><a href="http://knb.ecoinformatics.org/morphoportal.jsp"><img src="<%=SERVER_URL_WITH_CONTEXT%>/style/images/MorphoButterfly.jpg" alt="Morpho Software Butterfly" width="100" height="100" border="0" ></a></td>
134
          <td width="550" valign="top" class="templateleftcolclass"><p >Use <a href="http://knb.ecoinformatics.org/morphoportal.jsp"><span class="style2">Morpho</span></a> software to register, document and upload data sets. </p>
135
              <p>Morpho is a data management tool for ecologists. It was created to provide an easy-to-use, cross-platform application for accessing and manipulating metadata (e.g. documentation) and data (both locally and on the network). Morpho allows ecologists to create metadata, (i.e. describe their data in a standardized format), and create a catalog of data and metadata upon which to query, edit and view data collections. In addition, Morpho provides the means to access network servers, in order to query, view and retrieve relevant, public ecological data!</p></td>
136
        </tr>
137
      </table>
138
    </div>
139
  </td></tr></table>
140
<p class="intro">This repository is an effort of the <a href="http://www.nceas.ucsb.edu">National 
141
Center for Ecological Analysis and Synthesis (NCEAS)</a> and
142
is based on software developed by the
143
<a href="http://knb.ecoinformatics.org">Knowledge Network for 
144
Biocomplexity (KNB)</a>, and houses metadata that are compliant with 
145
<a href="http://knb.ecoinformatics.org/software/eml/">Ecological Metadata 
146
Language (EML)</a>.
147
</p>
148

  
149
<div id="footer">
150
    <div id="footer_logos">
151
                <a href="http://www.msi.ucsb.edu/"><img
152
src="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/nceas/images/logo_msi.jpg" alt="MSI: Marine Science Institute" height="66"
153
width="132"></a><a href="http://www.nsf.gov/"><img src="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/nceas/images/logo_nsf.jpg"
154
alt="NSF: National Science 
155
Foundation" height="66" width="70"></a><a href="http://www.ucsb.edu/"><img
156
src="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/nceas/images/logo_ucsb.jpg" alt="UCSB: University of California at Santa Barbara"
157
height="66" width="132"></a>
158
    </div> <!-- footer_logos -->
159
    <div id="footer_contact">
160
        <span class="contact_name">National Center for Ecological Analysis and Synthesis</span>
161

  
162
        <span class="contact_address">735 State Street, Suite 300, Santa Barbara, CA 93101</span>
163
        <span class="copyright">Copyright &copy; 2007 The Regents of the
164
University of California, All Rights Reserved</span>
165
        <span class="copyright"><a href="http://www.ucsb.edu/" title="Visit the
166
UCSB website">UC Santa Barbara</a>, Santa Barbara CA 93106 &bull; (805)
167
893-8000</span>
168
        <span class="copyright"><a href="mailto:webmaster@nceas.ucsb.edu"
169
title="E-mail the NCEAS webmaster">Contact</a> &bull; <a
170
href="http://www.ucsb.edu/policies/terms-of-use.shtml">Terms of Use</a> &bull; <a
171
href="http://www.nceas.ucsb.edu/accessibility" title="NCEAS is committed to the
172
accessibility of its products for all users">Accessibility</a></span>
173
        
174
    </div> <!-- footer_contact -->
175
</div>
176

  
177
</div> <!-- id="content_wrapper"-->
178

  
179
</div>
180
</body>
181
</html>
0 182

  
lib/style/skins/nceas/nceas.js
33 33

  
34 34
 
35 35
/* loginStatus: Uses XHR request to check for current session login status */
36
function loginStatus(){
36
function loginStatus(servletPath, cgiPrefix){
37 37
    var httpRequest = false;
38 38
    try {
39 39
          httpRequest = new XMLHttpRequest();
......
61 61
                var login_block = document.getElementById('login_block');
62 62

  
63 63
                if (response.indexOf("public") > 0) {
64
                    login_block.innerHTML = '<a href="@cgi-prefix@/register-dataset.cgi?cfg=nceas&' +
64
                    login_block.innerHTML = '<a href="' + cgiPrefix + '/register-dataset.cgi?cfg=nceas&' +
65 65
                                            'stage=loginform">Login</a>';
66 66
                }
67 67
                else
68 68
                {
69
                    login_block.innerHTML = '<a href="@cgi-prefix@/register-dataset.cgi?cfg=nceas&' +
69
                    login_block.innerHTML = '<a href="' + cgiPrefix + '/register-dataset.cgi?cfg=nceas&' +
70 70
                                            'stage=logout">Logout</a>';
71 71
                }
72 72
            }
73 73
        }
74 74
    }
75 75

  
76
    httpRequest.open("GET", "@servlet-path@?action=getloggedinuserinfo", true);
76
    httpRequest.open("GET", servletPath + "?action=getloggedinuserinfo", true);
77 77
    httpRequest.send(null);
78 78
}
lib/style/skins/nceas/nceas-login.xsl
33 33

  
34 34
  <xsl:output method="html"/>
35 35
  <xsl:param name="qformat">default</xsl:param>
36
  <xsl:param name="contextURL"/>
37
  <xsl:param name="cgi-prefix"/>
36 38
  <xsl:template match="/">
37 39
   <html>
38 40
      <head>
39 41
        <link rel="stylesheet" type="text/css"
40
              href="@style-skins-path@/nceas/nceas.css" />
42
              href="{$contextURL}/style/skins/nceas/nceas.css" />
41 43
        <script language="Javascript" type="text/JavaScript"
42
                src="@style-skins-path@/nceas/nceas.js" />
44
                src="{$contextURL}/style/skins/nceas/nceas.js" />
43 45
        <script language="Javascript" type="text/JavaScript"
44
                src="@style-common-path@/branding.js" />
46
                src="{$contextURL}/style/common/branding.js" />
45 47
         <script language="JavaScript">
46 48
         <![CDATA[
47 49
            function search(){
48
                location.href = "@cgi-prefix@/register-dataset.cgi?cfg=nceas";
50
                location.href = "]]><xsl:value-of select="$cgi-prefix" /><![CDATA["/register-dataset.cgi?cfg=nceas";
49 51
            }]]>
50 52
         </script>
51 53
      </head>
......
63 65
              <ul class="menu">
64 66
                  <li class="collapsed"><a href="http://www.nceas.ucsb.edu">Home</a></li>
65 67
                  <li class="collapsed"><a href="http://data.nceas.ucsb.edu">Repository</a></li>
66
                  <li class="collapsed"><a href="@cgi-prefix@/register-dataset.cgi?cfg=nceas">Register</a></li>
68
                  <li class="collapsed"><a href="{$cgi-prefix}/register-dataset.cgi?cfg=nceas">Register</a></li>
67 69
            </ul>
68 70
        </ul>
69 71
    </div> <!-- navigation -->
......
82 84
          </p>
83 85
      </xsl:if>
84 86
          <p class="text_plain">
85
            Return to the <a href="@systemidserver@@style-skins-path@/nceas/">Registry home</a>.
87
            Return to the <a href="{$contextURL}/style/skins/nceas/">Registry home</a>.
86 88
          </p>
87 89
        </div>
88 90
        </div>
lib/style/skins/nceas/nceas.xml
1 1
<?xml version="1.0"?>
2 2
<style-set name="obfs">
3 3
<!-- general login & search -->
4
  <default-style>@systemidserver@@style-common-path@/ascii-treeview.xsl</default-style>
4
  <default-style>style/common/ascii-treeview.xsl</default-style>
5 5

  
6 6
  <doctype publicid="-//NCEAS//resultset//EN">
7
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-skins-path@/nceas/nceas.xsl</target>
7
    <target publicid="-//W3C//HTML//EN">style/skins/nceas/nceas.xsl</target>
8 8
  </doctype>
9 9

  
10 10
<!--
11 11
    ARE THESE STILL NEEDED????????????
12 12

  
13 13
  <doctype publicid="-//NCEAS//login//EN">
14
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/login.xsl</target>
14
    <target publicid="-//W3C//HTML//EN">style/common/login.xsl</target>
15 15
  </doctype>
16 16

  
17 17
  <doctype publicid="-//NCEAS//eml-generic//EN">
18
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/generic-morpho.xsl</target>
18
    <target publicid="-//W3C//HTML//EN">style/common/generic-morpho.xsl</target>
19 19
  </doctype>
20 20
-->
21 21
  <doctype publicid="-//NCEAS//login//EN">
22
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-skins-path@/nceas/nceas-login.xsl</target>
22
    <target publicid="-//W3C//HTML//EN">style/skins/nceas/nceas-login.xsl</target>
23 23
  </doctype>
24 24

  
25 25
<!-- pre-beta6 modules -->
26 26
<!-- NOTE these settings are unchanged from the previous version - only the xsl 
27 27
     filename has changed from "eml-dataset-display.xsl" to "eml-dataset-2.0.0beta4.xsl" -->
28 28
  <doctype publicid="eml://ecoinformatics.org/eml-2.0.1">
29
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-skins-path@/nceas/nceas.xsl</target>
29
    <target publicid="-//W3C//HTML//EN">style/skins/nceas/nceas.xsl</target>
30 30
  </doctype>
31 31
  <doctype publicid="eml://ecoinformatics.org/eml-2.0.0">
32
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-skins-path@/nceas/nceas.xsl</target>
32
    <target publicid="-//W3C//HTML//EN">style/skins/nceas/nceas.xsl</target>
33 33
  </doctype>
34 34
  <doctype publicid="-//NCEAS//eml-dataset//EN">
35
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta4/eml-dataset-2.0.0beta4.xsl</target>
35
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta4/eml-dataset-2.0.0beta4.xsl</target>
36 36
  </doctype>
37 37
  <doctype publicid="-//NCEAS//eml-dataset-2.0//EN">
38
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta4/eml-dataset-2.0.0beta4.xsl</target>
38
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta4/eml-dataset-2.0.0beta4.xsl</target>
39 39
  </doctype>
40 40
  <doctype publicid="-//NCEAS//eml-resource//EN">
41
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta4/eml-dataset-2.0.0beta4.xsl</target>
41
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta4/eml-dataset-2.0.0beta4.xsl</target>
42 42
  </doctype>
43 43
  <doctype publicid="-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN">
44
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta4/eml-dataset-2.0.0beta4.xsl</target>
44
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta4/eml-dataset-2.0.0beta4.xsl</target>
45 45
  </doctype>
46 46
<!-- beta6 modules -->
47 47
  <doctype publicid="-//ecoinformatics.org//eml-access-2.0.0beta6//EN">
48
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta6/eml-access-2.0.0beta6.xsl</target>
48
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta6/eml-access-2.0.0beta6.xsl</target>
49 49
  </doctype>
50 50
  <doctype publicid="-//ecoinformatics.org//eml-attribute-2.0.0beta6//EN">
51
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta6/eml-attribute-2.0.0beta6.xsl</target>
51
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta6/eml-attribute-2.0.0beta6.xsl</target>
52 52
  </doctype>
53 53
  <doctype publicid="-//ecoinformatics.org//eml-constraint-2.0.0beta6//EN">
54
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta6/eml-constraint-2.0.0beta6.xsl</target>
54
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta6/eml-constraint-2.0.0beta6.xsl</target>
55 55
  </doctype>
56 56
  <doctype publicid="-//ecoinformatics.org//eml-coverage-2.0.0beta6//EN">
57
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta6/eml-coverage-2.0.0beta6.xsl</target>
57
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta6/eml-coverage-2.0.0beta6.xsl</target>
58 58
  </doctype>
59 59
  <doctype publicid="-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN">
60
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta6/eml-dataset-2.0.0beta6.xsl</target>
60
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta6/eml-dataset-2.0.0beta6.xsl</target>
61 61
  </doctype>
62 62
  <doctype publicid="-//ecoinformatics.org//eml-entity-2.0.0beta6//EN">
63
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta6/eml-entity-2.0.0beta6.xsl</target>
63
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta6/eml-entity-2.0.0beta6.xsl</target>
64 64
  </doctype>
65 65
  <doctype publicid="-//ecoinformatics.org//eml-literature-2.0.0beta6//EN">
66
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta6/eml-literature-2.0.0beta6.xsl</target>
66
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta6/eml-literature-2.0.0beta6.xsl</target>
67 67
  </doctype>
68 68
  <doctype publicid="-//ecoinformatics.org//eml-physical-2.0.0beta6//EN">
69
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta6/eml-physical-2.0.0beta6.xsl</target>
69
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta6/eml-physical-2.0.0beta6.xsl</target>
70 70
  </doctype>
71 71
  <doctype publicid="-//ecoinformatics.org//eml-project-2.0.0beta6//EN">
72
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta6/eml-project-2.0.0beta6.xsl</target>
72
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta6/eml-project-2.0.0beta6.xsl</target>
73 73
  </doctype>
74 74
  <doctype publicid="-//ecoinformatics.org//eml-protocol-2.0.0beta6//EN">
75
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta6/eml-protocol-2.0.0beta6.xsl</target>
75
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta6/eml-protocol-2.0.0beta6.xsl</target>
76 76
  </doctype>
77 77
  <doctype publicid="-//ecoinformatics.org//eml-software-2.0.0beta6//EN">
78
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta6/eml-software-2.0.0beta6.xsl</target>
78
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta6/eml-software-2.0.0beta6.xsl</target>
79 79
  </doctype>
80 80
</style-set>
lib/style/skins/nceas/map.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
-->
28
<%@ include file="settings.jsp"%>
29
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
30
<html>
31
<head>
32
<title>NCEAS Data Repository Interactive Map</title>
33
  <link rel="stylesheet" type="text/css" 
34
        href="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/nceas/nceas.css">
35
  <script language="JavaScript" type="text/JavaScript"
36
          src="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/nceas/nceas.js"></script>
37
  <script language="JavaScript" type="text/JavaScript"
38
          src="<%=SERVER_URL_WITH_CONTEXT%>/style/common/branding.js"></script>
39
  <script type="text/javascript" 
40
          src="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/nceas/navigation.js"></script>
41
  <script type="text/javascript"
42
          src="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/nceas/search.js"></script>
43

  
44
</head>
45
<body id="Overview" onload="loginStatus('<%=METACAT_URL%>', '<%=CGI_PREFIX%>');">
46
    <div id="main_wrapper">
47

  
48
    <div id="header">
49
        <p>Skip to <a href="#navigation">navigation</a>, <a href="#main_content">main
50
        content</a>, <a href="#secondary_content">secondary content</a> or to <a
51
        href="#search">search</a>.</p> <h1><span></span><a href="/">NCEAS</a></h1>
52
    </div>
53
    <div id="navigation">
54
        <p></p>
55
        <ul id="main_nav">
56
            <ul class="menu">
57
                <li class="collapsed"><a href="http://www.nceas.ucsb.edu">Home</a></li>
58
                <li class="collapsed"><a href="http://data.nceas.ucsb.edu">Repository</a></li>
59
                <li class="collapsed"><a href="<%=CGI_PREFIX%>/register-dataset.cgi?cfg=nceas">Register</a></li>
60
                <li class="collapsed"><span id="login_block"></span></li>
61
            </ul>
62
        </ul>
63
    </div> <!-- navigation -->
64
    <div id="content_wrapper">
65
        <h1>NCEAS Data Repository Interactive Map</h1>
66

  
67
        <iframe scrolling="no" frameborder="0" width="750" height="520" src="spatial/map.html">
68
          You need iframe support 
69
        </iframe>
70

  
71
<div id="footer">
72
    <div id="footer_logos">
73
                <a href="http://www.msi.ucsb.edu/"><img
74
src="images/logo_msi.jpg" alt="MSI: Marine Science Institute" height="66"
75
width="132"></a><a href="http://www.nsf.gov/"><img src="images/logo_nsf.jpg"
76
alt="NSF: National Science 
77
Foundation" height="66" width="70"></a><a href="http://www.ucsb.edu/"><img
78
src="images/logo_ucsb.jpg" alt="UCSB: University of California at Santa Barbara"
79
height="66" width="132"></a>
80
    </div> <!-- footer_logos -->
81
    <div id="footer_contact">
82
        <span class="contact_name">National Center for Ecological Analysis and Synthesis</span>
83

  
84
        <span class="contact_address">735 State Street, Suite 300, Santa Barbara, CA 93101</span>
85
        <span class="copyright">Copyright &copy; 2007 The Regents of the
86
University of California, All Rights Reserved</span>
87
        <span class="copyright"><a href="http://www.ucsb.edu/" title="Visit the
88
UCSB website">UC Santa Barbara</a>, Santa Barbara CA 93106 &bull; (805)
89
893-8000</span>
90
        <span class="copyright"><a href="mailto:webmaster@nceas.ucsb.edu"
91
title="E-mail the NCEAS webmaster">Contact</a> &bull; <a
92
href="http://www.ucsb.edu/policies/terms-of-use.shtml">Terms of Use</a> &bull; <a
93
href="http://www.nceas.ucsb.edu/accessibility" title="NCEAS is committed to the
94
accessibility of its products for all users">Accessibility</a></span>
95

  
96
        
97
    </div> <!-- footer_contact -->
98
</div>
99

  
100
</div> <!-- id="content_wrapper"-->
101

  
102
</div>
103

  
104
</body>
105
</html>
0 106

  
lib/style/skins/nceas/settings.jsp
1
<%@page import="edu.ucsb.nceas.metacat.MetaCatUtil"%>
2
<!--
3
  *   '$RCSfile$'
4
  *     Authors: Matthew Brooke
5
  *   Copyright: 2000 Regents of the University of California and the
6
  *              National Center for Ecological Analysis and Synthesis
7
  * For Details: http://www.nceas.ucsb.edu/
8
  *
9
  *    '$Author$'
10
  *      '$Date$'
11
  *  '$Revision$'
12
  *
13
  * Settings file for the default metacat skin
14
  *
15
  * This program is free software; you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License as published by
17
  * the Free Software Foundation; either version 2 of the License, or
18
  * (at your option) any later version.
19
  *
20
  * This program is distributed in the hope that it will be useful,
21
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23
  * GNU General Public License for more details.
24
  *
25
  * You should have received a copy of the GNU General Public License
26
  * along with this program; if not, write to the Free Software
27
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
28
-->
29
<%
30
   
31
   // CONTEXT NAME of metacat installed:
32
	String      CONTEXT_NAME          = request.getContextPath();
33
	
34
	// URL of SERVER with context (and optional port)
35
	String     SERVER_URL_WITH_CONTEXT =  request.getScheme() + "://" + request.getServerName();
36
	if ( request.getLocalPort() != 80 ) {
37
		SERVER_URL_WITH_CONTEXT += ":" + request.getLocalPort();
38
	}
39
	SERVER_URL_WITH_CONTEXT += CONTEXT_NAME;
40

  
41
	// URL of metacat to be used for login & searching:
42
	String      METACAT_URL           =  SERVER_URL_WITH_CONTEXT+ "/metacat";
43
	
44
	// URL for LDAP login actions
45
	String 		CGI_PREFIX = MetaCatUtil.getOption("cgi-prefix");
46

  
47
%>
0 48

  
lib/style/skins/nceas/nceas.xsl
31 31
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
32 32
                xmlns:eml="eml://ecoinformatics.org/eml-2.0.1" 
33 33
	            version="1.0">
34
    <xsl:import href="@systemidserver@@style-common-path@/resultset-table.xsl"/>
35
    <xsl:import href="@systemidserver@@style-common-path@/eml-2.0.1/emlroot.xsl"/>
34
    <xsl:import href="../../common/resultset-table.xsl"/>
35
    <xsl:import href="../../common/eml-2.0.1/emlroot.xsl"/>
36 36

  
37 37
	<xsl:output method="html" />
38 38
	<xsl:param name="sessid" />
39 39
	<xsl:param name="qformat">default</xsl:param>
40 40
	<xsl:param name="enableediting">false</xsl:param>
41
	<xsl:param name="contextURL"/>
42
	<xsl:param name="cgi-prefix"/>
41 43
	
42 44
	<xsl:template match="/">
43 45
		<html>
44 46
		
45 47
			<xsl:call-template name="documenthead"/>
46 48
			
47
			<body id="Overview" onload="loginStatus();">
49
			<body id="Overview" onload="loginStatus('{$contextURL}/metacat', '{$cgi-prefix}');">
48 50
				<div id="main_wrapper">
49 51
					
50 52
				    <xsl:call-template name="bodyheader"/>
......
79 81
            </title>
80 82
                        
81 83
			<link rel="stylesheet" type="text/css"
82
				href="@systemidserver@@style-skins-path@/{$qformat}/nceas.css" />
84
				href="{$contextURL}/style/skins/{$qformat}/{$qformat}.css" />
83 85
			<script language="Javascript" type="text/JavaScript"
84
				src="@systemidserver@@style-skins-path@/{$qformat}/{$qformat}.js" />
86
				src="{$contextURL}/style/skins/{$qformat}/{$qformat}.js" />
85 87
			<script language="Javascript" type="text/JavaScript"
86
				src="@systemidserver@@style-common-path@/branding.js" />
88
				src="{$contextURL}/style/common/branding.js" />
87 89
			<script type="text/javascript"
88
				src="@systemidserver@@style-skins-path@/nceas/navigation.js">
90
				src="{$contextURL}/style/skins/nceas/navigation.js">
89 91
			</script>
90 92
			<link rel="stylesheet" type="text/css"
91
				href="@systemidserver@@style-skins-path@/{$qformat}/{$qformat}.css" />
93
				href="{$contextURL}/style/skins/{$qformat}/{$qformat}.css" />
92 94

  
93 95
			<script language="JavaScript">
94 96
				<![CDATA[
......
128 130
						   Repository</a>
129 131
					</li>
130 132
					<li class="collapsed">
131
						<a href="@cgi-prefix@/register-dataset.cgi?cfg=nceas">
133
						<a href="{$cgi-prefix}/register-dataset.cgi?cfg=nceas">
132 134
						   Register</a>
133 135
					</li>
134 136
          <li class="collapsed">
......
150 152
		<div id="footer">
151 153
			<div id="footer_logos">
152 154
				<a href="http://www.msi.ucsb.edu/">
153
					<img src="@systemidserver@@style-skins-path@/{$qformat}/images/logo_msi.jpg"
155
					<img src="{$contextURL}/style/skins/{$qformat}/images/logo_msi.jpg"
154 156
						alt="MSI: Marine Science Institute" height="66" width="132"/></a>
155 157
				<a href="http://www.nsf.gov/">
156
					<img src="@systemidserver@@style-skins-path@/{$qformat}/images/logo_nsf.jpg"
158
					<img src="{$contextURL}/style/skins/{$qformat}/images/logo_nsf.jpg"
157 159
						alt="NSF: National Science Foundation" height="66"
158 160
						width="70"/></a>
159 161
				<a href="http://www.ucsb.edu/">
160
					<img src="@systemidserver@@style-skins-path@/{$qformat}/images/logo_ucsb.jpg"
162
					<img src="{$contextURL}/style/skins/{$qformat}/images/logo_ucsb.jpg"
161 163
						alt="UCSB: University of California at Santa Barbara"
162 164
						height="66" width="132"/></a>
163 165
			</div><!-- footer_logos -->

Also available in: Unified diff