conf/conferences.js.vs?<%= base_locator %>
conf/new_topic.js.vs?<%= base_locator %>
<% final String rnew = (String)(view.getRequestAttribute("conference.readnew")); %>
<% if (rnew!=null) { %>
<%= rnew %>
<% } // end if %>
conf/find.js.vs?<%= base_locator %>
conf/manage_conf.js.vs?<%= base_locator %>
conf/add_to_hotlist.js.vs?<%= base_locator %>
<% out.flush(); response.flushBuffer(); %>
<% final List topics = (List)(view.getRequestAttribute("topics.list")); %>
<% if (topics.size()>0) { %>
conf/topics.js.vs?<%= base_locator %>&sort=<%= ((sort_opt==SORT_NUMBER) ? -SORT_NUMBER : SORT_NUMBER) %>
#
|
conf/topics.js.vs?<%= base_locator %>&sort=<%= ((sort_opt==SORT_NAME) ? -SORT_NAME : SORT_NAME) %>
Topic Name
|
conf/topics.js.vs?<%= base_locator %>&sort=<%= ((sort_opt==SORT_UNREAD) ? -SORT_UNREAD : SORT_UNREAD) %>
New
|
conf/topics.js.vs?<%= base_locator %>&sort=<%= ((sort_opt==SORT_TOTAL) ? -SORT_TOTAL : SORT_TOTAL) %>
Total
|
conf/topics.js.vs?<%= base_locator %>&sort=<%= ((sort_opt==SORT_DATE) ? -SORT_DATE : SORT_DATE) %>
Last Response
|
<% out.flush(); response.flushBuffer(); %>
|
<%
Iterator it = topics.iterator();
while (it.hasNext()) {
TopicContext topic = (TopicContext)(it.next());
short num = topic.getTopicNumber();
String my_locator = base_locator + "&top=" + num;
%>
conf/posts.js.vs?<%= my_locator %>&rnm=1
<%= num %>
|
conf/posts.js.vs?<%= my_locator %>&rnm=1
<%= topic.getName() %>
<% if (topic.isArchived() && (view_opt!=DISPLAY_ARCHIVED)) { %>
(archived)
<% } else if (topic.isFrozen()) { %>
(frozen)
<% } // end if %>
|
conf/posts.js.vs?<%= my_locator %>&rnm=1
<%= topic.getUnreadMessages() %>
|
conf/posts.js.vs?<%= my_locator %>&p1=0&p2=-1
<%= topic.getTotalMessages() %>
|
conf/posts.js.vs?<%= my_locator %>&rnm=1
<%= view.formatDate(topic.getLastUpdateDate()) %>
|
<%
out.flush();
response.flushBuffer();
} // end while (more topics in enumeration)
%>
<% } else { %>
<%
switch (view_opt)
{
case DISPLAY_NEW:
out.write("No topics with unread messages found.");
break;
case DISPLAY_ACTIVE:
case DISPLAY_ALL:
out.write("No active topics found.");
break;
case DISPLAY_HIDDEN:
out.write("No hidden topics found.");
break;
case DISPLAY_ARCHIVED:
out.write("No archived topics found.");
break;
default:
out.write("Invalid display option selected.");
break;
} // end switch
%>
<% } // end if %>
<% out.flush(); response.flushBuffer(); %>
[
<% if (view_opt==DISPLAY_NEW) { %>
New
<% } else { %>
conf/topics.js.vs?<%= base_locator %>&view=<%= DISPLAY_NEW %>
New
<% } // end if %>
|
<% if (view_opt==DISPLAY_ACTIVE) { %>
Active
<% } else { %>
conf/topics.js.vs?<%= base_locator %>&view=<%= DISPLAY_ACTIVE %>
Active
<% } // end if %>
|
<% if (view_opt==DISPLAY_ALL) { %>
All
<% } else { %>
conf/topics.js.vs?<%= base_locator %>&view=<%= DISPLAY_ALL %>
All
<% } // end if %>
|
<% if (view_opt==DISPLAY_HIDDEN) { %>
Hidden
<% } else { %>
conf/topics.js.vs?<%= base_locator %>&view=<%= DISPLAY_HIDDEN %>
Hidden
<% } // end if %>
|
<% if (view_opt==DISPLAY_ARCHIVED) { %>
Archived
<% } else { %>
conf/topics.js.vs?<%= base_locator %>&view=<%= DISPLAY_ARCHIVED %>
Archived
<% } // end if %>
]
<%= view.getRequestAttribute("conference.custom.bottom").toString() %>