venice-main-classic/web/format/conf/manage_topic.jsp

116 lines
5.2 KiB
Plaintext

<%--
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@ricochet.com>,
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
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.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">
<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>
<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>
</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>
<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>
</topic:not_subscribed>
<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>
<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 />
</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">
<% 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>
<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">
&lt;<util:xlink>
<util:href type="servlet">user/<%= prof.getUserName() %></util:href>
<util:text><%= prof.getUserName() %></util:text>
</util:xlink>&gt;
<% 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">
<util:image src="icn_x.gif" fixup="true" alt="Remove" width="16" height="16"/>
</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>
<% } else { %>
<div align="center"><i>No users currently filtered.</i></div>
<% } // end if %>
</util:font>
<%-- EOF --%>