Project

General

Profile

« Previous | Next » 

Revision 4348

Added by daigle over 15 years ago

Remove ant tokens

View differences:

portal_settings.jsp
28 28
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
29 29
  */
30 30
%>
31

  
32
<%@ include file="../../../../common/common-settings.jsp"%>
33
<%@ include file="../../../../common/configure-check.jsp"%>
34

  
31 35
<% 
32 36

  
33 37
// GLOBAL CONSTANTS FOR KNB PORTAL PAGE /////////////////////////////////////
34 38

  
35
  // URL of metacat to be used for login & searching:
36
//  String      METACAT_URL           = "http://knb.ecoinformatics.org/knb/servlet/metacat";
37
    String      METACAT_URL           = "@systemidserver@@servlet-path@";
38

  
39 39
  // default title for :
40 40
  String      DEFAULT_PORTALHEAD_TITLE = "NEW Biocomplexity Data Search";
41 41
  
42
  // label for logout form button when user *is* logged in:
43
  String      LOGOUT_LABEL          = "logout";
44
  
45
  // label for login form button when user is *not* logged in:
46
  String      LOGIN_LABEL           = "login";
47
  
48
  // last part of LDAP username to be appended after organization
49
  String      LDAP_DOMAIN           = ",dc=ecoinformatics,dc=org";
50
  
51 42
  // if true, POST variables echoed at bottom of client's browser window in a big yellow box
52
    boolean     DEBUG_TO_BROWSER      = false;
43
  // Set this value to override the global value
44
  //  boolean     DEBUG_TO_BROWSER      = false;
53 45
  
54
    String      COMMON_SEARCH_METACAT_POST_FIELDS   =
55
               "<input type=\"hidden\" name=\"action\"        value=\"query\"\\>\n"
56
              +"<input type=\"hidden\" name=\"qformat\"       value=\"sbclter\"\\>\n"
57
              +"<input type=\"hidden\" name=\"returnfield\"   value=\"creator/individualName/surName\"\\>\n"
58
              +"<input type=\"hidden\" name=\"returnfield\"   value=\"creator/organizationName\"\\>\n"
59
              +"<input type=\"hidden\" name=\"returnfield\"   value=\"dataset/title\"\\>\n"
60
//              +"<input type=\"hidden\" name=\"returnfield\"   value=\"title\"\\>\n"
61
              +"<input type=\"hidden\" name=\"returnfield\"   value=\"keyword\"\\>\n"
62
              +"<input type=\"hidden\" name=\"returnfield\"   value=\"dataset/dataTable/distribution/online/url\"\\>\n"
63
              +"<input type=\"hidden\" name=\"returnfield\"   value=\"dataset/dataTable/distribution/inline\"\\>\n"
64
              +"<input type=\"hidden\" name=\"returndoctype\" value=\"eml://ecoinformatics.org/eml-2.0.0\"\\>\n";
65

  
66
  String      SIMPLE_SEARCH_METACAT_POST_FIELDS   =
67
                "<input type=\"hidden\" name=\"operator\"      value=\"UNION\"\\>\n"
68
                +COMMON_SEARCH_METACAT_POST_FIELDS;
69

  
70
  String      ADVANCED_SEARCH_METACAT_POST_FIELDS   =
71
                "<input type=\"hidden\" name=\"operator\"      value=\"INTERSECT\"\\>\n"
72
                +COMMON_SEARCH_METACAT_POST_FIELDS;
73
                              
74
/*******************************************************************************/
75
/*******************************************************************************/
46
  // Add any local post fields to COMMON_SEARCH_METACAT_POST_FIELDS, 
47
  // SIMPLE_SEARCH_METACAT_POST_FIELDS, and ADVANCED_SEARCH_METACAT_POST_FIELD here
48
  String      COMMON_SEARCH_METACAT_POST_FIELDS  +=
49
              + "<input type=\"hidden\" name=\"qformat\"       value=\"sbclter\"\\>\n"
50
              + "<input type=\"hidden\" name=\"returnfield\"   value=\"dataset/dataTable/distribution/online/url\"\\>\n"
51
              + "<input type=\"hidden\" name=\"returnfield\"   value=\"dataset/dataTable/distribution/inline\"\\>\n";
52
                            
76 53
%>

Also available in: Unified diff