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.*" %>
|
|
|
|
<%
|
2001-11-07 01:43:09 -07:00
|
|
|
UserCommunityList data = UserCommunityList.retrieve(request);
|
2001-02-18 19:56:16 -07:00
|
|
|
Variables.failIfNull(data);
|
|
|
|
RenderData rdat = RenderConfig.createRenderData(application,request,response);
|
|
|
|
%>
|
|
|
|
<% if (rdat.useHTMLComments()) { %><!-- User conference hotlist --><% } %>
|
2001-11-07 01:43:09 -07:00
|
|
|
<% rdat.writeContentHeader(out,"Your Communities",null); %>
|
2001-10-22 16:11:58 -06:00
|
|
|
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
|
2001-02-18 19:56:16 -07:00
|
|
|
<A HREF="<%= rdat.getEncodedServletPath("top") %>">Return to Front Page</A>
|
|
|
|
</FONT><P>
|
2001-11-07 01:43:09 -07:00
|
|
|
<% if (data.getNumCommunities()>0) { %>
|
2001-02-18 19:56:16 -07:00
|
|
|
<TABLE BORDER=0 ALIGN=CENTER CELLPADDING=0 CELLSPACING=2>
|
2001-11-07 01:43:09 -07:00
|
|
|
<% for (int i=0; i<data.getNumCommunities(); i++) { %>
|
|
|
|
<% CommunityContext comm = data.getCommunity(i); %>
|
2001-02-18 19:56:16 -07:00
|
|
|
<TR>
|
|
|
|
<TD ALIGN=CENTER WIDTH=16>
|
2001-11-07 01:43:09 -07:00
|
|
|
<% if (comm.canUnjoin()) { %>
|
|
|
|
<A HREF="<%= rdat.getEncodedServletPath("settings?cmd=SX&sig=" + comm.getCommunityID()) %>"><IMG
|
|
|
|
SRC="<%= rdat.getFullImagePath("icn_x.gif") %>" ALT="Unjoin" BORDER=0 WIDTH=16
|
2001-02-18 19:56:16 -07:00
|
|
|
HEIGHT=16></A>
|
|
|
|
<% } else { %> <% } %>
|
|
|
|
</TD>
|
2001-10-30 19:13:02 -07:00
|
|
|
<TD ALIGN=LEFT CLASS="content"><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
|
2001-11-07 01:43:09 -07:00
|
|
|
<A HREF="<%= rdat.getEncodedServletPath("sig/" + comm.getAlias()) %>"><%= StringUtil.encodeHTML(comm.getName()) %></A>
|
2001-02-18 19:56:16 -07:00
|
|
|
</FONT></TD>
|
|
|
|
</TR>
|
|
|
|
<% } // end for %>
|
|
|
|
</TABLE><P>
|
|
|
|
|
|
|
|
<TABLE BORDER=0 CELLPADDING=2 CELLSPACING=0>
|
|
|
|
<TR VALIGN=TOP>
|
|
|
|
<TD ALIGN=CENTER WIDTH=16>
|
2001-11-07 01:43:09 -07:00
|
|
|
<IMG SRC="<%= rdat.getFullImagePath("icn_x.gif") %>" ALT="Unjoin" BORDER=0 WIDTH=16 HEIGHT=16>
|
2001-02-18 19:56:16 -07:00
|
|
|
</TD>
|
2001-10-30 19:13:02 -07:00
|
|
|
<TD ALIGN=LEFT CLASS="content"><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
|
2001-11-07 01:43:09 -07:00
|
|
|
Click this symbol to unjoin the specified community.
|
2001-02-18 19:56:16 -07:00
|
|
|
</FONT></TD>
|
|
|
|
</TR>
|
|
|
|
</TABLE>
|
|
|
|
<% } else { %>
|
2001-10-22 16:11:58 -06:00
|
|
|
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><EM>You are not a member of
|
2001-11-07 01:43:09 -07:00
|
|
|
any communities.</EM></FONT>
|
2001-02-18 19:56:16 -07:00
|
|
|
<% } // end if %>
|