<%@ page contentType="text/html;charset=GBK" %>
<%
/**
 *	$RCSfile: thread.jsp,v $
 *	$Revision: 1.2 $
 *	$Date: 2002/09/26 03:52:18 $
 */
%>

<%@ page import="java.util.*,
                 com.jivesoftware.forum.*,
                 com.jivesoftware.forum.util.*"
    errorPage="error.jsp"
%>

<%@ include file="global.jsp" %>

<%  // Indicate if we show the list of messages as a threaded list
	boolean showThreaded = "threaded".equals(JiveGlobals.getJiveProperty("skin.default.threadMode"));
%>

<%-- dynamic include here --%>
<%  // Show a threaded view
    if (showThreaded) { %>

    <jsp:include page="threadMode1.jsp" flush="true" />

<%  }
    // Show a flat view
    else { %>

    <jsp:include page="threadMode2.jsp" flush="true" />

<%  } %>