,
+ for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
+ Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
+
+ Contributor(s):
+--%>
+<%@ page import = "java.util.*" %>
+<%@ page import = "com.silverwrist.util.StringUtil" %>
+<%@ page import = "com.silverwrist.venice.core.*" %>
+<%@ page import = "com.silverwrist.venice.servlets.Variables" %>
+<%@ page import = "com.silverwrist.venice.servlets.format.*" %>
+<%
+ PostSlippage data = PostSlippage.retrieve(request);
+ Variables.failIfNull(data);
+ RenderData rdat = RenderConfig.createRenderData(application,request,response);
+%>
+<% if (rdat.useHTMLComments()) { %><% } %>
+<% rdat.writeContentHeader(out,"Slippage or Double-Click Detected",null); %>
+<%= rdat.getStdFontTag(null,2) %>
+ The following posts slipped in while you were typing. You may choose to edit your message and
+ re-post, just post it as is, or cancel your posting altogether.
+
+
+<% if (rdat.useHTMLComments()) { %><% } %>
+<% Iterator it = data.getMessageIterator(); %>
+<% while (it.hasNext()) { %>
+ <%
+ TopicMessageContext msg = (TopicMessageContext)(it.next());
+ String poster = data.getPosterName(msg);
+ %>
+ <%= rdat.getStdFontTag(null,2) %>
+ <%= msg.getPostNumber() %> of <%= data.getTotalMessages() - 1 %>
+ <%= rdat.getStdFontTag(null,1) %><<%= "TODO" %>>
+ <%= msg.getPseud() %>
+ (
+ " TARGET="_blank"><%= poster %>,
+ <%= rdat.formatDateForDisplay(msg.getPostDate()) %>
+ )
+
+ <% if (msg.isScribbled()) { %>
+
+ (Scribbled by <%= data.getMessageBodyText(msg) %> on
+ <%= rdat.formatDateForDisplay(msg.getScribbleDate()) %>)
+
+ <% } else { %>
+
<%= data.getMessageBodyText(msg) %>
+ <% } // end if %>
+<% } // end while %>
+<% if (rdat.useHTMLComments()) { %><% } %>
+
+
<%= rdat.getStdFontTag(null,3) %>Post Message in "<%= data.getTopicName() %>":
+
+
+<% rdat.writeFooter(out); %>
+
+
diff --git a/web/format/topics.jsp b/web/format/topics.jsp
index 9e3008b..bdc7ce4 100644
--- a/web/format/topics.jsp
+++ b/web/format/topics.jsp
@@ -24,8 +24,7 @@
TopicListing data = TopicListing.retrieve(request);
Variables.failIfNull(data);
RenderData rdat = RenderConfig.createRenderData(application,request,response);
- String self = "confdisp?sig=" + String.valueOf(data.getSIGID()) + "&conf="
- + String.valueOf(data.getConfID());
+ String self = "confdisp?" + data.getLocator();
String tmp;
%>
<% if (rdat.useHTMLComments()) { %><% } %>
@@ -36,14 +35,14 @@
SRC="<%= rdat.getFullImagePath("bn_conference_list.gif") %>" ALT="Conference List" WIDTH=80 HEIGHT=24
BORDER=0>
<% if (data.canCreateTopic()) { %>
- <% tmp = "confops?sig=" + String.valueOf(data.getSIGID()) + "&conf="
- + String.valueOf(data.getConfID()) + "&cmd=T"; %>
-
"
- ALT="Add Topic" WIDTH=80 HEIGHT=24 BORDER=0>
+ <% tmp = rdat.getEncodedServletPath("confops?" + data.getLocator() + "&cmd=T"); %>
+
" ALT="Add Topic"
+ WIDTH=80 HEIGHT=24 BORDER=0>
<% } // end if %>
<% if (data.canDoReadNew()) { %>
-
"
- ALT="Read New" WIDTH=80 HEIGHT=24 BORDER=0>
+ ">
" ALT="Read New" WIDTH=80 HEIGHT=24
+ BORDER=0>
<% } // end if %>
"
ALT="Manage" WIDTH=80 HEIGHT=24 BORDER=0>
@@ -59,52 +58,61 @@
<% tmp = self + "&sort="
+ String.valueOf(data.isSort(ConferenceContext.SORT_NUMBER) ? -ConferenceContext.SORT_NUMBER
: ConferenceContext.SORT_NUMBER); %>
- #
+ #
<%= rdat.getStdFontTag(null,2) %>
<% tmp = self + "&sort="
+ String.valueOf(data.isSort(ConferenceContext.SORT_NAME) ? -ConferenceContext.SORT_NAME
: ConferenceContext.SORT_NAME); %>
- Topic Name
+ Topic Name
|
<%= rdat.getStdFontTag(null,2) %>
<% tmp = self + "&sort="
+ String.valueOf(data.isSort(ConferenceContext.SORT_UNREAD) ? -ConferenceContext.SORT_UNREAD
: ConferenceContext.SORT_UNREAD); %>
- New
+ New
|
<%= rdat.getStdFontTag(null,2) %>
<% tmp = self + "&sort="
+ String.valueOf(data.isSort(ConferenceContext.SORT_TOTAL) ? -ConferenceContext.SORT_TOTAL
: ConferenceContext.SORT_TOTAL); %>
- Total
+ Total
|
<%= rdat.getStdFontTag(null,2) %>
<% tmp = self + "&sort="
+ String.valueOf(data.isSort(ConferenceContext.SORT_DATE) ? -ConferenceContext.SORT_DATE
: ConferenceContext.SORT_DATE); %>
- Last Response
+ Last Response
|
<%= rdat.getStdFontTag(null,2) %> |
<% Iterator it = data.getTopicIterator(); %>
<% while (it.hasNext()) { %>
- <% TopicContext topic = (TopicContext)(it.next()); %>
+ <%
+ TopicContext topic = (TopicContext)(it.next());
+ tmp = self + "&top=" + String.valueOf(topic.getTopicNumber()) + "&rnm=1";
+ %>
<%= rdat.getStdFontTag(null,2) %>
- <%= topic.getTopicNumber() %>
+ <%= topic.getTopicNumber() %>
|
<%= rdat.getStdFontTag(null,2) %>
- <%= topic.getName() %>
+ <%= topic.getName() %>
+ <% if (topic.isArchived() && !(data.isView(ConferenceContext.DISPLAY_ARCHIVED))) { %>
+ (archived)
+ <% } else if (topic.isFrozen()) { %>
+ (frozen)
+ <% } // end if %>
|
<%= rdat.getStdFontTag(null,2) %>
- <%= topic.getUnreadMessages() %>
+ <%= topic.getUnreadMessages() %>
|
<%= rdat.getStdFontTag(null,2) %>
- <%= topic.getTotalMessages() %>
+ "><%= topic.getTotalMessages() %>
|
<%= rdat.getStdFontTag(null,2) %>
- <%= rdat.formatDateForDisplay(topic.getLastUpdateDate()) %>
+ <%= rdat.formatDateForDisplay(topic.getLastUpdateDate()) %>
|
<% } // end while (more topics in enumeration) %>
diff --git a/web/images/bn_archive_topic.gif b/web/images/bn_archive_topic.gif
new file mode 100644
index 0000000..fabfe17
Binary files /dev/null and b/web/images/bn_archive_topic.gif differ
diff --git a/web/images/bn_delete_topic.gif b/web/images/bn_delete_topic.gif
new file mode 100644
index 0000000..18b5ab3
Binary files /dev/null and b/web/images/bn_delete_topic.gif differ
diff --git a/web/images/bn_freeze_topic.gif b/web/images/bn_freeze_topic.gif
new file mode 100644
index 0000000..b9b5cb8
Binary files /dev/null and b/web/images/bn_freeze_topic.gif differ
diff --git a/web/images/bn_go.gif b/web/images/bn_go.gif
new file mode 100644
index 0000000..d878819
Binary files /dev/null and b/web/images/bn_go.gif differ
diff --git a/web/images/bn_hide.gif b/web/images/bn_hide.gif
new file mode 100644
index 0000000..21f49f5
Binary files /dev/null and b/web/images/bn_hide.gif differ
diff --git a/web/images/bn_hide_topic.gif b/web/images/bn_hide_topic.gif
new file mode 100644
index 0000000..1261a7b
Binary files /dev/null and b/web/images/bn_hide_topic.gif differ
diff --git a/web/images/bn_next_keep_new.gif b/web/images/bn_next_keep_new.gif
new file mode 100644
index 0000000..23c1039
Binary files /dev/null and b/web/images/bn_next_keep_new.gif differ
diff --git a/web/images/bn_next_topic.gif b/web/images/bn_next_topic.gif
new file mode 100644
index 0000000..17ea4c6
Binary files /dev/null and b/web/images/bn_next_topic.gif differ
diff --git a/web/images/bn_nuke.gif b/web/images/bn_nuke.gif
new file mode 100644
index 0000000..bed1d6c
Binary files /dev/null and b/web/images/bn_nuke.gif differ
diff --git a/web/images/bn_post_go_next.gif b/web/images/bn_post_go_next.gif
new file mode 100644
index 0000000..612ac73
Binary files /dev/null and b/web/images/bn_post_go_next.gif differ
diff --git a/web/images/bn_post_reload.gif b/web/images/bn_post_reload.gif
new file mode 100644
index 0000000..3a3bd31
Binary files /dev/null and b/web/images/bn_post_reload.gif differ
diff --git a/web/images/bn_scribble.gif b/web/images/bn_scribble.gif
new file mode 100644
index 0000000..6978473
Binary files /dev/null and b/web/images/bn_scribble.gif differ
diff --git a/web/images/bn_show.gif b/web/images/bn_show.gif
new file mode 100644
index 0000000..5b2970c
Binary files /dev/null and b/web/images/bn_show.gif differ
diff --git a/web/images/bn_show_topic.gif b/web/images/bn_show_topic.gif
new file mode 100644
index 0000000..6f3e856
Binary files /dev/null and b/web/images/bn_show_topic.gif differ
diff --git a/web/images/bn_topic_list.gif b/web/images/bn_topic_list.gif
new file mode 100644
index 0000000..2c55fe2
Binary files /dev/null and b/web/images/bn_topic_list.gif differ
diff --git a/web/images/bn_unarchive_topic.gif b/web/images/bn_unarchive_topic.gif
new file mode 100644
index 0000000..3b24cdc
Binary files /dev/null and b/web/images/bn_unarchive_topic.gif differ
diff --git a/web/images/bn_unfreeze_topic.gif b/web/images/bn_unfreeze_topic.gif
new file mode 100644
index 0000000..9100a9d
Binary files /dev/null and b/web/images/bn_unfreeze_topic.gif differ