Project

General

Profile

« Previous | Next » 

Revision 3780

Added by daigle about 16 years ago

Changes to remove ANT tokens for the turnkey install project

View differences:

common-settings.jsp
1 1
<%@ page errorPage="jsperrorpage.html" %>
2
<!--
2
<%@page import="edu.ucsb.nceas.metacat.MetaCatUtil"%>
3
<%
4
 /**
3 5
  *   '$RCSfile$'
4 6
  *   Copyright: 2006 Regents of the University of California and the
5 7
  *              National Center for Ecological Analysis and Synthesis
......
21 23
  * You should have received a copy of the GNU General Public License
22 24
  * along with this program; if not, write to the Free Software
23 25
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
24
-->
26
  */
27
%>
28

  
25 29
<% 
26 30

  
27 31
// GLOBAL CONSTANTS FOR ALL METACAT SKINS
......
47 51
    +"<input type=\"hidden\" name=\"returndoctype\" value=\"eml://ecoinformatics.org/eml-2.0.0\"\\>\n"
48 52
    +"<input type=\"hidden\" name=\"returndoctype\" value=\"-//NCEAS//eml-dataset-2.0//EN\"\\>\n"
49 53
    +"<input type=\"hidden\" name=\"returndoctype\" value=\"-//NCEAS//resource//EN\"\\>\n";
54
    
55
    
50 56

  
51 57
String SIMPLE_SEARCH_METACAT_POST_FIELDS   =
52 58
    "<input type=\"hidden\" name=\"operator\"      value=\"UNION\"\\>\n"
......
55 61
String ADVANCED_SEARCH_METACAT_POST_FIELDS   =
56 62
    "<input type=\"hidden\" name=\"operator\"      value=\"INTERSECT\"\\>\n"
57 63
    +COMMON_SEARCH_METACAT_POST_FIELDS;
64

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

  
68
// label for logout form button when user *is* logged in:
69
String      LOGOUT_LABEL          = "Logout";
70

  
71
// label for login form button when user is *not* logged in:
72
String      LOGIN_LABEL           = "Login";
73

  
74
// last part of LDAP username to be appended after organization
75
String      LDAP_DOMAIN           = ",dc=ecoinformatics,dc=org";
76

  
77
String      KNB_SITE_URL            = MetaCatUtil.getOption("knbSiteURL");
78
String      SERVER_URL              = MetaCatUtil.getOption("httpserver");
79
String      CONTEXT_NAME            = MetaCatUtil.getOption("context"); 
80
String      DEFAULT_STYLE           = MetaCatUtil.getOption("default-style");
81
String      CGI_URL                 = SERVER_URL + "/cgi-bin";
82
String      SERVER_URL_WITH_CONTEXT = SERVER_URL + "/" + CONTEXT_NAME;
83
String      SERVLET_URL             = SERVER_URL_WITH_CONTEXT + "/metacat";
84
String      STYLE_SKINS_URL         = SERVER_URL_WITH_CONTEXT + "/style/skins";
85
String      STYLE_COMMON_URL        = SERVER_URL_WITH_CONTEXT + "/style/common";
86
String      DEFAULT_STYLE_URL       = SERVER_URL_WITH_CONTEXT + "/style/skins/" + DEFAULT_STYLE;
58 87
%>
88

  

Also available in: Unified diff