%@ page errorPage="jsperrorpage.html"%>
<%@page import="edu.ucsb.nceas.metacat.properties.PropertyService,edu.ucsb.nceas.metacat.util.SystemUtil"%>
<%
/**
* '$RCSfile$'
* Copyright: 2006 Regents of the University of California and the
* National Center for Ecological Analysis and Synthesis
*
* '$Author$'
* '$Date$'
* '$Revision$'
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
%>
<%
// GLOBAL CONSTANTS FOR ALL METACAT SKINS
// These can be overridden by individual javascripts in each skin
String COMMON_SEARCH_METACAT_POST_FIELDS = "\n"
+ "\n"
+ "\n"
+ "\n"
+ "\n"
+ "\n"
+ "\n"
+ "\n"
+ "\n"
+ "\n"
+ "\n"
+ "\n"
+ "\n"
+ "\n"
+ "\n"
+ "\n"
+ "\n"
+ "\n"
+ "\n"
+ "\n"
+ "\n"
+ "\n"
+ "\n";
String SIMPLE_SEARCH_METACAT_POST_FIELDS = "\n"
+ COMMON_SEARCH_METACAT_POST_FIELDS;
String ADVANCED_SEARCH_METACAT_POST_FIELDS = "\n"
+ COMMON_SEARCH_METACAT_POST_FIELDS;
// if true, POST variables echoed at bottom of client's browser window in a big yellow box
boolean DEBUG_TO_BROWSER = false;
// label for logout form button when user *is* logged in:
String LOGOUT_LABEL = "Logout";
// label for login form button when user is *not* logged in:
String LOGIN_LABEL = "Login";
// last part of LDAP username to be appended after organization
String LDAP_DOMAIN = ",dc=ecoinformatics,dc=org";
String KNB_SITE_URL = PropertyService.getProperty("application.knbSiteURL");
String CONTEXT_NAME = PropertyService.getProperty("application.context");
String DEFAULT_STYLE = PropertyService.getProperty("application.default-style");
String SERVER_URL = SystemUtil.getServerURL();
String CGI_URL = SystemUtil.getCGI_URL();
String CONTEXT_URL = SystemUtil.getContextURL();
String SERVLET_URL = SystemUtil.getServletURL();
String STYLE_SKINS_URL = SystemUtil.getStyleSkinsURL();
String STYLE_COMMON_URL = SystemUtil.getStyleCommonURL();
String DEFAULT_STYLE_URL = SystemUtil.getDefaultStyleURL();
String USER_MANAGEMENT_URL = SystemUtil.getUserManagementUrl();
%>