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
<%@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
-->
1
<%@ page    language="java" %>
29 2
<%
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;
3
/*
4
 *   '$RCSfile$'
5
 *     Authors: Matthew Brooke
6
 *   Copyright: 2000 Regents of the University of California and the
7
 *              National Center for Ecological Analysis and Synthesis
8
 * For Details: http://www.nceas.ucsb.edu/
9
 *
10
 *    '$Author$'
11
 *      '$Date$'
12
 *  '$Revision$'
13
 *
14
 * Settings file for the default metacat skin
15
 *
16
 * This program is free software; you can redistribute it and/or modify
17
 * it under the terms of the GNU General Public License as published by
18
 * the Free Software Foundation; either version 2 of the License, or
19
 * (at your option) any later version.
20
 *
21
 * This program is distributed in the hope that it will be useful,
22
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24
 * GNU General Public License for more details.
25
 *
26
 * You should have received a copy of the GNU General Public License
27
 * along with this program; if not, write to the Free Software
28
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
29
 */
30
 %>
40 31

  
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");
32
<%@ include file="../../common/common-settings.jsp"%>
46 33

  
34
<% 
35

  
36
// if true, POST variables echoed at bottom of client's browser window in a big yellow box
37
// Set this value to override the global value
38
// boolean     DEBUG_TO_BROWSER      = false;
39

  
40
// Add any local post fields to COMMON_SEARCH_METACAT_POST_FIELDS, 
41
// SIMPLE_SEARCH_METACAT_POST_FIELDS, and ADVANCED_SEARCH_METACAT_POST_FIELD here
42

  
43
// COMMON_SEARCH_METACAT_POST_FIELDS  +=
44
// SIMPLE_SEARCH_METACAT_POST_FIELDS  +=
45
// ADVANCED_SEARCH_METACAT_POST_FIELD +=
46

  
47 47
%>

Also available in: Unified diff