2002-01-06 19:05:37 -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.
|
|
|
|
|
2004-07-10 16:54:15 -06:00
|
|
|
The Initial Developer of the Original Code is Eric J. Bowersox <erbo@ricochet.com>,
|
2002-01-06 19:05:37 -07:00
|
|
|
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
2004-07-10 16:54:15 -06:00
|
|
|
Copyright (C) 2001-2004 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
2002-01-06 19:05:37 -07:00
|
|
|
|
|
|
|
Contributor(s):
|
|
|
|
--%>
|
|
|
|
<%@ page import = "java.util.*" %>
|
2004-07-10 16:54:15 -06:00
|
|
|
<%@ page import = "com.silverwrist.util.*" %>
|
2002-01-06 19:05:37 -07:00
|
|
|
<%@ page import = "com.silverwrist.venice.core.*" %>
|
|
|
|
<%@ page import = "com.silverwrist.venice.ui.conf.CurrentConference" %>
|
|
|
|
<%@ page import = "com.silverwrist.venice.ui.view.JSPView" %>
|
|
|
|
<%@ taglib uri="/tlds/util" prefix="util" %>
|
|
|
|
<%@ taglib uri="/tlds/community" prefix="comm" %>
|
|
|
|
<%@ taglib uri="/tlds/conference" prefix="conf" %>
|
|
|
|
<%@ taglib uri="/tlds/topic" prefix="topic" %>
|
|
|
|
<%
|
|
|
|
JSPView view = JSPView.get(request);
|
|
|
|
%>
|
|
|
|
<util:comment>Managing topic #<topic:number/> in conference "<conf:name/>"</util:comment>
|
|
|
|
<util:header title="Manage Topic:">
|
|
|
|
<util:subtitle><topic:name/></util:subtitle>
|
|
|
|
</util:header>
|
|
|
|
|
|
|
|
<util:font color="content.fg" size="content"><util:xlink>
|
|
|
|
<util:href type="servlet">conf/posts.js.vs?cc=<comm:ID/>&conf=<conf:ID/>&top=<topic:number/></util:href>
|
|
|
|
<util:text>Return to Topic</util:text>
|
|
|
|
</util:xlink></util:font><P>
|
|
|
|
|
|
|
|
<util:font color="content.fg" size="content">
|
2004-07-10 16:54:15 -06:00
|
|
|
<div align="left"><b>Topic Subscription:</b></div>
|
2002-01-06 19:05:37 -07:00
|
|
|
<topic:subscribed>
|
2004-07-10 16:54:15 -06:00
|
|
|
You are currently subscribed to this topic, and will receive all new posts to it via E-mail.<p />
|
|
|
|
<b><util:xlink>
|
2002-01-06 19:05:37 -07:00
|
|
|
<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>
|
2004-07-10 16:54:15 -06:00
|
|
|
</util:xlink></b>
|
2002-01-06 19:05:37 -07:00
|
|
|
</topic:subscribed>
|
|
|
|
<topic:not_subscribed>
|
|
|
|
You are not currently subscribed to this topic. When you subscribe to a topic, you will receive all new
|
2004-07-10 16:54:15 -06:00
|
|
|
posts to that topic via E-mail.<p />
|
|
|
|
<b><util:xlink>
|
2002-01-06 19:05:37 -07:00
|
|
|
<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>
|
2004-07-10 16:54:15 -06:00
|
|
|
</util:xlink></b>
|
2002-01-06 19:05:37 -07:00
|
|
|
</topic:not_subscribed>
|
2004-07-10 16:54:15 -06:00
|
|
|
<p /> <p />
|
2002-01-06 19:05:37 -07:00
|
|
|
|
|
|
|
<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
|
2004-07-10 16:54:15 -06:00
|
|
|
read this topic in the conference.<p />
|
|
|
|
<b><util:xlink>
|
2002-01-06 19:05:37 -07:00
|
|
|
<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>
|
2004-07-10 16:54:15 -06:00
|
|
|
</util:xlink></b>
|
|
|
|
</util:font><p /> <p />
|
2002-01-06 19:05:37 -07:00
|
|
|
</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) { %>
|
2004-07-10 16:54:15 -06:00
|
|
|
<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();
|
|
|
|
%>
|
2002-01-06 19:05:37 -07:00
|
|
|
<TR>
|
2004-07-10 16:54:15 -06:00
|
|
|
<td align="center" width="16"><util:xlink>
|
2002-01-06 19:05:37 -07:00
|
|
|
<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>
|
2004-07-10 16:54:15 -06:00
|
|
|
</util:xlink></td>
|
|
|
|
<td align="left" class="content"><util:font color="content.fg" size="content">
|
2002-01-06 19:05:37 -07:00
|
|
|
<<util:xlink>
|
|
|
|
<util:href type="servlet">user/<%= prof.getUserName() %></util:href>
|
|
|
|
<util:text><%= prof.getUserName() %></util:text>
|
|
|
|
</util:xlink>>
|
2004-07-10 16:54:15 -06:00
|
|
|
<% if (!(StringUtil.isStringEmpty(fullname))) { %>
|
|
|
|
<i><util:escape>(<%= fullname %>)</util:escape></i>
|
|
|
|
<% } // end if %>
|
|
|
|
</util:font></td>
|
|
|
|
</tr>
|
|
|
|
<% } // end for %>
|
|
|
|
</table><p />
|
2002-01-06 19:05:37 -07:00
|
|
|
|
2004-07-10 16:54:15 -06:00
|
|
|
<table align="center" border="0" cellpadding="2" cellspacing="0">
|
|
|
|
<tr valign="top">
|
|
|
|
<td align="center" width="16">
|
2002-01-06 19:05:37 -07:00
|
|
|
<util:image src="icn_x.gif" fixup="true" alt="Remove" width="16" height="16"/>
|
2004-07-10 16:54:15 -06:00
|
|
|
</td>
|
|
|
|
<td alig="left" class="content"><util:font color="content.fg" size="content">
|
2002-01-06 19:05:37 -07:00
|
|
|
Click this symbol to cease filtering this user in this topic.
|
2004-07-10 16:54:15 -06:00
|
|
|
</util:font></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2002-01-06 19:05:37 -07:00
|
|
|
<% } else { %>
|
2004-07-10 16:54:15 -06:00
|
|
|
<div align="center"><i>No users currently filtered.</i></div>
|
2002-01-06 19:05:37 -07:00
|
|
|
<% } // end if %>
|
|
|
|
</util:font>
|
2004-07-10 16:54:15 -06:00
|
|
|
<%-- EOF --%>
|