added controls for Invite from the conference and topic levels

This commit is contained in:
Eric J. Bowersox
2001-12-03 22:21:02 +00:00
parent 1db18b7fb9
commit 89eb0b23d2
13 changed files with 205 additions and 31 deletions

View File

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

View File

@@ -52,6 +52,17 @@
entire conference as read (fixseen)</A>
</B></FONT><P>
<% if (data.displayInviteSection()) { %>
<% if (rdat.useHTMLComments()) { %><!-- Invitation Section --><% } %>
<% rdat.writeContentHeader(out,"Send Invitation",null); %>
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
You may send an invitation via E-mail to outside individuals to join this community and
read this conference.<P>
<B><A HREF="<%= rdat.getEncodedServletPath("sigops?cmd=I&" + data.getLocator()) %>">Click here to
send an invitation</A></B>
</FONT><P>
<% } // end if %>
<% if (data.displayAdminSection()) { %>
<% if (rdat.useHTMLComments()) { %><!-- Host Tools Section --><% } %>
<% rdat.writeContentHeader(out,"Host Tools",null); %>

View File

@@ -44,9 +44,21 @@
posts to that topic via E-mail.<P>
<B><A HREF="<%= rdat.getEncodedServletPath("topicops?" + data.getLocator() + "&cmd=SY") %>">Click Here
to Start Subscribing To This Topic</A></B>
<% } // end if %><P>
<% if (data.displayInviteSection()) { %>
<% if (rdat.useHTMLComments()) { %><!-- Invitation Section --><% } %>
<% rdat.writeContentHeader(out,"Send Invitation",null); %>
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
You may send an invitation via E-mail to outside individuals to join this community and
read this topic in the conference.<P>
<B><A HREF="<%= rdat.getEncodedServletPath("sigops?cmd=I&" + data.getLocator()) %>">Click here to
send an invitation</A></B>
</FONT><P>
<% } // end if %>
<BR><HR WIDTH="80%">
<DIV ALIGN="LEFT"><B>Filtered Users:</B></DIV>
<% if (rdat.useHTMLComments()) { %><!-- Filtered Users Section --><% } %>
<% rdat.writeContentHeader(out,"Filtered Users",null); %>
<% if (data.getNumBozos()>0) { %>
<TABLE BORDER=0 ALIGN=CENTER CELLPADDING=0 CELLSPACING=2>
<% Iterator it = data.getBozosIterator(); %>