1
|
<%@ page language="java" %>
|
2
|
<%
|
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: daigle $'
|
11
|
* '$Date: 2008-04-02 16:28:31 -0700 (Wed, 02 Apr 2008) $'
|
12
|
* '$Revision: 3780 $'
|
13
|
*
|
14
|
* Settings file for KNB portal
|
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
|
%>
|
31
|
|
32
|
<%@ include file="../../common/common-settings.jsp"%>
|
33
|
|
34
|
<%
|
35
|
//Global settings for metacat are in common-settings.jsp. Use this file to
|
36
|
//override or add to global values for this skin.
|
37
|
|
38
|
// default title for :
|
39
|
String DEFAULT_PORTALHEAD_TITLE = "NEW Biocomplexity Data Search";
|
40
|
|
41
|
// if true, POST variables echoed at bottom of client's browser window in a big yellow box
|
42
|
// Set this value to override the global value
|
43
|
//boolean DEBUG_TO_BROWSER = false;
|
44
|
|
45
|
//version number to be displayed for latest morpho distribution
|
46
|
String MORPHO_VERSION_NUMBER = "1.5.1";
|
47
|
|
48
|
// site-root-relative uri's for download morpho links for 3 target OS's. Note that
|
49
|
// these should be the distributions that INCLUDE THE JAVA VM (except for the MacOSX
|
50
|
// version, since Mac OSX ships with a JRE)
|
51
|
String MORPHO_DOWNLOAD_LINK_WINDOWS = "software/dist/morpho-" + MORPHO_VERSION_NUMBER + "-jre.exe";
|
52
|
String MORPHO_DOWNLOAD_LINK_MACOSX = "software/dist/morpho-" + MORPHO_VERSION_NUMBER + "-MACOSX.zip";
|
53
|
String MORPHO_DOWNLOAD_LINK_LINUX = "software/dist/morpho-" + MORPHO_VERSION_NUMBER + "-jre.sh";
|
54
|
|
55
|
// site-root-relative uri's for download morpho links for 3 target OS's. Note that
|
56
|
// these should be the distributions that DO NOT INCLUDE THE JAVA VM
|
57
|
String MORPHO_DOWNLOAD_LINK_WINDOWS_NO_JRE = "software/dist/morpho-" + MORPHO_VERSION_NUMBER + ".exe";
|
58
|
String MORPHO_DOWNLOAD_LINK_LINUX_NO_JRE = "software/dist/morpho-" + MORPHO_VERSION_NUMBER + ".sh";
|
59
|
|
60
|
// site-root-relative uri's for download morpho zip & gzip links for binaries and source
|
61
|
String MORPHO_DOWNLOAD_LINK_ZIP = "software/dist/morpho-" + MORPHO_VERSION_NUMBER + ".zip";
|
62
|
String MORPHO_DOWNLOAD_LINK_GZIP = "software/dist/morpho-" + MORPHO_VERSION_NUMBER + ".tar.gz";
|
63
|
String MORPHO_DOWNLOAD_LINK_ZIP_SRC = "software/dist/morpho-src-" + MORPHO_VERSION_NUMBER + ".zip";
|
64
|
String MORPHO_DOWNLOAD_LINK_GZIP_SRC = "software/dist/morpho-src-" + MORPHO_VERSION_NUMBER + ".tar.gz";
|
65
|
|
66
|
String MORPHO_CHANGE_LOG_LINK = "software/morpho/README.txt";
|
67
|
|
68
|
String MORPHO_DOWNLOAD_LINK_MAC_OS9 = "software/dist/morpho-1.1.2-jre.bin";
|
69
|
String MORPHO_DOWNLOAD_LINK_MAC_OS9_NO_JRE = "software/dist/morpho-1.1.2.bin";
|
70
|
String MORPHO_DOWNLOAD_LINK_OLD_VERSIONS = "software/dist/";
|
71
|
|
72
|
// Add any local post fields to COMMON_SEARCH_METACAT_POST_FIELDS,
|
73
|
// SIMPLE_SEARCH_METACAT_POST_FIELDS, and ADVANCED_SEARCH_METACAT_POST_FIELD here
|
74
|
COMMON_SEARCH_METACAT_POST_FIELDS +=
|
75
|
"<input type=\"hidden\" name=\"qformat\" value=\"knb2\"\\>\n"
|
76
|
+"<input type=\"hidden\" name=\"returnfield\" value=\"dataset/dataTable/distribution/online/url\"\\>\n"
|
77
|
+"<input type=\"hidden\" name=\"returnfield\" value=\"dataset/dataTable/distribution/inline\"\\>\n";
|
78
|
|
79
|
SIMPLE_SEARCH_METACAT_POST_FIELDS +=
|
80
|
"<input type=\"hidden\" name=\"qformat\" value=\"knb2\"\\>\n"
|
81
|
+"<input type=\"hidden\" name=\"returnfield\" value=\"dataset/dataTable/distribution/online/url\"\\>\n"
|
82
|
+"<input type=\"hidden\" name=\"returnfield\" value=\"dataset/dataTable/distribution/inline\"\\>\n";
|
83
|
|
84
|
ADVANCED_SEARCH_METACAT_POST_FIELDS +=
|
85
|
"<input type=\"hidden\" name=\"qformat\" value=\"knb2\"\\>\n"
|
86
|
+"<input type=\"hidden\" name=\"returnfield\" value=\"dataset/dataTable/distribution/online/url\"\\>\n"
|
87
|
+"<input type=\"hidden\" name=\"returnfield\" value=\"dataset/dataTable/distribution/inline\"\\>\n";
|
88
|
|
89
|
%>
|