2001-02-18 19:56:16 -07:00
|
|
|
<%--
|
|
|
|
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.*" %>
|
|
|
|
<%
|
|
|
|
Hotlist data = Hotlist.retrieve(request);
|
|
|
|
Variables.failIfNull(data);
|
|
|
|
RenderData rdat = RenderConfig.createRenderData(application,request,response);
|
2001-04-24 23:34:58 -06:00
|
|
|
String stdfont = rdat.getStdFontTag(null,2);
|
2001-02-18 19:56:16 -07:00
|
|
|
%>
|
|
|
|
<% if (rdat.useHTMLComments()) { %><!-- User conference hotlist --><% } %>
|
|
|
|
<% rdat.writeContentHeader(out,"Your Conference Hotlist",null); %>
|
2001-04-24 23:34:58 -06:00
|
|
|
<%= stdfont %><A HREF="<%= rdat.getEncodedServletPath("top") %>">Return to Front Page</A></FONT><P>
|
2001-02-18 19:56:16 -07:00
|
|
|
<% if (data.getHotlistSize()>0) { %>
|
2001-04-24 23:34:58 -06:00
|
|
|
<TABLE BORDER=0 ALIGN=CENTER CELLPADDING=0 CELLSPACING=3>
|
2001-02-18 19:56:16 -07:00
|
|
|
<% for (int i=0; i<data.getHotlistSize(); i++) { %>
|
|
|
|
<%
|
|
|
|
ConferenceContext conf = data.getConference(i);
|
|
|
|
String partial = "settings?sig=" + conf.getEnclosingSIG().getSIGID() + "&conf=" + conf.getConfID();
|
|
|
|
%>
|
2001-04-24 23:34:58 -06:00
|
|
|
<TR VALIGN=MIDDLE>
|
2001-02-18 19:56:16 -07:00
|
|
|
<TD ALIGN=CENTER WIDTH=16>
|
|
|
|
<% if (i==(data.getHotlistSize()-1)) { %> <% } else { %>
|
|
|
|
<A HREF="<%= rdat.getEncodedServletPath(partial + "&cmd=HD") %>"><IMG
|
2001-04-24 23:34:58 -06:00
|
|
|
SRC="<%= rdat.getFullImagePath("icn_down.gif") %>" ALT="[Down]" BORDER=0 WIDTH=16
|
2001-02-18 19:56:16 -07:00
|
|
|
HEIGHT=16></A>
|
|
|
|
<% } // end if %>
|
|
|
|
</TD>
|
|
|
|
<TD ALIGN=CENTER WIDTH=16>
|
|
|
|
<% if (i==0) { %> <% } else { %>
|
|
|
|
<A HREF="<%= rdat.getEncodedServletPath(partial + "&cmd=HU") %>"><IMG
|
2001-04-24 23:34:58 -06:00
|
|
|
SRC="<%= rdat.getFullImagePath("icn_up.gif") %>" ALT="[Up]" BORDER=0 WIDTH=16
|
2001-02-18 19:56:16 -07:00
|
|
|
HEIGHT=16></A>
|
|
|
|
<% } // end if %>
|
|
|
|
</TD>
|
|
|
|
<TD ALIGN=CENTER WIDTH=16>
|
|
|
|
<A HREF="<%= rdat.getEncodedServletPath(partial + "&cmd=HX") %>"><IMG
|
2001-04-24 23:34:58 -06:00
|
|
|
SRC="<%= rdat.getFullImagePath("icn_x.gif") %>" ALT="[Remove]" BORDER=0 WIDTH=16
|
2001-02-18 19:56:16 -07:00
|
|
|
HEIGHT=16></A>
|
|
|
|
</TD>
|
2001-04-24 23:34:58 -06:00
|
|
|
<TD ALIGN=LEFT><%= stdfont %>
|
|
|
|
<B><%= StringUtil.encodeHTML(conf.getName()) %></B>
|
2001-02-18 19:56:16 -07:00
|
|
|
(<%= StringUtil.encodeHTML(conf.getEnclosingSIG().getName()) %>)
|
|
|
|
</FONT></TD>
|
|
|
|
</TR>
|
|
|
|
<% } // end for %>
|
|
|
|
</TABLE><P>
|
|
|
|
<TABLE BORDER=0 CELLPADDING=2 CELLSPACING=0>
|
2001-04-24 23:34:58 -06:00
|
|
|
<TR VALIGN=MIDDLE>
|
2001-02-18 19:56:16 -07:00
|
|
|
<TD ALIGN=CENTER WIDTH=16>
|
2001-04-24 23:34:58 -06:00
|
|
|
<IMG SRC="<%= rdat.getFullImagePath("icn_down.gif") %>" ALT="[Down]" BORDER=0 WIDTH=16 HEIGHT=16>
|
2001-02-18 19:56:16 -07:00
|
|
|
</TD>
|
2001-04-24 23:34:58 -06:00
|
|
|
<TD ALIGN=LEFT><%= stdfont %>
|
2001-02-18 19:56:16 -07:00
|
|
|
Click this symbol to move the specified conference down in your hotlist.
|
|
|
|
</FONT></TD>
|
|
|
|
</TR>
|
2001-04-24 23:34:58 -06:00
|
|
|
<TR VALIGN=MIDDLE>
|
2001-02-18 19:56:16 -07:00
|
|
|
<TD ALIGN=CENTER WIDTH=16>
|
2001-04-24 23:34:58 -06:00
|
|
|
<IMG SRC="<%= rdat.getFullImagePath("icn_up.gif") %>" ALT="[Up]" BORDER=0 WIDTH=16 HEIGHT=16>
|
2001-02-18 19:56:16 -07:00
|
|
|
</TD>
|
2001-04-24 23:34:58 -06:00
|
|
|
<TD ALIGN=LEFT><%= stdfont %>
|
2001-02-18 19:56:16 -07:00
|
|
|
Click this symbol to move the specified conference up in your hotlist.
|
|
|
|
</FONT></TD>
|
|
|
|
</TR>
|
2001-04-24 23:34:58 -06:00
|
|
|
<TR VALIGN=MIDDLE>
|
2001-02-18 19:56:16 -07:00
|
|
|
<TD ALIGN=CENTER WIDTH=16>
|
2001-04-24 23:34:58 -06:00
|
|
|
<IMG SRC="<%= rdat.getFullImagePath("icn_x.gif") %>" ALT="[Remove]" BORDER=0 WIDTH=16 HEIGHT=16>
|
2001-02-18 19:56:16 -07:00
|
|
|
</TD>
|
2001-04-24 23:34:58 -06:00
|
|
|
<TD ALIGN=LEFT><%= stdfont %>
|
2001-02-18 19:56:16 -07:00
|
|
|
Click this symbol to remove the specified conference from your hotlist.
|
|
|
|
</FONT></TD>
|
|
|
|
</TR>
|
|
|
|
</TABLE>
|
|
|
|
<% } else { %>
|
2001-04-24 23:34:58 -06:00
|
|
|
<%= stdfont %><EM>
|
2001-02-18 19:56:16 -07:00
|
|
|
You have no conferences in your conference hotlist. You can add conferences to your hotlist
|
|
|
|
by visiting the conferences and pressing the "Add to Hotlist" button.
|
|
|
|
</EM></FONT>
|
|
|
|
<% } // end if %>
|