implement move message between topics in a conference
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.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-02 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
--%>
|
||||
@@ -58,49 +58,7 @@
|
||||
<TABLE BORDER=0 WIDTH="100%" CELLPADDING=0 CELLSPACING=0>
|
||||
<TR VALIGN=BOTTOM>
|
||||
<TD NOWRAP ALIGN=LEFT COLSPAN=2 CLASS="content">
|
||||
<util:comment>Topic user controls section</util:comment>
|
||||
<util:xlink>
|
||||
<util:href type="servlet">conf/topics.js.vs?<%= base_locator %></util:href>
|
||||
<util:text><util:button id="topic_list"/></util:text>
|
||||
</util:xlink>
|
||||
|
||||
<% if (my_topic.isHidden()) { %>
|
||||
<util:xlink>
|
||||
<util:href type="servlet">conf/hide_topic.js.vs?<%= topic_locator %>&flag=0</util:href>
|
||||
<util:text><util:button id="show_topic"/></util:text>
|
||||
</util:xlink>
|
||||
<% } else { %>
|
||||
<util:xlink>
|
||||
<util:href type="servlet">conf/hide_topic.js.vs?<%= topic_locator %>&flag=1</util:href>
|
||||
<util:text><util:button id="hide_topic"/></util:text>
|
||||
</util:xlink>
|
||||
<% } // end if %>
|
||||
|
||||
<% if (view.canDoNextTopic()) { %>
|
||||
<util:xlink>
|
||||
<util:href type="servlet">conf/posts.js.vs?<%= next_locator %>&rnm=1</util:href>
|
||||
<util:text><util:button id="next_topic"/></util:text>
|
||||
</util:xlink>
|
||||
|
||||
<% if (my_unread>0) { %>
|
||||
<util:xlink>
|
||||
<util:href type="servlet">conf/posts.js.vs?<%= next_locator %>&rnm=1&<%= restorer %></util:href>
|
||||
<util:text><util:button id="next_topic_keep"/></util:text>
|
||||
</util:xlink>
|
||||
|
||||
<%
|
||||
} // end if
|
||||
} // end if
|
||||
%>
|
||||
<util:xlink>
|
||||
<util:href type="servlet">conf/find.js.vs?<%= topic_locator %></util:href>
|
||||
<util:text><util:button id="find"/></util:text>
|
||||
</util:xlink>
|
||||
|
||||
<util:xlink>
|
||||
<util:href type="servlet">conf/manage_topic.js.vs?<%= topic_locator %></util:href>
|
||||
<util:text><util:button id="manage"/></util:text>
|
||||
</util:xlink>
|
||||
<util:call_jsp name="conf/posts_usercontrols.jsp"/>
|
||||
</TD>
|
||||
</TR>
|
||||
<% out.flush(); response.flushBuffer(); %>
|
||||
@@ -388,6 +346,16 @@ conf/posts.js.vs?<%= topic_locator %>&p1=<%= my_last + 1 %>&p2=<%= Math.min(my_l
|
||||
</util:xlink><P>
|
||||
<%
|
||||
} // end if (can nuke)
|
||||
if (msg.canMove() && (my_topic.getTotalMessages()>1)) {
|
||||
%>
|
||||
<util:xlink>
|
||||
<util:href type="servlet">
|
||||
conf/move_message.js.vs?<%= topic_locator %>&msg=<%= msg.getPostNumber() %>
|
||||
</util:href>
|
||||
<util:text><util:button id="move"/></util:text>
|
||||
</util:xlink><P>
|
||||
<%
|
||||
} // end if (can move)
|
||||
if (msg.canPublish()) {
|
||||
%>
|
||||
<util:xlink>
|
||||
@@ -451,49 +419,7 @@ conf/posts.js.vs?<%= topic_locator %>&p1=<%= my_last + 1 %>&p2=<%= Math.min(my_l
|
||||
|
||||
<TR VALIGN=BOTTOM>
|
||||
<TD NOWRAP ALIGN=LEFT COLSPAN=2 CLASS="content">
|
||||
<util:comment>Topic user controls section</util:comment>
|
||||
<util:xlink>
|
||||
<util:href type="servlet">conf/topics.js.vs?<%= base_locator %></util:href>
|
||||
<util:text><util:button id="topic_list"/></util:text>
|
||||
</util:xlink>
|
||||
|
||||
<% if (my_topic.isHidden()) { %>
|
||||
<util:xlink>
|
||||
<util:href type="servlet">conf/hide_topic.js.vs?<%= topic_locator %>&flag=0</util:href>
|
||||
<util:text><util:button id="show_topic"/></util:text>
|
||||
</util:xlink>
|
||||
<% } else { %>
|
||||
<util:xlink>
|
||||
<util:href type="servlet">conf/hide_topic.js.vs?<%= topic_locator %>&flag=1</util:href>
|
||||
<util:text><util:button id="hide_topic"/></util:text>
|
||||
</util:xlink>
|
||||
<% } // end if %>
|
||||
|
||||
<% if (view.canDoNextTopic()) { %>
|
||||
<util:xlink>
|
||||
<util:href type="servlet">conf/posts.js.vs?<%= next_locator %>&rnm=1</util:href>
|
||||
<util:text><util:button id="next_topic"/></util:text>
|
||||
</util:xlink>
|
||||
|
||||
<% if (my_unread>0) { %>
|
||||
<util:xlink>
|
||||
<util:href type="servlet">conf/posts.js.vs?<%= next_locator %>&rnm=1&<%= restorer %></util:href>
|
||||
<util:text><util:button id="next_topic_keep"/></util:text>
|
||||
</util:xlink>
|
||||
|
||||
<%
|
||||
} // end if
|
||||
} // end if
|
||||
%>
|
||||
<util:xlink>
|
||||
<util:href type="servlet">conf/find.js.vs?<%= topic_locator %></util:href>
|
||||
<util:text><util:button id="find"/></util:text>
|
||||
</util:xlink>
|
||||
|
||||
<util:xlink>
|
||||
<util:href type="servlet">conf/manage_topic.js.vs?<%= topic_locator %></util:href>
|
||||
<util:text><util:button id="manage"/></util:text>
|
||||
</util:xlink>
|
||||
<util:call_jsp name="conf/posts_usercontrols.jsp"/>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
Reference in New Issue
Block a user