,
+ * 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):
+ */
+package com.silverwrist.venice.servlets.format;
+
+import java.util.*;
+import javax.servlet.*;
+import javax.servlet.http.*;
+import com.silverwrist.venice.core.*;
+
+public class Hotlist implements JSPRender
+{
+ /*--------------------------------------------------------------------------------
+ * Static data members
+ *--------------------------------------------------------------------------------
+ */
+
+ // Attribute name for request attribute
+ protected static final String ATTR_NAME = "com.silverwrist.venice.content.Hotlist";
+
+ /*--------------------------------------------------------------------------------
+ * Attributes
+ *--------------------------------------------------------------------------------
+ */
+
+ private UserContext uc;
+ private List hotlist;
+
+ /*--------------------------------------------------------------------------------
+ * Constructor
+ *--------------------------------------------------------------------------------
+ */
+
+ public Hotlist(UserContext uc) throws DataException
+ {
+ this.uc = uc;
+ this.hotlist = uc.getConferenceHotlist();
+
+ } // end constructor
+
+ /*--------------------------------------------------------------------------------
+ * External static functions
+ *--------------------------------------------------------------------------------
+ */
+
+ public static Hotlist retrieve(ServletRequest request)
+ {
+ return (Hotlist)(request.getAttribute(ATTR_NAME));
+
+ } // end retrieve
+
+ /*--------------------------------------------------------------------------------
+ * Implementations from interface VeniceContent
+ *--------------------------------------------------------------------------------
+ */
+
+ public String getPageTitle(RenderData rdat)
+ {
+ return "Your Conference Hotlist";
+
+ } // end getPageTitle
+
+ /*--------------------------------------------------------------------------------
+ * Implementations from interface JSPRender
+ *--------------------------------------------------------------------------------
+ */
+
+ public void store(ServletRequest request)
+ {
+ request.setAttribute(ATTR_NAME,this);
+
+ } // end store
+
+ public String getTargetJSPName()
+ {
+ return "hotlist.jsp";
+
+ } // end getTargetJSPName
+
+ /*--------------------------------------------------------------------------------
+ * External operations
+ *--------------------------------------------------------------------------------
+ */
+
+ public int getHotlistSize()
+ {
+ return hotlist.size();
+
+ } // end getHotlistSize
+
+ public ConferenceContext getConference(int ndx)
+ {
+ ConferenceHotlistEntry tmp = (ConferenceHotlistEntry)(hotlist.get(ndx));
+ return tmp.getConference();
+
+ } // end getConference
+
+} // end class Hotlist
diff --git a/src/com/silverwrist/venice/servlets/format/SideBoxConferences.java b/src/com/silverwrist/venice/servlets/format/SideBoxConferences.java
index 44d69ea..a3abf90 100644
--- a/src/com/silverwrist/venice/servlets/format/SideBoxConferences.java
+++ b/src/com/silverwrist/venice/servlets/format/SideBoxConferences.java
@@ -94,9 +94,12 @@ public class SideBoxConferences implements ContentRender
else
out.write(rdat.getStdFontTag(null,2) + "You have no conferences in your hotlist.\n");
- // write the link at the end
- out.write("" + rdat.getStdFontTag(null,1) + "[ Manage ]");
+ if (uc.isLoggedIn())
+ { // write the link at the end
+ out.write("
" + rdat.getStdFontTag(null,1) + "[ Manage ]");
+
+ } // end if
} // end renderHere
diff --git a/src/com/silverwrist/venice/servlets/format/SideBoxSIGs.java b/src/com/silverwrist/venice/servlets/format/SideBoxSIGs.java
index 99263d8..cdc6ae5 100644
--- a/src/com/silverwrist/venice/servlets/format/SideBoxSIGs.java
+++ b/src/com/silverwrist/venice/servlets/format/SideBoxSIGs.java
@@ -92,10 +92,12 @@ public class SideBoxSIGs implements ContentRender
else
out.write(rdat.getStdFontTag(null,2) + "You are not a member of any SIGs.\n");
- // write the two links at the end
- out.write("
" + rdat.getStdFontTag(null,1) + "[ Manage | Create New ]");
+ if (uc.isLoggedIn())
+ { // write the two links at the end
+ out.write("
" + rdat.getStdFontTag(null,1) + "[ Manage | Create New ]");
+ } // end if
} // end renderHere
diff --git a/src/com/silverwrist/venice/servlets/format/UserSIGList.java b/src/com/silverwrist/venice/servlets/format/UserSIGList.java
new file mode 100644
index 0000000..5c1102f
--- /dev/null
+++ b/src/com/silverwrist/venice/servlets/format/UserSIGList.java
@@ -0,0 +1,111 @@
+/*
+ * 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 .
+ *
+ * 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 ,
+ * 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):
+ */
+package com.silverwrist.venice.servlets.format;
+
+import java.util.*;
+import javax.servlet.*;
+import javax.servlet.http.*;
+import com.silverwrist.venice.core.*;
+
+public class UserSIGList implements JSPRender
+{
+ /*--------------------------------------------------------------------------------
+ * Static data members
+ *--------------------------------------------------------------------------------
+ */
+
+ // Attribute name for request attribute
+ protected static final String ATTR_NAME = "com.silverwrist.venice.content.Hotlist";
+
+ /*--------------------------------------------------------------------------------
+ * Attributes
+ *--------------------------------------------------------------------------------
+ */
+
+ private UserContext uc;
+ private List sig_list;
+
+ /*--------------------------------------------------------------------------------
+ * Constructor
+ *--------------------------------------------------------------------------------
+ */
+
+ public UserSIGList(UserContext uc) throws DataException
+ {
+ this.uc = uc;
+ this.sig_list = uc.getMemberSIGs();
+
+ } // end constructor
+
+ /*--------------------------------------------------------------------------------
+ * External static functions
+ *--------------------------------------------------------------------------------
+ */
+
+ public static UserSIGList retrieve(ServletRequest request)
+ {
+ return (UserSIGList)(request.getAttribute(ATTR_NAME));
+
+ } // end retrieve
+
+ /*--------------------------------------------------------------------------------
+ * Implementations from interface VeniceContent
+ *--------------------------------------------------------------------------------
+ */
+
+ public String getPageTitle(RenderData rdat)
+ {
+ return "Your SIGs";
+
+ } // end getPageTitle
+
+ /*--------------------------------------------------------------------------------
+ * Implementations from interface JSPRender
+ *--------------------------------------------------------------------------------
+ */
+
+ public void store(ServletRequest request)
+ {
+ request.setAttribute(ATTR_NAME,this);
+
+ } // end store
+
+ public String getTargetJSPName()
+ {
+ return "siglist.jsp";
+
+ } // end getTargetJSPName
+
+ /*--------------------------------------------------------------------------------
+ * External operations
+ *--------------------------------------------------------------------------------
+ */
+
+ public int getNumSIGs()
+ {
+ return sig_list.size();
+
+ } // end getNumSIGs
+
+ public SIGContext getSIG(int ndx)
+ {
+ return (SIGContext)(sig_list.get(ndx));
+
+ } // end getSIG
+
+} // end class UserSIGList
diff --git a/web/format/conf_sequence.jsp b/web/format/conf_sequence.jsp
new file mode 100644
index 0000000..db9903b
--- /dev/null
+++ b/web/format/conf_sequence.jsp
@@ -0,0 +1,140 @@
+<%--
+ 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 .
+
+ 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 ,
+ 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.*" %>
+<%
+ ConferenceSequence data = ConferenceSequence.retrieve(request);
+ Variables.failIfNull(data);
+ RenderData rdat = RenderConfig.createRenderData(application,request,response);
+%>
+<% if (rdat.useHTMLComments()) { %><% } %>
+<% rdat.writeContentHeader(out,"Manage Conference List",null); %>
+<%= rdat.getStdFontTag(null,2) %>
+ ">Return to Conference List
+
+<% if (data.getNumConferences()>0) { %>
+
+ <% for (int i=0; i
+ <%
+ ConferenceContext conf = data.getConference(i);
+ String partial = "confops?sig=" + data.getSIGID() + "&conf=" + conf.getConfID();
+ String tail, image, alt;
+ %>
+
+
+ <%
+ if (data.isConferenceHidden(conf))
+ { // conference is hidden - this command will show it
+ tail = "&cmd=SH&flag=0";
+ image = "icn_off.gif";
+ alt = "Hidden (toggle)";
+
+ } // end if
+ else
+ { // conference is non-hidden - this command will hide it
+ tail = "&cmd=SH&flag=1";
+ image = "icn_on.gif";
+ alt = "Displayed (toggle)";
+
+ } // end else
+ %>
+
+ |
+
+ <% if (i==(data.getNumConferences()-1)) { %> <% } else { %>
+ <% tail = "&cmd=SS&oc=" + data.getNextConfID(conf); %>
+ ALT="Move Down" BORDER=0 WIDTH=16
+ HEIGHT=16>
+ <% } // end if %>
+ |
+
+ <% if (i==0) { %> <% } else { %>
+ <% tail = "&cmd=SS&oc=" + data.getPrevConfID(conf); %>
+ ALT="Move Up" BORDER=0 WIDTH=16
+ HEIGHT=16>
+ <% } // end if %>
+ |
+
+ "> ALT="Remove" BORDER=0 WIDTH=16
+ HEIGHT=16>
+ |
+ <%= rdat.getStdFontTag(null,2) %>
+ <%= StringUtil.encodeHTML(conf.getName()) %>
+ |
+
+ <% } // end for %>
+
+
+
+
+
+ ALT="Displayed (toggle)" BORDER=0 WIDTH=16
+ HEIGHT=16>
+ |
+ <%= rdat.getStdFontTag(null,2) %>
+ This indicates that the conference is displayed in the SIG's conference list. Click the symbol
+ to hide it.
+ |
+
+
+
+ ALT="Hidden (toggle)" BORDER=0 WIDTH=16
+ HEIGHT=16>
+ |
+ <%= rdat.getStdFontTag(null,2) %>
+ This indicates that the conference is hidden in the SIG's conference list. Click the symbol
+ to display it.
+ |
+
+
+
+ ALT="Move Down" BORDER=0 WIDTH=16 HEIGHT=16>
+ |
+ <%= rdat.getStdFontTag(null,2) %>
+ Click this symbol to move the specified conference down in the SIG's conference list.
+ |
+
+
+
+ ALT="Move Up" BORDER=0 WIDTH=16 HEIGHT=16>
+ |
+ <%= rdat.getStdFontTag(null,2) %>
+ Click this symbol to move the specified conference up in the SIG's conference list.
+ |
+
+
+
+ ALT="Remove" BORDER=0 WIDTH=16 HEIGHT=16>
+ |
+ <%= rdat.getStdFontTag(null,2) %>
+ Click this symbol to delete the specified conference. You will be prompted to confirm this
+ action.
+ |
+
+
+<% } else { %>
+ <%= rdat.getStdFontTag(null,2) %>There are no conferences in this SIG.
+<% } // end if %>
+<% rdat.writeFooter(out); %>
diff --git a/web/format/conferences.jsp b/web/format/conferences.jsp
index b92e118..9db8cf6 100644
--- a/web/format/conferences.jsp
+++ b/web/format/conferences.jsp
@@ -55,11 +55,17 @@
<% } else { %>
No conferences found in this SIG.
<% } // end if (conferences present) %>
-<% if (data.canCreateConference()) { %>
-
-
+
+
-<% } // end if %>
+ SRC="<%= rdat.getFullImagePath("bn_create_new.gif") %>" ALT="Create New" WIDTH=80 HEIGHT=24
+ BORDER=0>
+ <% } // end if %>
+
<% rdat.writeFooter(out); %>
diff --git a/web/format/hotlist.jsp b/web/format/hotlist.jsp
new file mode 100644
index 0000000..2dfcbb0
--- /dev/null
+++ b/web/format/hotlist.jsp
@@ -0,0 +1,99 @@
+<%--
+ 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 .
+
+ 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 ,
+ 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.*" %>
+<%
+ Hotlist data = Hotlist.retrieve(request);
+ Variables.failIfNull(data);
+ RenderData rdat = RenderConfig.createRenderData(application,request,response);
+%>
+<% if (rdat.useHTMLComments()) { %><% } %>
+<% rdat.writeContentHeader(out,"Your Conference Hotlist",null); %>
+<%= rdat.getStdFontTag(null,2) %>
+ ">Return to Front Page
+
+<% if (data.getHotlistSize()>0) { %>
+
+
+
+
+ ALT="Move Down" BORDER=0 WIDTH=16 HEIGHT=16>
+ |
+ <%= rdat.getStdFontTag(null,2) %>
+ Click this symbol to move the specified conference down in your hotlist.
+ |
+
+
+
+ ALT="Move Up" BORDER=0 WIDTH=16 HEIGHT=16>
+ |
+ <%= rdat.getStdFontTag(null,2) %>
+ Click this symbol to move the specified conference up in your hotlist.
+ |
+
+
+
+ ALT="Remove" BORDER=0 WIDTH=16 HEIGHT=16>
+ |
+ <%= rdat.getStdFontTag(null,2) %>
+ Click this symbol to remove the specified conference from your hotlist.
+ |
+
+
+<% } else { %>
+ <%= rdat.getStdFontTag(null,2) %>
+ You have no conferences in your conference hotlist. You can add conferences to your hotlist
+ by visiting the conferences and pressing the "Add to Hotlist" button.
+
+<% } // end if %>
+<% rdat.writeFooter(out); %>
diff --git a/web/format/siglist.jsp b/web/format/siglist.jsp
new file mode 100644
index 0000000..89cb8b7
--- /dev/null
+++ b/web/format/siglist.jsp
@@ -0,0 +1,65 @@
+<%--
+ 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 .
+
+ 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 ,
+ 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.*" %>
+<%
+ UserSIGList data = UserSIGList.retrieve(request);
+ Variables.failIfNull(data);
+ RenderData rdat = RenderConfig.createRenderData(application,request,response);
+%>
+<% if (rdat.useHTMLComments()) { %><% } %>
+<% rdat.writeContentHeader(out,"Your SIGs",null); %>
+<%= rdat.getStdFontTag(null,2) %>
+ ">Return to Front Page
+
+<% if (data.getNumSIGs()>0) { %>
+
+
+
+
+
+ ALT="Unjoin" BORDER=0 WIDTH=16 HEIGHT=16>
+ |
+ <%= rdat.getStdFontTag(null,2) %>
+ Click this symbol to unjoin the specified SIG.
+ |
+
+
+<% } else { %>
+ <%= rdat.getStdFontTag(null,2) %>You are not a member of any SIGs.
+<% } // end if %>
+<% rdat.writeFooter(out); %>
diff --git a/web/images/icn_down.gif b/web/images/icn_down.gif
new file mode 100644
index 0000000..f430a9c
Binary files /dev/null and b/web/images/icn_down.gif differ
diff --git a/web/images/icn_off.gif b/web/images/icn_off.gif
new file mode 100644
index 0000000..99f4da0
Binary files /dev/null and b/web/images/icn_off.gif differ
diff --git a/web/images/icn_on.gif b/web/images/icn_on.gif
new file mode 100644
index 0000000..a4ed1a5
Binary files /dev/null and b/web/images/icn_on.gif differ
diff --git a/web/images/icn_transparent.gif b/web/images/icn_transparent.gif
new file mode 100644
index 0000000..f535955
Binary files /dev/null and b/web/images/icn_transparent.gif differ
diff --git a/web/images/icn_up.gif b/web/images/icn_up.gif
new file mode 100644
index 0000000..4eaed3f
Binary files /dev/null and b/web/images/icn_up.gif differ
diff --git a/web/images/icn_x.gif b/web/images/icn_x.gif
new file mode 100644
index 0000000..ed59ba9
Binary files /dev/null and b/web/images/icn_x.gif differ