63fedc9db6
- cookie-based persistent logins - expanded activity reporting - "top" and "fixed" left menus are now dynamically generated from XML config, not hard coded - error reporting enhanced and protection increased - "About Venice" page first draft - new means of "framing" static content within the Venice "frame" - base page now includes the "footer" itself, "content" pages don't anymore - general cleanup of some heavyweight old containers, replaced with faster Collections framework containers - probably more, there's a LOT of stuff in here
104 lines
4.6 KiB
Plaintext
104 lines
4.6 KiB
Plaintext
<%--
|
|
The contents of this file are subject to the Mozilla Public License Version 1.1
|
|
(the "License"); you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at <http://www.mozilla.org/MPL/>.
|
|
|
|
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT
|
|
WARRANTY OF ANY KIND, either express or implied. See the License for the specific
|
|
language governing rights and limitations under the License.
|
|
|
|
The Original Code is the Venice Web Communities System.
|
|
|
|
The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
|
|
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
|
Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
|
|
|
Contributor(s):
|
|
--%>
|
|
<%@ page import = "java.util.*" %>
|
|
<%@ page import = "com.silverwrist.util.StringUtil" %>
|
|
<%@ page import = "com.silverwrist.venice.core.*" %>
|
|
<%@ page import = "com.silverwrist.venice.servlets.Variables" %>
|
|
<%@ page import = "com.silverwrist.venice.servlets.format.*" %>
|
|
<%
|
|
ConferenceActivity data = ConferenceActivity.retrieve(request);
|
|
Variables.failIfNull(data);
|
|
RenderData rdat = RenderConfig.createRenderData(application,request,response);
|
|
%>
|
|
<%
|
|
if (data.isTopicReport())
|
|
rdat.writeContentHeader(out,(data.isPosterReport() ? "Posters in Topic:"
|
|
: "Readers in Topic:"),
|
|
data.getTopicName() + " in " + data.getConfName());
|
|
else
|
|
rdat.writeContentHeader(out,(data.isPosterReport() ? "Posters in Conference:"
|
|
: "Readers in Conference:"),data.getConfName());
|
|
%>
|
|
<%= rdat.getStdFontTag(null,2) %>
|
|
<A HREF="<%= rdat.getEncodedServletPath("confops?" + data.getLocator() + "&cmd=QR") %>">Return to
|
|
Conference Reports Menu</A>
|
|
</FONT><P>
|
|
|
|
<% if (data.anyElements()) { %>
|
|
<TABLE BORDER=0 ALIGN=CENTER CELLPADDING=0 CELLSPACING=6>
|
|
<TR VALIGN=TOP>
|
|
<TH ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %><B><U>User Name</U></B></FONT></TH>
|
|
<% if (data.isPosterReport()) { %>
|
|
<TH ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %><B><U>Last Posted</U></B></FONT></TH>
|
|
<TH ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %><B><U>Last Read</U></B></FONT></TH>
|
|
<% } else { %>
|
|
<TH ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %><B><U>Last Read</U></B></FONT></TH>
|
|
<TH ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %><B><U>Last Posted</U></B></FONT></TH>
|
|
<% } // end if %>
|
|
</TR>
|
|
<% Iterator it = data.getRecordsIterator(); %>
|
|
<% while (it.hasNext()) { %>
|
|
<% ActiveUser usr = (ActiveUser)(it.next()); %>
|
|
<TR VALIGN=TOP>
|
|
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %>
|
|
<A HREF="<%= rdat.getEncodedServletPath("user/" + usr.getName()) %>" TARGET="_blank"><%= usr.getName() %></A>
|
|
</FONT></TD>
|
|
<% if (data.isPosterReport()) { %>
|
|
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %>
|
|
<%= StringUtil.encodeHTML(rdat.formatDateForDisplay(usr.getLastWrite())) %>
|
|
</FONT></TD>
|
|
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %>
|
|
<% if (usr.getLastRead()==null) { %>
|
|
Never
|
|
<% } else { %>
|
|
<%= StringUtil.encodeHTML(rdat.formatDateForDisplay(usr.getLastRead())) %>
|
|
<% } // end if %>
|
|
</FONT></TD>
|
|
<% } else { %>
|
|
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %>
|
|
<%= StringUtil.encodeHTML(rdat.formatDateForDisplay(usr.getLastRead())) %>
|
|
</FONT></TD>
|
|
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %>
|
|
<% if (usr.getLastWrite()==null) { %>
|
|
Never
|
|
<% } else { %>
|
|
<%= StringUtil.encodeHTML(rdat.formatDateForDisplay(usr.getLastWrite())) %>
|
|
<% } // end if %>
|
|
</FONT></TD>
|
|
<% } // end if %>
|
|
</TR>
|
|
<% } // end while %>
|
|
</TABLE>
|
|
<% } else { %>
|
|
<%= rdat.getStdFontTag(null,2) %><EM>
|
|
<% if (data.isTopicReport()) { %>
|
|
<% if (data.isPosterReport()) { %>
|
|
No posters to topic "<%= data.getTopicName() %>" found.
|
|
<% } else { %>
|
|
No readers of topic "<%= data.getTopicName() %>" found.
|
|
<% } // end if %>
|
|
<% } else { %>
|
|
<% if (data.isPosterReport()) { %>
|
|
No posters to conference "<%= StringUtil.encodeHTML(data.getConfName()) %>" found.
|
|
<% } else { %>
|
|
No readers of conference "<%= StringUtil.encodeHTML(data.getConfName()) %>" found.
|
|
<% } // end if %>
|
|
<% } // end if %>
|
|
</EM></FONT>
|
|
<% } // end if %>
|