Project

General

Profile

1
<%@ page errorPage="jsperrorpage.html" %>
2
<!--
3
  *   '$RCSfile$'
4
  *   Copyright: 2006 Regents of the University of California and the
5
  *              National Center for Ecological Analysis and Synthesis
6
  *
7
  *    '$Author: jones $'
8
  *      '$Date: 2006-03-01 22:40:02 -0800 (Wed, 01 Mar 2006) $'
9
  *  '$Revision: 2942 $'
10
  *
11
  * This program is free software; you can redistribute it and/or modify
12
  * it under the terms of the GNU General Public License as published by
13
  * the Free Software Foundation; either version 2 of the License, or
14
  * (at your option) any later version.
15
  *
16
  * This program is distributed in the hope that it will be useful,
17
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19
  * GNU General Public License for more details.
20
  *
21
  * You should have received a copy of the GNU General Public License
22
  * along with this program; if not, write to the Free Software
23
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
24
-->
25
<% 
26

    
27
// GLOBAL CONSTANTS FOR ALL METACAT SKINS
28
// These can be overridden by individual javascripts in each skin
29

    
30
String COMMON_SEARCH_METACAT_POST_FIELDS   =
31
    "<input type=\"hidden\" name=\"action\"        value=\"query\"\\>\n"
32
    +"<input type=\"hidden\" name=\"returnfield\"   value=\"originator/individualName/surName\"\\>\n"
33
    +"<input type=\"hidden\" name=\"returnfield\"   value=\"originator/individualName/givenName\"\\>\n"
34
    +"<input type=\"hidden\" name=\"returnfield\"   value=\"originator/organizationName\"\\>\n"
35
    +"<input type=\"hidden\" name=\"returnfield\"   value=\"creator/individualName/surName\"\\>\n"
36
    +"<input type=\"hidden\" name=\"returnfield\"   value=\"creator/organizationName\"\\>\n"
37
    +"<input type=\"hidden\" name=\"returnfield\"   value=\"dataset/title\"\\>\n"
38
    +"<input type=\"hidden\" name=\"returnfield\"   value=\"keyword\"\\>\n"
39
    +"<input name=\"returnfield\" value=\"creator/individualName/givenName\" type=\"hidden\">\n"
40
    +"<input name=\"returnfield\" value=\"idinfo/citation/citeinfo/title\" type=\"hidden\">\n"
41
    +"<input name=\"returnfield\" value=\"idinfo/citation/citeinfo/origin\" type=\"hidden\">\n"
42
    +"<input name=\"returnfield\" value=\"idinfo/keywords/theme/themekey\" type=\"hidden\">\n"
43
    +"<input name=\"returndoctype\" value=\"metadata\" type=\"hidden\">\n"
44
    +"<input type=\"hidden\" name=\"returndoctype\" value=\"-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN\"\\>\n"
45
    +"<input type=\"hidden\" name=\"returndoctype\" value=\"-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN\"\\>\n"
46
    +"<input type=\"hidden\" name=\"returndoctype\" value=\"eml://ecoinformatics.org/eml-2.0.1\"\\>\n"
47
    +"<input type=\"hidden\" name=\"returndoctype\" value=\"eml://ecoinformatics.org/eml-2.0.0\"\\>\n"
48
    +"<input type=\"hidden\" name=\"returndoctype\" value=\"-//NCEAS//eml-dataset-2.0//EN\"\\>\n"
49
    +"<input type=\"hidden\" name=\"returndoctype\" value=\"-//NCEAS//resource//EN\"\\>\n";
50

    
51
String SIMPLE_SEARCH_METACAT_POST_FIELDS   =
52
    "<input type=\"hidden\" name=\"operator\"      value=\"UNION\"\\>\n"
53
    +COMMON_SEARCH_METACAT_POST_FIELDS;
54

    
55
String ADVANCED_SEARCH_METACAT_POST_FIELDS   =
56
    "<input type=\"hidden\" name=\"operator\"      value=\"INTERSECT\"\\>\n"
57
    +COMMON_SEARCH_METACAT_POST_FIELDS;
58
%>
(6-6/19)