/**
* $RCSfile: setup2.jsp,v $
* $Revision: 1.1.1.1 $
* $Date: 2002/09/09 13:50:31 $
*
* Copyright (C) 1999-2001 CoolServlets, Inc. All rights reserved.
*
* This software is the proprietary information of CoolServlets, Inc.
* Use is subject to license terms.
*/
%>
java.util.*,
java.lang.reflect.*,
com.jivesoftware.forum.*,
com.jivesoftware.forum.util.*"
%>
Locale locale = JiveGlobals.getLocale();
// Set the JSP page to use the Jive locale
response.setLocale(locale);
// Load the appropriate resource bundle to display the page.
ResourceBundle bundle = SkinUtils.getResourceBundle("skin_admin_setup", locale);
// Set the locale
String language = ParamUtils.getParameter(request,"language");
if (language != null) {
if ("English".equals(language)) {
JiveGlobals.setLocale(Locale.US);
}
else if ("French".equals(language)) {
JiveGlobals.setLocale(Locale.FRENCH);
}
// mark this section as finished
session.setAttribute("sidebar.1.light", GREEN);
response.sendRedirect("setup3.jsp");
return;
}
%>
session.setAttribute("sidebar.1.active", new Boolean(true));
if (!GREEN.equals(getSessionString(session,"sidebar.1.light"))) {
session.setAttribute("sidebar.1.light", YELLOW);
}
%>
English
(More languages to come)
Français
(Chinese)
--%>