modifications to ensure that Venice can operate without certain personal

information prompted for at registration time, if certain sites should elect
to omit that information
This commit is contained in:
Eric J. Bowersox
2004-07-10 22:54:15 +00:00
parent 5c0f841ab7
commit f0bf5e31ee
9 changed files with 431 additions and 348 deletions

View File

@@ -9,13 +9,14 @@
The Original Code is the Venice Web Communities System.
The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
The Initial Developer of the Original Code is Eric J. Bowersox <erbo@ricochet.com>,
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
Copyright (C) 2001-2004 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
Contributor(s):
--%>
<%@ page import = "java.util.*" %>
<%@ page import = "com.silverwrist.util.*" %>
<%@ page import = "com.silverwrist.venice.core.*" %>
<%@ page import = "com.silverwrist.venice.ui.conf.CurrentConference" %>
<%@ page import = "com.silverwrist.venice.ui.menus.MenuComponent" %>
@@ -38,72 +39,78 @@
</util:xlink></util:font><P>
<util:font color="content.fg" size="content">
<DIV ALIGN="LEFT"><B>Topic Subscription:</B></DIV>
<div align="left"><b>Topic Subscription:</b></div>
<topic:subscribed>
You are currently subscribed to this topic, and will receive all new posts to it via E-mail.<P>
<B><util:xlink>
You are currently subscribed to this topic, and will receive all new posts to it via E-mail.<p />
<b><util:xlink>
<util:href type="servlet">conf/subscribe_topic.js.vs?cc=<comm:ID/>&conf=<conf:ID/>&top=<topic:number/>&flag=0</util:href>
<util:text>Click Here to Stop Subscribing To This Topic</util:text>
</util:xlink></B>
</util:xlink></b>
</topic:subscribed>
<topic:not_subscribed>
You are not currently subscribed to this topic. When you subscribe to a topic, you will receive all new
posts to that topic via E-mail.<P>
<B><util:xlink>
posts to that topic via E-mail.<p />
<b><util:xlink>
<util:href type="servlet">conf/subscribe_topic.js.vs?cc=<comm:ID/>&conf=<conf:ID/>&top=<topic:number/>&flag=1</util:href>
<util:text>Click Here to Start Subscribing To This Topic</util:text>
</util:xlink></B>
</util:xlink></b>
</topic:not_subscribed>
<P>&nbsp;<P>
<p />&nbsp;<p />
<topic:can_send_invite>
<util:comment>Invitation Section</util:comment>
<util:header title="Send Invitation"/>
<util:font color="content.fg" size="content">
You may send an invitation via E-mail to outside individuals to join this community and
read this topic in the conference.<P>
<B><util:xlink>
read this topic in the conference.<p />
<b><util:xlink>
<util:href type="servlet">conf/invite_topic.js.vs?cc=<comm:ID/>&conf=<conf:ID/>&top=<topic:number/></util:href>
<util:text>Click Here to send an invitation</util:text>
</util:xlink></B>
</util:font><P>&nbsp;<P>
</util:xlink></b>
</util:font><p />&nbsp;<p />
</topic:can_send_invite>
<util:comment>Filtered Users Section</util:comment>
<util:header title="Filtered Users"/>
<% List bozos = (List)(view.getRequestAttribute("topic.bozos.list")); %>
<% if (bozos.size()>0) { %>
<TABLE BORDER=0 ALIGN=CENTER CELLPADDING=0 CELLSPACING=2>
<% Iterator it = bozos.iterator(); %>
<% while (it.hasNext()) { %>
<% UserProfile prof = (UserProfile)(it.next()); %>
<table border="0" align="center" cellpadding="0" cellspacing="2">
<% for (Iterator it=bozos.iterator(); it.hasNext(); ) { %>
<%
UserProfile prof = (UserProfile)(it.next());
String fullname = prof.getGivenName() + " " + prof.getFamilyName();
fullname = fullname.trim();
%>
<TR>
<TD ALIGN=CENTER WIDTH=16><util:xlink>
<td align="center" width="16"><util:xlink>
<util:href type="servlet">conf/remove_bozo.js.vs?cc=<comm:ID/>&conf=<conf:ID/>&top=<topic:number/>&u=<%= prof.getUID() %></util:href>
<util:text><util:image src="icn_x.gif" fixup="true" alt="Remove" width="16" height="16"/></util:text>
</util:xlink></TD>
<TD ALIGN=LEFT CLASS="content"><util:font color="content.fg" size="content">
</util:xlink></td>
<td align="left" class="content"><util:font color="content.fg" size="content">
&lt;<util:xlink>
<util:href type="servlet">user/<%= prof.getUserName() %></util:href>
<util:text><%= prof.getUserName() %></util:text>
</util:xlink>&gt;
<EM><util:escape>(<%= prof.getGivenName() %> <%= prof.getFamilyName() %>)</util:escape></EM>
</util:font></TD>
</TR>
<% } // end while %>
</TABLE><P>
<% if (!(StringUtil.isStringEmpty(fullname))) { %>
<i><util:escape>(<%= fullname %>)</util:escape></i>
<% } // end if %>
</util:font></td>
</tr>
<% } // end for %>
</table><p />
<TABLE ALIGN=CENTER BORDER=0 CELLPADDING=2 CELLSPACING=0>
<TR VALIGN=TOP>
<TD ALIGN=CENTER WIDTH=16>
<table align="center" border="0" cellpadding="2" cellspacing="0">
<tr valign="top">
<td align="center" width="16">
<util:image src="icn_x.gif" fixup="true" alt="Remove" width="16" height="16"/>
</TD>
<TD ALIGN=LEFT CLASS="content"><util:font color="content.fg" size="content">
</td>
<td alig="left" class="content"><util:font color="content.fg" size="content">
Click this symbol to cease filtering this user in this topic.
</util:font></TD>
</TR>
</TABLE>
</util:font></td>
</tr>
</table>
<% } else { %>
<DIV ALIGN="CENTER"><EM>No users currently filtered.</EM></DIV>
<div align="center"><i>No users currently filtered.</i></div>
<% } // end if %>
</util:font>
<%-- EOF --%>