jive Study

源代码在线查看: setup2.jsp

软件大小: 5534 K
上传用户: dhgagfdagfdsdgf
关键词: Study jive
下载地址: 免注册下载 普通下载 VIP

相关代码

								/**
				 * $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)
				    
				    --%>
				    
				    
				    
				    
				    
				    
				    
				    
				    
				
				
				
				
				
				
				
							

相关资源