THE GREAT RENAMING! All that was "SIG" should now be "community," except for

the database and the URLs (for backward compatibility).  Do a full rebuild
after browsing this one!
This commit is contained in:
Eric J. Bowersox
2001-11-07 08:43:09 +00:00
parent fe352efbd1
commit dde12bdf2e
131 changed files with 2573 additions and 2503 deletions

View File

@@ -30,7 +30,7 @@
Your attachment may be no more than <B>1 megabyte</B> in size.<P>
<FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="<%= rdat.getEncodedServletPath("attachment") %>">
<DIV CLASS="content">
<INPUT TYPE=HIDDEN NAME="sig" VALUE="<%= data.getSIGID() %>">
<INPUT TYPE=HIDDEN NAME="sig" VALUE="<%= data.getCommunityID() %>">
<INPUT TYPE=HIDDEN NAME="conf" VALUE="<%= data.getConfID() %>">
<INPUT TYPE=HIDDEN NAME="msg" VALUE="<%= data.getPostID() %>">
<INPUT TYPE=HIDDEN NAME="target" VALUE="<%= data.getTarget() %>">

View File

@@ -21,19 +21,19 @@
<%@ page import = "com.silverwrist.venice.servlets.Variables" %>
<%@ page import = "com.silverwrist.venice.servlets.format.*" %>
<%
SIGMembership data = SIGMembership.retrieve(request);
CommunityMembership data = CommunityMembership.retrieve(request);
Variables.failIfNull(data);
RenderData rdat = RenderConfig.createRenderData(application,request,response);
%>
<% rdat.writeContentHeader(out,"Set SIG Membership:",data.getSIGName()); %>
<% rdat.writeContentHeader(out,"Set Community Membership:",data.getCommunityName()); %>
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<A HREF="<%= rdat.getEncodedServletPath("sigadmin?sig=" + data.getSIGID()) %>">Return to SIG
<A HREF="<%= rdat.getEncodedServletPath("sigadmin?sig=" + data.getCommunityID()) %>">Return to Community
Administration Menu</A>
</FONT><P>
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,3) %><B>Find Users:</B></FONT><P>
<FORM METHOD="POST" ACTION="<%= rdat.getEncodedServletPath("sigadmin") %>"><DIV CLASS="content">
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getSIGID() %>">
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getCommunityID() %>">
<INPUT TYPE="HIDDEN" NAME="cmd" VALUE="M">
<INPUT TYPE="HIDDEN" NAME="ofs" VALUE="0">
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
@@ -68,10 +68,10 @@
<% if (data.displayList()) { %>
<% int dcount = data.getSize(); %>
<HR>
<% if (data.isSIGMemberList()) { %>
<%-- The SIG list header --%>
<% if (data.isCommunityMemberList()) { %>
<%-- The community list header --%>
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,3) %><B>
Members of SIG "<%= StringUtil.encodeHTML(data.getSIGName()) %>":
Members of community "<%= StringUtil.encodeHTML(data.getCommunityName()) %>":
</B></FONT><BR>
<% } else { %>
<%
@@ -98,7 +98,7 @@
<%-- The navigational form that allows us to page through the results --%>
<% if (rdat.useHTMLComments()) { %><!-- Navigational Form --><% } %>
<FORM METHOD="POST" ACTION="<%= rdat.getEncodedServletPath("sigadmin") %>"><DIV CLASS="content">
<INPUT TYPE=HIDDEN NAME="sig" VALUE="<%= data.getSIGID() %>">
<INPUT TYPE=HIDDEN NAME="sig" VALUE="<%= data.getCommunityID() %>">
<INPUT TYPE=HIDDEN NAME="cmd" VALUE="M">
<INPUT TYPE=HIDDEN NAME="ofs" VALUE="<%= data.getOffset() %>">
<INPUT TYPE=HIDDEN NAME="field" VALUE="<%= data.getSearchField() %>">
@@ -127,7 +127,7 @@
<%-- Display the results of the search --%>
<FORM METHOD="POST" ACTION="<%= rdat.getEncodedServletPath("sigadmin") %>"><DIV CLASS="content">
<INPUT TYPE=HIDDEN NAME="sig" VALUE="<%= data.getSIGID() %>">
<INPUT TYPE=HIDDEN NAME="sig" VALUE="<%= data.getCommunityID() %>">
<INPUT TYPE=HIDDEN NAME="cmd" VALUE="M">
<TABLE BORDER=0 ALIGN=LEFT CELLPADDING=0 CELLSPACING=4>
<% for (int i=0; i<dcount; i++) { %>

View File

@@ -21,19 +21,19 @@
<%@ page import = "com.silverwrist.venice.servlets.Variables" %>
<%@ page import = "com.silverwrist.venice.servlets.format.*" %>
<%
SIGCategoryBrowseData data = SIGCategoryBrowseData.retrieve(request);
CommunityCategoryBrowseData data = CommunityCategoryBrowseData.retrieve(request);
Variables.failIfNull(data);
RenderData rdat = RenderConfig.createRenderData(application,request,response);
CategoryDescriptor cat = data.getCurrentCategory();
int catid = cat.getCategoryID();
%>
<% rdat.writeContentHeader(out,"Set SIG Category:",data.getSIGName()); %>
<% rdat.writeContentHeader(out,"Set Community Category:",data.getCommunityName()); %>
<DIV ALIGN="LEFT">
<A HREF="<%= data.getCancelURL(rdat) %>"><IMG SRC="<%= rdat.getFullImagePath("bn_cancel.gif") %>"
ALT=\"Cancel\" WIDTH=80 HEIGHT=24 BORDER=0></A>
</DIV>
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<B>Previous SIG Category:</B> <%= StringUtil.encodeHTML(data.getPreviousCategory()) %><P>
<B>Previous community Category:</B> <%= StringUtil.encodeHTML(data.getPreviousCategory()) %><P>
<B>Current category:</B><BR>
<% if (catid>=0) { %><A HREF="<%= data.getGoLink(rdat,-1) %>"><% } %>Top<% if (catid>=0) { %></A><% } %>:
<% for (int i=0; i<cat.getNumLevels(); i++) { %>
@@ -65,7 +65,7 @@
<% } else { %><EM>(None)</EM><% } // end if (subcategory display) %><P>
Click on a subcategory name to make that category the currently displayed one.<P>
Click on a [set] link to set that category as the SIG's new category and return to the
<B>SIG Administration</B> menu.<P>
Click on a [set] link to set that category as the community's new category and return to the
<B>Community Administration</B> menu.<P>
</FONT>

View File

@@ -21,29 +21,29 @@
<%@ page import = "com.silverwrist.venice.servlets.Variables" %>
<%@ page import = "com.silverwrist.venice.servlets.format.*" %>
<%
SIGProfileData data = SIGProfileData.retrieve(request);
CommunityProfileData data = CommunityProfileData.retrieve(request);
Variables.failIfNull(data);
RenderData rdat = RenderConfig.createRenderData(application,request,response);
SIGContext sig = data.getSIGContext();
ContactInfo ci = data.getSIGContactInfo();
CommunityContext comm = data.getCommunityContext();
ContactInfo ci = data.getCommunityContactInfo();
CategoryDescriptor cat = data.getCategory();
String tmp;
%>
<% if (rdat.useHTMLComments()) { %><!-- Profile for SIG #<%= sig.getSIGID() %> --><% } %>
<% rdat.writeContentHeader(out,"SIG Profile:",sig.getName()); %>
<% if (rdat.useHTMLComments()) { %><!-- Profile for community #<%= comm.getCommunityID() %> --><% } %>
<% rdat.writeContentHeader(out,"Community Profile:",comm.getName()); %>
<TABLE BORDER=0 CELLPADDING=6 CELLSPACING=0><TR VALIGN=TOP>
<TD ALIGN=LEFT CLASS="c2"><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,1) %>
<IMG SRC="<%= data.getSIGLogoURL(rdat)%>" ALIGN=LEFT WIDTH=110 HEIGHT=65 BORDER=0><BR CLEAR=LEFT><BR>
<IMG SRC="<%= data.getCommunityLogoURL(rdat)%>" ALIGN=LEFT WIDTH=110 HEIGHT=65 BORDER=0><BR CLEAR=LEFT><BR>
<% Date tmpd = sig.getCreationDate(); %>
<% Date tmpd = comm.getCreationDate(); %>
<% if (tmpd!=null) { %>
SIG created:<BR><%= StringUtil.encodeHTML(rdat.formatDateForDisplay(tmpd)) %><BR>
Community created:<BR><%= StringUtil.encodeHTML(rdat.formatDateForDisplay(tmpd)) %><BR>
<% } // end if %>
<% tmpd = sig.getLastAccessDate(); %>
<% tmpd = comm.getLastAccessDate(); %>
<% if (tmpd!=null) { %>
Last accessed:<BR><%= StringUtil.encodeHTML(rdat.formatDateForDisplay(tmpd)) %><BR>
<% } // end if %>
<% tmpd = sig.getLastUpdateDate(); %>
<% tmpd = comm.getLastUpdateDate(); %>
<% if (tmpd!=null) { %>
Profile last updated:<BR><%= StringUtil.encodeHTML(rdat.formatDateForDisplay(tmpd)) %><BR>
<% } // end if %>
@@ -51,12 +51,12 @@
<% if (data.isUserLoggedIn()) { %>
<DIV ALIGN="CENTER">
<%-- EJB 4/4/2001 - reverse these tests, put canJoin FIRST --%>
<% if (sig.canJoin()) { %>
<A HREF="<%= rdat.getEncodedServletPath("sigops?cmd=J&sig=" + sig.getSIGID()) %>"><IMG
<% if (comm.canJoin()) { %>
<A HREF="<%= rdat.getEncodedServletPath("sigops?cmd=J&sig=" + comm.getCommunityID()) %>"><IMG
SRC="<%= rdat.getFullImagePath("bn_join_now.gif") %>" ALT="Join Now"
WIDTH=80 HEIGHT=24 BORDER=0></A>
<% } else if (sig.canSendInvitation()) { %>
<A HREF="<%= rdat.getEncodedServletPath("sigops?cmd=I&sig=" + sig.getSIGID()) %>"><IMG
<% } else if (comm.canSendInvitation()) { %>
<A HREF="<%= rdat.getEncodedServletPath("sigops?cmd=I&sig=" + comm.getCommunityID()) %>"><IMG
SRC="<%= rdat.getFullImagePath("bn_invite.gif") %>" ALT="Invite" WIDTH=80 HEIGHT=24 BORDER=0></A>
<% } // end if %>
</DIV>
@@ -65,13 +65,13 @@
</FONT></TD>
<TD ALIGN=LEFT CLASS="content"><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<B><U><% if (sig.isPublicSIG()) { %>Public<% } else { %>Private<% } %> Special Interest Group</U></B><BR>
<B><U><% if (comm.isPublicCommunity()) { %>Public<% } else { %>Private<% } %> Community</U></B><BR>
<B>Category:</B>
<% for (int i=0; i<cat.getNumLevels(); i++) { %>
<% if (i>0) { %>: <% } %>
<A HREF="<%= FindData.getCatJumpLink(rdat,cat.getIDAtLevel(i)) %>"><%= StringUtil.encodeHTML(cat.getTitleAtLevel(i)) %></A>
<% } // end for %><P>
<EM><%= StringUtil.encodeHTML(sig.getSynopsis()) %></EM><P>
<EM><%= StringUtil.encodeHTML(comm.getSynopsis()) %></EM><P>
<% tmp = data.getHostUserName(); %>
<B>Host:</B> <A HREF="<%= rdat.getEncodedServletPath("user/" + tmp) %>"><%= tmp %></A><BR>
@@ -89,9 +89,9 @@
<% if (!(StringUtil.isStringEmpty(tmp))) { %><%= StringUtil.encodeHTML(tmp) %><BR><% } %>
<BR>
<% tmp = sig.getLanguageFullName(); %>
<% tmp = comm.getLanguageFullName(); %>
<% if (!(StringUtil.isStringEmpty(tmp))) { %><B>Primary Language:</B> <%= StringUtil.encodeHTML(tmp) %><BR><% } %>
<% tmp = sig.getRules(); %>
<% tmp = comm.getRules(); %>
<% if (!(StringUtil.isStringEmpty(tmp))) { %><B>Standards of Conduct:</B> <%= StringUtil.encodeHTML(tmp) %><BR><% } %>
<% tmp = ci.getURL(); %>
<% if (!(StringUtil.isStringEmpty(tmp))) { %>

View File

@@ -21,29 +21,29 @@
<%@ page import = "com.silverwrist.venice.servlets.Variables" %>
<%@ page import = "com.silverwrist.venice.servlets.format.*" %>
<%
UserSIGList data = UserSIGList.retrieve(request);
UserCommunityList data = UserCommunityList.retrieve(request);
Variables.failIfNull(data);
RenderData rdat = RenderConfig.createRenderData(application,request,response);
%>
<% if (rdat.useHTMLComments()) { %><!-- User conference hotlist --><% } %>
<% rdat.writeContentHeader(out,"Your SIGs",null); %>
<% rdat.writeContentHeader(out,"Your Communities",null); %>
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<A HREF="<%= rdat.getEncodedServletPath("top") %>">Return to Front Page</A>
</FONT><P>
<% if (data.getNumSIGs()>0) { %>
<% if (data.getNumCommunities()>0) { %>
<TABLE BORDER=0 ALIGN=CENTER CELLPADDING=0 CELLSPACING=2>
<% for (int i=0; i<data.getNumSIGs(); i++) { %>
<% SIGContext sig = data.getSIG(i); %>
<% for (int i=0; i<data.getNumCommunities(); i++) { %>
<% CommunityContext comm = data.getCommunity(i); %>
<TR>
<TD ALIGN=CENTER WIDTH=16>
<% if (sig.canUnjoin()) { %>
<A HREF="<%= rdat.getEncodedServletPath("settings?cmd=SX&sig=" + sig.getSIGID()) %>"><IMG
SRC="<%= rdat.getFullImagePath("icn_x.gif") %> ALT="Unjoin" BORDER=0 WIDTH=16
<% 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
HEIGHT=16></A>
<% } else { %>&nbsp;<% } %>
</TD>
<TD ALIGN=LEFT CLASS="content"><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<A HREF="<%= rdat.getEncodedServletPath("sig/" + sig.getAlias()) %>"><%= StringUtil.encodeHTML(sig.getName()) %></A>
<A HREF="<%= rdat.getEncodedServletPath("sig/" + comm.getAlias()) %>"><%= StringUtil.encodeHTML(comm.getName()) %></A>
</FONT></TD>
</TR>
<% } // end for %>
@@ -52,14 +52,14 @@
<TABLE BORDER=0 CELLPADDING=2 CELLSPACING=0>
<TR VALIGN=TOP>
<TD ALIGN=CENTER WIDTH=16>
<IMG SRC="<%= rdat.getFullImagePath("icn_x.gif") %> ALT="Unjoin" BORDER=0 WIDTH=16 HEIGHT=16>
<IMG SRC="<%= rdat.getFullImagePath("icn_x.gif") %>" ALT="Unjoin" BORDER=0 WIDTH=16 HEIGHT=16>
</TD>
<TD ALIGN=LEFT CLASS="content"><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
Click this symbol to unjoin the specified SIG.
Click this symbol to unjoin the specified community.
</FONT></TD>
</TR>
</TABLE>
<% } else { %>
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><EM>You are not a member of
any SIGs.</EM></FONT>
any communities.</EM></FONT>
<% } // end if %>

View File

@@ -21,15 +21,15 @@
<%@ page import = "com.silverwrist.venice.servlets.Variables" %>
<%@ page import = "com.silverwrist.venice.servlets.format.*" %>
<%
SIGWelcome data = SIGWelcome.retrieve(request);
CommunityWelcome data = CommunityWelcome.retrieve(request);
Variables.failIfNull(data);
RenderData rdat = RenderConfig.createRenderData(application,request,response);
%>
<% if (rdat.useHTMLComments()) { %><!-- Welcome to <%= data.getSIGName() %> --><% } %>
<% if (rdat.useHTMLComments()) { %><!-- Welcome to <%= data.getCommunityName() %> --><% } %>
<% rdat.writeContentHeader(out,"Welcome!",null); %>
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
Welcome to the <B>&quot;<%= StringUtil.encodeHTML(data.getSIGName()) %>&quot;</B> SIG!
As a SIG member, you now have access to the various resources which your SIG's host
Welcome to the <B>&quot;<%= StringUtil.encodeHTML(data.getCommunityName()) %>&quot;</B> community!
As a community member, you now have access to the various resources which your community's host
has elected to provide. Enjoy your membership!<P>
<DIV ALIGN=CENTER><A HREF="<%= data.getEntryURL(rdat) %>">Enter SIG</A></DIV>
<DIV ALIGN=CENTER><A HREF="<%= data.getEntryURL(rdat) %>">Enter Community</A></DIV>
</FONT>

View File

@@ -31,15 +31,15 @@
Manage Conference Menu</A>
</FONT><P>
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,3) %><B>Find users in SIG
"<%= data.getSIGName() %>":</B></FONT><P>
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,3) %><B>Find users in community
"<%= data.getCommunityName() %>":</B></FONT><P>
<FORM METHOD="POST" ACTION="<%= rdat.getEncodedServletPath("confops") %>"><DIV CLASS="content">
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getSIGID() %>">
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getCommunityID() %>">
<INPUT TYPE="HIDDEN" NAME="conf" VALUE="<%= data.getConfID() %>">
<INPUT TYPE="HIDDEN" NAME="cmd" VALUE="M">
<INPUT TYPE="HIDDEN" NAME="ofs" VALUE="0">
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
Display all SIG members whose&nbsp;&nbsp;
Display all community members whose&nbsp;&nbsp;
<SELECT NAME="field" SIZE=1>
<OPTION VALUE="<%= SearchMode.FIELD_USER_NAME %>"
<% if (data.searchFieldIs(SearchMode.FIELD_USER_NAME)) { %>SELECTED<% } %> >user name</OPTION>
@@ -100,7 +100,7 @@
<%-- The navigational form that allows us to page through the results --%>
<% if (rdat.useHTMLComments()) { %><!-- Navigational Form --><% } %>
<FORM METHOD="POST" ACTION="<%= rdat.getEncodedServletPath("confops") %>"><DIV CLASS="content">
<INPUT TYPE=HIDDEN NAME="sig" VALUE="<%= data.getSIGID() %>">
<INPUT TYPE=HIDDEN NAME="sig" VALUE="<%= data.getCommunityID() %>">
<INPUT TYPE=HIDDEN NAME="conf" VALUE="<%= data.getConfID() %>">
<INPUT TYPE=HIDDEN NAME="cmd" VALUE="M">
<INPUT TYPE=HIDDEN NAME="ofs" VALUE="<%= data.getOffset() %>">
@@ -130,7 +130,7 @@
<%-- Display the results of the search --%>
<FORM METHOD="POST" ACTION="<%= rdat.getEncodedServletPath("confops") %>"><DIV CLASS="content">
<INPUT TYPE=HIDDEN NAME="sig" VALUE="<%= data.getSIGID() %>">
<INPUT TYPE=HIDDEN NAME="sig" VALUE="<%= data.getCommunityID() %>">
<INPUT TYPE=HIDDEN NAME="conf" VALUE="<%= data.getConfID() %>">
<INPUT TYPE=HIDDEN NAME="cmd" VALUE="M">
<TABLE BORDER=0 ALIGN=LEFT CELLPADDING=0 CELLSPACING=4>

View File

@@ -25,17 +25,17 @@
Variables.failIfNull(data);
RenderData rdat = RenderConfig.createRenderData(application,request,response);
%>
<% if (rdat.useHTMLComments()) { %><!-- Manage conference list for SIG #<%= data.getSIGID() %> --><% } %>
<% if (rdat.useHTMLComments()) { %><!-- Manage conference list for community #<%= data.getCommunityID() %> --><% } %>
<% rdat.writeContentHeader(out,"Manage Conference List",null); %>
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<A HREF="<%= rdat.getEncodedServletPath("confops?sig=" + data.getSIGID()) %>">Return to Conference List</A>
<A HREF="<%= rdat.getEncodedServletPath("confops?sig=" + data.getCommunityID()) %>">Return to Conference List</A>
</FONT><P>
<% if (data.getNumConferences()>0) { %>
<TABLE BORDER=0 ALIGN=CENTER CELLPADDING=0 CELLSPACING=2>
<% for (int i=0; i<data.getNumConferences(); i++) { %>
<%
ConferenceContext conf = data.getConference(i);
String partial = "confops?sig=" + data.getSIGID() + "&conf=" + conf.getConfID();
String partial = "confops?sig=" + data.getCommunityID() + "&conf=" + conf.getConfID();
String tail, image, alt;
%>
<TR VALIGN=TOP>
@@ -94,7 +94,7 @@
HEIGHT=16>
</TD>
<TD ALIGN=LEFT CLASS="content"><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
This indicates that the conference is displayed in the SIG's conference list. Click the symbol
This indicates that the conference is displayed in the community's conference list. Click the symbol
to hide it.
</FONT></TD>
</TR>
@@ -104,7 +104,7 @@
HEIGHT=16>
</TD>
<TD ALIGN=LEFT CLASS="content"><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
This indicates that the conference is hidden in the SIG's conference list. Click the symbol
This indicates that the conference is hidden in the community's conference list. Click the symbol
to display it.
</FONT></TD>
</TR>
@@ -113,7 +113,7 @@
<IMG SRC="<%= rdat.getFullImagePath("icn_down.gif") %>" ALT="Move Down" BORDER=0 WIDTH=16 HEIGHT=16>
</TD>
<TD ALIGN=LEFT CLASS="content"><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
Click this symbol to move the specified conference down in the SIG's conference list.
Click this symbol to move the specified conference down in the community's conference list.
</FONT></TD>
</TR>
<TR VALIGN=TOP>
@@ -121,7 +121,7 @@
<IMG SRC="<%= rdat.getFullImagePath("icn_up.gif") %>" ALT="Move Up" BORDER=0 WIDTH=16 HEIGHT=16>
</TD>
<TD ALIGN=LEFT CLASS="content"><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
Click this symbol to move the specified conference up in the SIG's conference list.
Click this symbol to move the specified conference up in the community's conference list.
</FONT></TD>
</TR>
<TR VALIGN=TOP>
@@ -136,5 +136,5 @@
</TABLE>
<% } else { %>
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><EM>There are no conferences in
this SIG.</EM></FONT>
this community.</EM></FONT>
<% } // end if %>

View File

@@ -25,8 +25,8 @@
Variables.failIfNull(data);
RenderData rdat = RenderConfig.createRenderData(application,request,response);
%>
<% if (rdat.useHTMLComments()) { %><!-- Conference list for SIG #<%= data.getSIGID() %> --><% } %>
<% rdat.writeContentHeader(out,"Conference List:",data.getSIGName()); %>
<% if (rdat.useHTMLComments()) { %><!-- Conference list for community #<%= data.getCommunityID() %> --><% } %>
<% rdat.writeContentHeader(out,"Conference List:",data.getCommunityName()); %>
<% if (data.getNumConferences()>0) { %>
<TABLE BORDER=0 ALIGN=LEFT>
<% for (int i=0; i<data.getNumConferences(); i++) { %>
@@ -35,7 +35,7 @@
<IMG SRC="<%= rdat.getFullImagePath("purple-ball.gif") %>" ALT="*" WIDTH=14 HEIGHT=14 BORDER=0>
</TD>
<TD ALIGN=LEFT CLASS="content"><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<% String path = "confdisp?sig=" + data.getSIGID() + "&conf=" + data.getConferenceID(i); %>
<% String path = "confdisp?sig=" + data.getCommunityID() + "&conf=" + data.getConferenceID(i); %>
<A HREF="<%= rdat.getEncodedServletPath(path) %>"><%= StringUtil.encodeHTML(data.getConferenceName(i)) %></A> -
Latest activity: <%= rdat.getActivityString(data.getLastUpdateDate(i)) %>
<% if (data.anyUnread(i)) { %>
@@ -58,17 +58,17 @@
<% } // end for (each conference) %>
</TABLE><BR CLEAR=LEFT>
<% } else { %>
<EM>No conferences found in this SIG.</EM><BR>
<EM>No conferences found in this community.</EM><BR>
<% } // end if (conferences present) %>
<P>
<DIV ALIGN="LEFT" CLASS="content">
<% if (data.canManageConferences()) { %>
<A HREF="<%= rdat.getEncodedServletPath("confops?cmd=S&sig=" + data.getSIGID()) %>"><IMG
<A HREF="<%= rdat.getEncodedServletPath("confops?cmd=S&sig=" + data.getCommunityID()) %>"><IMG
SRC="<%= rdat.getFullImagePath("bn_manage.gif") %>" ALT="Manage" WIDTH=80 HEIGHT=24
BORDER=0></A>&nbsp;
<% } // end if %>
<% if (data.canCreateConference()) { %>
<A HREF="<%= rdat.getEncodedServletPath("confops?cmd=C&sig=" + data.getSIGID()) %>"><IMG
<A HREF="<%= rdat.getEncodedServletPath("confops?cmd=C&sig=" + data.getCommunityID()) %>"><IMG
SRC="<%= rdat.getFullImagePath("bn_create_new.gif") %>" ALT="Create New" WIDTH=80 HEIGHT=24
BORDER=0></A>&nbsp;
<% } // end if %>

View File

@@ -21,11 +21,11 @@
<%@ page import = "com.silverwrist.venice.servlets.Variables" %>
<%@ page import = "com.silverwrist.venice.servlets.format.*" %>
<%!
private static String getSIGHostName(SIGContext sig)
private static String getCommunityHostName(CommunityContext comm)
{
try
{ // get the host name for the specified SIG
UserProfile prof = sig.getHostProfile();
{ // get the host name for the specified community
UserProfile prof = comm.getHostProfile();
return prof.getUserName();
} // end try
@@ -35,13 +35,13 @@ private static String getSIGHostName(SIGContext sig)
} // end catch
} // end getSIGHostName
} // end getCommunityHostName
private static int getSIGMemberCount(SIGContext sig)
private static int getCommunityMemberCount(CommunityContext comm)
{
try
{ // get the member count for the specified SIG
return sig.getMemberCount();
{ // get the member count for the specified community
return comm.getMemberCount();
} // end try
catch (DataException e)
@@ -50,11 +50,11 @@ private static int getSIGMemberCount(SIGContext sig)
} // end catch
} // end getSIGMemberCount
} // end getCommunityMemberCount
private static String getActivityString(SIGContext sig, RenderData rdat)
private static String getActivityString(CommunityContext comm, RenderData rdat)
{
return rdat.getActivityString(sig.getLastAccessDate());
return rdat.getActivityString(comm.getLastAccessDate());
} // end getActivityString
@@ -71,16 +71,16 @@ private static String getActivityString(SIGContext sig, RenderData rdat)
<FORM METHOD="POST" ACTION="<%= rdat.getEncodedServletPath("find") %>"><DIV CLASS="content">
<INPUT TYPE=HIDDEN NAME="disp" VALUE="<%= data.getDisplayOption() %>">
<INPUT TYPE=HIDDEN NAME="ofs" VALUE="0">
<% if (data.getDisplayOption()==FindData.FD_SIGS) { %>
<% if (rdat.useHTMLComments()) { %><!-- Find SIGs Form --><% } %>
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,4) %><B>Find SIGs:</B></FONT><BR>
<% if (data.getDisplayOption()==FindData.FD_COMMUNITIES) { %>
<% if (rdat.useHTMLComments()) { %><!-- Find Communities Form --><% } %>
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,4) %><B>Find Communities:</B></FONT><BR>
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
Display all SIGs whose&nbsp;&nbsp;
Display all communities whose&nbsp;&nbsp;
<SELECT NAME="field" SIZE=1>
<OPTION VALUE="<%= SearchMode.FIELD_SIG_NAME %>"
<% if (data.searchFieldIs(SearchMode.FIELD_SIG_NAME)) { %>SELECTED<% } %> >name</OPTION>
<OPTION VALUE="<%= SearchMode.FIELD_SIG_SYNOPSIS %>"
<% if (data.searchFieldIs(SearchMode.FIELD_SIG_SYNOPSIS)) { %>SELECTED<% } %> >synopsis</OPTION>
<OPTION VALUE="<%= SearchMode.FIELD_COMMUNITY_NAME %>"
<% if (data.searchFieldIs(SearchMode.FIELD_COMMUNITY_NAME)) { %>SELECTED<% } %> >name</OPTION>
<OPTION VALUE="<%= SearchMode.FIELD_COMMUNITY_SYNOPSIS %>"
<% if (data.searchFieldIs(SearchMode.FIELD_COMMUNITY_SYNOPSIS)) { %>SELECTED<% } %> >synopsis</OPTION>
</SELECT><BR>
<% } else if (data.getDisplayOption()==FindData.FD_USERS) { %>
@@ -203,7 +203,7 @@ private static String getActivityString(SIGContext sig, RenderData rdat)
<TABLE WIDTH="100%" BORDER=0 ALIGN=CENTER><TR VALIGN=MIDDLE>
<TD WIDTH="50%" ALIGN=LEFT CLASS="content"><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,3) %>
<%-- The initial search results --%>
<B><% if (cat!=null) { %>SIGs in Category<% } else { %>Search Results<% } %></B>
<B><% if (cat!=null) { %>Communities in Category<% } else { %>Search Results<% } %></B>
<% if (data.getFindCount()>0) { %>
(Displaying <%= data.getOffset() + 1 %>-<%= data.getOffset() + dcount %> of
<%= data.getFindCount() %>)
@@ -250,13 +250,13 @@ private static String getActivityString(SIGContext sig, RenderData rdat)
</TD>
<TD ALIGN=LEFT CLASS="content"><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<% Object item = results.get(i); %>
<% if (data.getDisplayOption()==FindData.FD_SIGS) { %>
<% if (data.getDisplayOption()==FindData.FD_COMMUNITIES) { %>
<%
SIGContext sig = (SIGContext)item;
String host_name = getSIGHostName(sig);
int members = getSIGMemberCount(sig);
CommunityContext comm = (CommunityContext)item;
String host_name = getCommunityHostName(comm);
int members = getCommunityMemberCount(comm);
%>
<A HREF="<%= rdat.getEncodedServletPath("sig/" + sig.getAlias()) %>"><%= StringUtil.encodeHTML(sig.getName()) %></A><BR>
<A HREF="<%= rdat.getEncodedServletPath("sig/" + comm.getAlias()) %>"><%= StringUtil.encodeHTML(comm.getName()) %></A><BR>
<% if (host_name!=null) { %>
Host: <A HREF="<%= rdat.getEncodedServletPath("user/" + host_name) %>"><%= host_name %></A>
<% } // end if (got host name) %>
@@ -265,8 +265,8 @@ private static String getActivityString(SIGContext sig, RenderData rdat)
<%= members %> members
<% } // end if (got member count) %>
<% if ((host_name!=null) || (members>=0)) { %><BR><% } %>
Latest activity: <%= getActivityString(sig,rdat) %><BR>
<EM><%= StringUtil.encodeHTML(sig.getSynopsis()) %></EM>
Latest activity: <%= getActivityString(comm,rdat) %><BR>
<EM><%= StringUtil.encodeHTML(comm.getSynopsis()) %></EM>
<% } else if (data.getDisplayOption()==FindData.FD_USERS) { %>
<% UserFound uf = (UserFound)item; %>

View File

@@ -34,7 +34,8 @@
<% for (int i=0; i<data.getHotlistSize(); i++) { %>
<%
ConferenceContext conf = data.getConference(i);
String partial = "settings?sig=" + conf.getEnclosingSIG().getSIGID() + "&conf=" + conf.getConfID();
String partial = "settings?sig=" + conf.getEnclosingCommunity().getCommunityID() + "&conf="
+ conf.getConfID();
%>
<TR VALIGN=MIDDLE>
<TD ALIGN=CENTER WIDTH=16>
@@ -58,7 +59,7 @@
</TD>
<TD ALIGN=LEFT CLASS="content"><%= stdfont %>
<B><%= StringUtil.encodeHTML(conf.getName()) %></B>
(<%= StringUtil.encodeHTML(conf.getEnclosingSIG().getName()) %>)
(<%= StringUtil.encodeHTML(conf.getEnclosingCommunity().getName()) %>)
</FONT></TD>
</TR>
<% } // end for %>

View File

@@ -25,10 +25,10 @@
Variables.failIfNull(data);
RenderData rdat = RenderConfig.createRenderData(application,request,response);
%>
<% if (rdat.useHTMLComments()) { %><!-- Send invitation to SIG #<%= data.getSIGID() %> --><% } %>
<% rdat.writeContentHeader(out,"Send SIG Invitation:",data.getSIGName()); %>
<% if (rdat.useHTMLComments()) { %><!-- Send invitation to community #<%= data.getCommunityID() %> --><% } %>
<% rdat.writeContentHeader(out,"Send Community Invitation:",data.getCommunityName()); %>
<FORM METHOD=POST ACTION="<%= rdat.getEncodedServletPath("sigops") %>"><DIV CLASS="content">
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getSIGID() %>">
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getCommunityID() %>">
<INPUT TYPE="HIDDEN" NAME="cmd" VALUE="I">
<TABLE BORDER=0 CELLPADDING=0>
<TR VALIGN=MIDDLE>

View File

@@ -61,7 +61,7 @@
<FONT SIZE=+1><B>Add New Alias:</B></FONT><P>
<FORM METHOD="POST" ACTION="<%= rdat.getEncodedServletPath("confops") %>"><DIV CLASS="content">
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getSIGID() %>">
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getCommunityID() %>">
<INPUT TYPE="HIDDEN" NAME="conf" VALUE="<%= data.getConfID() %>">
<INPUT TYPE="HIDDEN" NAME="cmd" VALUE="A">
<SPAN CLASS="cinput"><INPUT TYPE="TEXT" CLASS="cinput" NAME="alias" SIZE=32 MAXLENGTH=64

View File

@@ -34,7 +34,7 @@
<% if (rdat.useHTMLComments()) { %><!-- Set Default Pseud Form --><% } %>
<FORM METHOD="POST" ACTION="<%= rdat.getEncodedServletPath("confops") %>"><DIV CLASS="content">
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getSIGID() %>">
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getCommunityID() %>">
<INPUT TYPE="HIDDEN" NAME="conf" VALUE="<%= data.getConfID() %>">
<INPUT TYPE="HIDDEN" NAME="cmd" VALUE="P">
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>

View File

@@ -21,22 +21,22 @@
<%@ page import = "com.silverwrist.venice.servlets.Variables" %>
<%@ page import = "com.silverwrist.venice.servlets.format.*" %>
<%
NewSIGWelcome data = NewSIGWelcome.retrieve(request);
NewCommunityWelcome data = NewCommunityWelcome.retrieve(request);
Variables.failIfNull(data);
RenderData rdat = RenderConfig.createRenderData(application,request,response);
%>
<% if (rdat.useHTMLComments()) { %><!-- Welcome to new SIG <%= data.getSIGName() %> --><% } %>
<% if (rdat.useHTMLComments()) { %><!-- Welcome to new community <%= data.getCommunityName() %> --><% } %>
<% rdat.writeContentHeader(out,"Welcome!",null); %>
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
Your new SIG <B>&quot;<%= StringUtil.encodeHTML(data.getSIGName()) %>&quot</B> has been created, and
you are its host. You may now wish to send out invitations to other people to join your new SIG.
You will also want to enter your SIG's administration page and set its category and/or additional
security options, if desired.<P>
Your new SIG's URL is:
Your new community <B>&quot;<%= StringUtil.encodeHTML(data.getCommunityName()) %>&quot</B> has been
created, and you are its host. You may now wish to send out invitations to other people to join your new
community. You will also want to enter your community's administration page and set its category and/or
additional security options, if desired.<P>
Your new community's URL is:
<DIV ALIGN=CENTER><B><%= StringUtil.encodeHTML(data.getDisplayURL(rdat)) %></B></DIV>
Enjoy your new SIG on our system!
Enjoy your new community on our system!
<DIV ALIGN=CENTER>
<A HREF="<%= data.getEntryURL(rdat) %>">Enter SIG</A>&nbsp;|&nbsp;
<A HREF="/TODO">Invite Users</A>
<A HREF="<%= data.getEntryURL(rdat) %>">Enter Community</A>&nbsp;|&nbsp;
<A HREF="<%= data.getInviteURL(rdat) %>">Invite Users</A>
</DIV>
</FONT>

View File

@@ -42,7 +42,7 @@
<% } // end if %>
<FORM METHOD="POST" ACTION="<%= rdat.getEncodedServletPath("confops") %>"><DIV CLASS="content">
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getSIGID() %>">
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getCommunityID() %>">
<INPUT TYPE="HIDDEN" NAME="conf" VALUE="<%= data.getConfID() %>">
<INPUT TYPE="HIDDEN" NAME="cmd" VALUE="T">
<TABLE BORDER=0 CELLPADDING=0>

View File

@@ -108,7 +108,7 @@
<TD NOWRAP ALIGN=LEFT CLASS="content">
<% if (rdat.useHTMLComments()) { %><!-- Go box --><% } %>
<FORM METHOD="GET" ACTION="<%= rdat.getEncodedServletPath("confdisp") %>"><DIV CLASS="content">
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getSIGID() %>">
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getCommunityID() %>">
<INPUT TYPE="HIDDEN" NAME="conf" VALUE="<%= data.getConfID() %>">
<INPUT TYPE="HIDDEN" NAME="top" VALUE="<%= data.getTopicNumber() %>">
<SPAN CLASS="cinput"><INPUT TYPE="TEXT" CLASS="cinput" NAME="pxg" VALUE="" SIZE=6
@@ -301,7 +301,7 @@
</FONT></SPAN>
<BR>
<FORM METHOD="POST" ACTION="<%= rdat.getEncodedServletPath("post") %>"><DIV CLASS="content">
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getSIGID() %>">
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getCommunityID() %>">
<INPUT TYPE="HIDDEN" NAME="conf" VALUE="<%= data.getConfID() %>">
<INPUT TYPE="HIDDEN" NAME="top" VALUE="<%= data.getTopicNumber() %>">
<% if (data.canDoNextTopic()) { %>

View File

@@ -38,7 +38,7 @@
<P><PRE CLASS="post"><%= rdat.rewritePostData(data.getPreviewData()) %></PRE><HR>
<FORM METHOD="POST" ACTION="<%= rdat.getEncodedServletPath("post") %>"><DIV CLASS="content">
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getSIGID() %>">
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getCommunityID() %>">
<INPUT TYPE="HIDDEN" NAME="conf" VALUE="<%= data.getConfID() %>">
<INPUT TYPE="HIDDEN" NAME="top" VALUE="<%= data.getTopicNumber() %>">
<% if (!(StringUtil.isStringEmpty(data.getNextVal()))) { %>

View File

@@ -63,7 +63,7 @@
&quot;<%= data.getTopicName() %>&quot;:</B></FONT>
<BR>
<FORM METHOD="POST" ACTION="<%= rdat.getEncodedServletPath("post") %>"><DIV CLASS="content">
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getSIGID() %>">
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getCommunityID() %>">
<INPUT TYPE="HIDDEN" NAME="conf" VALUE="<%= data.getConfID() %>">
<INPUT TYPE="HIDDEN" NAME="top" VALUE="<%= data.getTopicNumber() %>">
<% if (!(StringUtil.isStringEmpty(data.getNextVal()))) { %>

View File

@@ -32,7 +32,7 @@
<% rdat.writeContentHeader(out,"Topics in " + data.getConfName(),null); %>
<%= stdfont %>
<DIV ALIGN="LEFT" CLASS="content">
<A HREF="<%= rdat.getEncodedServletPath("confops?sig=" + data.getSIGID()) %>"><IMG
<A HREF="<%= rdat.getEncodedServletPath("confops?sig=" + data.getCommunityID()) %>"><IMG
SRC="<%= rdat.getFullImagePath("bn_conference_list.gif") %>" ALT="Conference List" WIDTH=80 HEIGHT=24
BORDER=0></A>&nbsp;
<% if (data.canCreateTopic()) { %>