Project

General

Profile

« Previous | Next » 

Revision 3780

Added by daigle over 16 years ago

Changes to remove ANT tokens for the turnkey install project

View differences:

settings.jsp
1 1
<%@ page errorPage="jsperrorpage.html" %>
2
<!--
2

  
3
<%
4
 /**
3 5
  *   '$RCSfile$'
4 6
  *     Authors: Matthew Brooke
5 7
  *   Copyright: 2000 Regents of the University of California and the
......
10 12
  *      '$Date$'
11 13
  *  '$Revision$'
12 14
  *
13
  * Settings file for the default metacat skin
15
  * Settings file for the lter metacat skin
14 16
  *
15 17
  * This program is free software; you can redistribute it and/or modify
16 18
  * it under the terms of the GNU General Public License as published by
......
25 27
  * You should have received a copy of the GNU General Public License
26 28
  * along with this program; if not, write to the Free Software
27 29
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
28
-->
29
<%
30
  */
31
 %>
30 32

  
31
// GLOBAL CONSTANTS FOR KNB PORTAL PAGE /////////////////////////////////////
33
<%@ include file="../../common/common-settings.jsp"%>
32 34

  
33
	// URL of metacat to be used for login & searching:
34
	String      METACAT_URL           = "@systemidserver@@servlet-path@";
35
<%
36
//Global settings for metacat are in common-settings.jsp.  Use this file to
37
//override or add to global values for this skin.
35 38

  
36
	// CONTEXT NAME of metacat installed:
37
	String      CONTEXT_NAME          = "@html-path@";
39
  // if true, POST variables echoed at bottom of client's browser window in a big yellow box.
40
  // Set this value to override the global value
41
  // boolean     DEBUG_TO_BROWSER      = false;
38 42

  
39
  //String      relativeRoot          = ".";
40
	// label for logout form button when user *is* logged in:
41
	String      LOGOUT_LABEL          = "Logout";
43
  // Add any local post fields to COMMON_SEARCH_METACAT_POST_FIELDS, 
44
  // SIMPLE_SEARCH_METACAT_POST_FIELDS, and ADVANCED_SEARCH_METACAT_POST_FIELD here
45
  COMMON_SEARCH_METACAT_POST_FIELDS +=
46
            "<input type=\"hidden\" name=\"qformat\"       value=\"lter\"\\>\n";
47
            
48
  SIMPLE_SEARCH_METACAT_POST_FIELDS +=
49
      "<input type=\"hidden\" name=\"qformat\"       value=\"lter\"\\>\n";
42 50

  
43
	// label for login form button when user is *not* logged in:
44
	String      LOGIN_LABEL           = "Login";
51
  ADVANCED_SEARCH_METACAT_POST_FIELDS +=
52
      "<input type=\"hidden\" name=\"qformat\"       value=\"lter\"\\>\n";
45 53

  
46
	// last part of LDAP username to be appended after organization
47
	String      LDAP_DOMAIN           = ",dc=ecoinformatics,dc=org";
48

  
49
	// if true, POST variables echoed at bottom of client's browser window in a big yellow box
50
    boolean     DEBUG_TO_BROWSER      = false;
51

  
52

  
53
	String      COMMON_SEARCH_METACAT_POST_FIELDS   =
54
							 "<input type=\"hidden\" name=\"action\"        value=\"query\"\\>\n"
55
              +"<input type=\"hidden\" name=\"qformat\"       value=\"lter\"\\>\n"
56
              +"<input type=\"hidden\" name=\"returnfield\"   value=\"originator/individualName/surName\"\\>\n"
57
              +"<input type=\"hidden\" name=\"returnfield\"   value=\"originator/individualName/givenName\"\\>\n"
58
              +"<input type=\"hidden\" name=\"returnfield\"   value=\"originator/organizationName\"\\>\n"
59
              +"<input type=\"hidden\" name=\"returnfield\"   value=\"creator/individualName/surName\"\\>\n"
60
              +"<input type=\"hidden\" name=\"returnfield\"   value=\"creator/organizationName\"\\>\n"
61
              +"<input type=\"hidden\" name=\"returnfield\"   value=\"dataset/title\"\\>\n"
62
//              +"<input type=\"hidden\" name=\"returnfield\"   value=\"title\"\\>\n"
63
              +"<input type=\"hidden\" name=\"returnfield\"   value=\"keyword\"\\>\n"
64
              +"<input type=\"hidden\" name=\"returndoctype\" value=\"-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN\"\\>\n"
65
              +"<input type=\"hidden\" name=\"returndoctype\" value=\"-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN\"\\>\n"
66
              +"<input type=\"hidden\" name=\"returndoctype\" value=\"eml://ecoinformatics.org/eml-2.0.0\"\\>\n"
67
              +"<input type=\"hidden\" name=\"returndoctype\" value=\"eml://ecoinformatics.org/eml-2.0.1\"\\>\n"
68
              +"<input type=\"hidden\" name=\"returndoctype\" value=\"-//NCEAS//eml-dataset-2.0//EN\"\\>\n"
69
              +"<input type=\"hidden\" name=\"returndoctype\" value=\"-//NCEAS//resource//EN\"\\>\n";
70

  
71
	String      SIMPLE_SEARCH_METACAT_POST_FIELDS   =
72
							  "<input type=\"hidden\" name=\"operator\"      value=\"UNION\"\\>\n"
73
                +COMMON_SEARCH_METACAT_POST_FIELDS;
74

  
75
	String      ADVANCED_SEARCH_METACAT_POST_FIELDS   =
76
							  "<input type=\"hidden\" name=\"operator\"      value=\"INTERSECT\"\\>\n"
77
                +COMMON_SEARCH_METACAT_POST_FIELDS;
78

  
79
/*******************************************************************************/
80
/*******************************************************************************/
81 54
%>

Also available in: Unified diff