first round of NRPA changes:

- added color customization in render-config.xml
- added ability to scale size of Venice logo in footer
- added ability to customize size of site logo, as well as add a hyperlink
- moved to use of LOG4J 1.1.3, LOG4J now installed in Venice lib directory
  instead of in JRE extensions directory (only Java extensions should go in
  JRE extensions directory)
- close to requiring JAXP 1.1 (will still work with 1.0 though)
This commit is contained in:
Eric J. Bowersox 2001-10-22 22:11:58 +00:00
parent 2db3b44e7e
commit bdc6977680
48 changed files with 553 additions and 261 deletions

10
INSTALL
View File

@ -15,7 +15,7 @@ Software requirements:
* JavaMail API version 1.2, available from http://java.sun.com. * JavaMail API version 1.2, available from http://java.sun.com.
* JavaBeans Activation Framework (JAF) version 1.0.1, available from * JavaBeans Activation Framework (JAF) version 1.0.1, available from
http://java.sun.com. (Required by JavaMail.) http://java.sun.com. (Required by JavaMail.)
* Apache Jakarta LOG4J library 1.0.x, available from * Apache Jakarta LOG4J library 1.1.x, available from
http://jakarta.apache.org. http://jakarta.apache.org.
* MySQL 3.23.x (get the most recent 3.23 version), available from * MySQL 3.23.x (get the most recent 3.23 version), available from
http://www.mysql.com. http://www.mysql.com.
@ -29,8 +29,8 @@ Software requirements:
otherwise there will be a problem with file uploads (Bug#526 in the Apache otherwise there will be a problem with file uploads (Bug#526 in the Apache
Jakarta Bug Database). Jakarta Bug Database).
It is recommended that you install JAXP, JSSE, JavaMail, JAF, and LOG4J It is recommended that you install JAXP, JSSE, JavaMail, and JAF by copying
by copying or symbolically linking their JAR files to the <jdk>/jre/lib/ext or symbolically linking their JAR files to the <jdk>/jre/lib/ext
directory, to avoid creating a huge CLASSPATH variable. The JDK /bin directory, to avoid creating a huge CLASSPATH variable. The JDK /bin
subdirectory should be in your PATH, naturally. subdirectory should be in your PATH, naturally.
@ -47,6 +47,10 @@ Setting Up:
deployment directory, and three parameters in web.xml point to them, so deployment directory, and three parameters in web.xml point to them, so
those parameters will have to be modified. those parameters will have to be modified.
The MySQL JDBC driver (mysql.jar) and the LOG4J JAR file (log4j.jar) need
to be copied to the "lib" subdirectory. The build process will copy them
to the "WEB-INF/lib" subdirectory of the deployment directory.
Also modify the three configuration files to suit your system layout. Also modify the three configuration files to suit your system layout.
Each file is reasonably commented, so you should be able to figure it out Each file is reasonably commented, so you should be able to figure it out
based on your directory location and your Tomcat configuration. based on your directory location and your Tomcat configuration.

View File

@ -56,8 +56,14 @@
<!-- Compile all the Java source --> <!-- Compile all the Java source -->
<target name="compile" depends="prepare"> <target name="compile" depends="prepare">
<javac srcdir="src" destdir="${deploy.home}/WEB-INF/classes" classpath="${deploy.home}/WEB-INF/classes" <javac srcdir="src" destdir="${deploy.home}/WEB-INF/classes" debug="on" optimize="off" deprecation="on">
debug="on" optimize="off" deprecation="off"/> <classpath>
<fileset dir="${deploy.home}/WEB-INF/lib">
<include name="**/*.jar"/>
</fileset>
<pathelement location="${deploy.home}/WEB-INF/classes"/>
</classpath>
</javac>
<copy todir="${deploy.home}/WEB-INF/classes"> <copy todir="${deploy.home}/WEB-INF/classes">
<fileset dir="src" includes="**/*.properties"/> <fileset dir="src" includes="**/*.properties"/>
</copy> </copy>

View File

@ -1,5 +1,5 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!DOCTYPE configuration SYSTEM "log4j.dtd"> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<!-- <!--
The contents of this file are subject to the Mozilla Public License Version 1.1 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. (the "License"); you may not use this file except in compliance with the License.
@ -17,7 +17,7 @@
Contributor(s): Contributor(s):
--> -->
<configuration> <log4j:configuration>
<!-- Define the standard file appender. --> <!-- Define the standard file appender. -->
<appender name="STDLOG" class="org.apache.log4j.RollingFileAppender"> <appender name="STDLOG" class="org.apache.log4j.RollingFileAppender">
@ -44,7 +44,7 @@
<priority value="fatal"/> <priority value="fatal"/>
</category> </category>
</configuration> </log4j:configuration>

View File

@ -41,6 +41,33 @@
<!-- Specifies the default <FONT FACE=""> to use for all text. --> <!-- Specifies the default <FONT FACE=""> to use for all text. -->
<font>Arial, Helvetica</font> <font>Arial, Helvetica</font>
<!-- Various HTML colors to render portions of the interface in. Note that these may either be
standard HTML color names or #RRGGBB color values. -->
<colors>
<frame-bg>#9999FF</frame-bg> <!-- outer frame background -->
<title-bg>#6666CC</title-bg> <!-- title background -->
<title-fg>white</title-fg> <!-- title foreground -->
<title-link>yellow</title-link> <!-- title links -->
<left-bg>#9999FF</left-bg> <!-- left menu bar background -->
<left-fg>black</left-fg> <!-- left menu bar foreground -->
<content-bg>white</content-bg> <!-- content background -->
<content-fg>black</content-fg> <!-- content text -->
<content-hdr>#3333AA</content-hdr> <!-- content header text -->
<content-disabled>silver</content-disabled> <!-- disabled text -->
<content-error>#660000</content-error> <!-- error message text -->
<sidebox-title-bg>#6666CC</sidebox-title-bg> <!-- background of sidebox title (front page) -->
<sidebox-title-fg>white</sidebox-title-fg> <!-- foreground of sidebox title (front page) -->
<sidebox-content-bg>#9999FF</sidebox-content-bg> <!-- background of sidebox content (front page) -->
<sidebox-content-fg>black</sidebox-content-fg> <!-- foreground of sidebox content (front page) -->
<confirm-title-bg>#006600</confirm-title-bg> <!-- background of confirm box title bar -->
<confirm-title-fg>white</confirm-title-fg> <!-- foreground of confirm box title bar -->
<error-title-bg>#660000</error-title-bg> <!-- background of error box title bar -->
<error-title-fg>white</error-title-fg> <!-- foreground of error box title bar -->
</colors>
<!-- Footer logo scaling expressed as a percentage of full size. -->
<footer-logo-scale>100</footer-logo-scale>
</rendering> </rendering>
<!-- Used to configure URL paths to various global resources. --> <!-- Used to configure URL paths to various global resources. -->
@ -51,8 +78,12 @@
<!-- Base URL for all static pages linked to by the engine. MUST include the trailing slash. --> <!-- Base URL for all static pages linked to by the engine. MUST include the trailing slash. -->
<static>/venice/static/</static> <static>/venice/static/</static>
<!-- The site-relative URL to the site logo. The image should be 140x80 pixels. --> <!-- The site-relative URL to the site logo. The image should be 140x80 pixels, unless overridden
<site-logo>/venice/images/powered-by-venice.gif</site-logo> by the "width" and "height" attributes. The optional "href" attribute is where clicking on
the site logo should link to. -->
<site-logo width="140" height="80"
href="http://venice.sourceforge.net">/venice/images/powered-by-venice.gif</site-logo>
</paths> </paths>
<!-- Contains standard messages displayed by front end --> <!-- Contains standard messages displayed by front end -->

1
lib/.gitignore vendored
View File

@ -1 +1,2 @@
log4j.jar
mysql.jar mysql.jar

View File

@ -1,2 +1,2 @@
When you download the MySQL JDBC driver, put the "mysql.jar" file in this When you download the MySQL JDBC driver, put the "mysql.jar" file in this
directory. directory. Also put the Apache Jakarta LOG4J "log4j.jar" file here.

View File

@ -7,7 +7,7 @@
* WARRANTY OF ANY KIND, either express or implied. See the License for the specific * WARRANTY OF ANY KIND, either express or implied. See the License for the specific
* language governing rights and limitations under the License. * language governing rights and limitations under the License.
* *
* The Original Code is the Venice Web Community System. * The Original Code is the Venice Web Communities System.
* *
* The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>, * 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 * for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
@ -21,19 +21,28 @@ import org.w3c.dom.*;
public class DOMElementHelper public class DOMElementHelper
{ {
/*--------------------------------------------------------------------------------
* Attributes
*--------------------------------------------------------------------------------
*/
private Element elt; // element housed by this helper class private Element elt; // element housed by this helper class
/*--------------------------------------------------------------------------------
* Constructor
*--------------------------------------------------------------------------------
*/
public DOMElementHelper(Element elt) public DOMElementHelper(Element elt)
{ {
this.elt = elt; this.elt = elt;
} // end constructor } // end constructor
protected void finalize() /*--------------------------------------------------------------------------------
{ * Internal static operations
elt = null; *--------------------------------------------------------------------------------
*/
} // end finalize
private static String getTextOfElement(Element e) private static String getTextOfElement(Element e)
{ {
@ -64,6 +73,11 @@ public class DOMElementHelper
} // end getTextOfElement } // end getTextOfElement
/*--------------------------------------------------------------------------------
* External operations
*--------------------------------------------------------------------------------
*/
public Element getElement() public Element getElement()
{ {
return elt; return elt;
@ -110,6 +124,24 @@ public class DOMElementHelper
} // end hasChildElement } // end hasChildElement
public Integer getAttributeInt(String name)
{
String tmp = elt.getAttribute(name);
if (StringUtil.isStringEmpty(tmp))
return null;
try
{ // convert to an Integer
return new Integer(tmp);
} // end try
catch (NumberFormatException nfe)
{ // return a null value on error
return null;
} // end catch
} // end getAttributeInt
} // end DOMElementHelper } // end DOMElementHelper

View File

@ -22,7 +22,7 @@ import java.util.*;
import com.silverwrist.util.StringUtil; import com.silverwrist.util.StringUtil;
import com.silverwrist.venice.core.*; import com.silverwrist.venice.core.*;
public class AuditDataViewer implements ContentRender public class AuditDataViewer implements ContentRender, ColorSelectors
{ {
/*-------------------------------------------------------------------------------- /*--------------------------------------------------------------------------------
* Attributes * Attributes
@ -85,10 +85,10 @@ public class AuditDataViewer implements ContentRender
rdat.writeContentHeader(out,title,null); rdat.writeContentHeader(out,title,null);
// Write the informational and navigational table // Write the informational and navigational table
out.write("<TABLE WIDTH=\"100%\" BORDER=0><TR VALIGN=MIDDLE><TD ALIGN=LEFT>" + rdat.getStdFontTag(null,2)); out.write("<TABLE WIDTH=\"100%\" BORDER=0><TR VALIGN=MIDDLE><TD ALIGN=LEFT>"
out.write("\nDisplaying records <B>" + (offset+1) + "</B> to <B>" + last_index + "</B> of <B>" + rdat.getStdFontTag(CONTENT_FOREGROUND,2) + "\nDisplaying records <B>" + (offset+1)
+ total_count + "</B>\n"); + "</B> to <B>" + last_index + "</B> of <B>" + total_count + "</B>\n"
out.write("</FONT></TD><TD ALIGN=RIGHT>\n"); + "</FONT></TD><TD ALIGN=RIGHT>\n");
if (prev_url==null) if (prev_url==null)
out.write("<IMG SRC=\"" + rdat.getFullImagePath("bn_transparent.gif") out.write("<IMG SRC=\"" + rdat.getFullImagePath("bn_transparent.gif")
+ "\" ALT=\"\" WIDTH=80 HEIGHT=24 BORDER=0>\n"); + "\" ALT=\"\" WIDTH=80 HEIGHT=24 BORDER=0>\n");
@ -107,7 +107,7 @@ public class AuditDataViewer implements ContentRender
out.write("\n</TD></TR></TABLE>\n"); out.write("\n</TD></TR></TABLE>\n");
// Start writing the table containing the actual audit records. // Start writing the table containing the actual audit records.
String tb_font = rdat.getStdFontTag(null,2); String tb_font = rdat.getStdFontTag(CONTENT_FOREGROUND,2);
out.write("<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=3>\n"); out.write("<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=3>\n");
out.write("<TR>\n<TH ALIGN=LEFT NOWRAP>" + tb_font + "<B>Date/Time</B></FONT></TH>\n"); out.write("<TR>\n<TH ALIGN=LEFT NOWRAP>" + tb_font + "<B>Date/Time</B></FONT></TH>\n");
out.write("<TH ALIGN=LEFT NOWRAP>" + tb_font + "<B>Description</B></FONT></TH>\n"); out.write("<TH ALIGN=LEFT NOWRAP>" + tb_font + "<B>Description</B></FONT></TH>\n");

View File

@ -22,7 +22,7 @@ import java.io.IOException;
import com.silverwrist.util.StringUtil; import com.silverwrist.util.StringUtil;
import com.silverwrist.venice.ValidationException; import com.silverwrist.venice.ValidationException;
public abstract class CDBaseFormField implements CDFormField public abstract class CDBaseFormField implements CDFormField, ColorSelectors
{ {
private String name; private String name;
private String caption; private String caption;
@ -67,17 +67,15 @@ public abstract class CDBaseFormField implements CDFormField
public void renderHere(Writer out, RenderData rdat) throws IOException public void renderHere(Writer out, RenderData rdat) throws IOException
{ {
out.write("<TR VALIGN=MIDDLE>\n<TD ALIGN=RIGHT>"); out.write("<TR VALIGN=MIDDLE>\n<TD ALIGN=RIGHT><FONT COLOR=\""
if (!enabled) + rdat.getStdColor(enabled ? CONTENT_FOREGROUND : CONTENT_DISABLED) + "\">"
out.write("<FONT COLOR=\"silver\">"); + StringUtil.encodeHTML(caption));
out.write(StringUtil.encodeHTML(caption));
if (caption2!=null) if (caption2!=null)
out.write(" " + StringUtil.encodeHTML(caption2)); out.write(" " + StringUtil.encodeHTML(caption2));
if (!enabled) out.write(":</FONT>");
out.write("</FONT>");
if (required) if (required)
out.write(rdat.getRequiredBullet()); out.write(rdat.getRequiredBullet());
out.write(":</TD>\n<TD ALIGN=LEFT>"); out.write("</TD>\n<TD ALIGN=LEFT>");
renderActualField(out,rdat); renderActualField(out,rdat);
out.write("</TD>\n</TR>\n"); out.write("</TD>\n</TR>\n");

View File

@ -22,7 +22,7 @@ import java.io.IOException;
import com.silverwrist.util.StringUtil; import com.silverwrist.util.StringUtil;
import com.silverwrist.venice.ValidationException; import com.silverwrist.venice.ValidationException;
public abstract class CDBaseFormFieldReverse implements CDFormField public abstract class CDBaseFormFieldReverse implements CDFormField, ColorSelectors
{ {
private String name; private String name;
private String caption; private String caption;
@ -69,13 +69,11 @@ public abstract class CDBaseFormFieldReverse implements CDFormField
{ {
out.write("<TR VALIGN=MIDDLE>\n<TD ALIGN=RIGHT>"); out.write("<TR VALIGN=MIDDLE>\n<TD ALIGN=RIGHT>");
renderActualField(out,rdat); renderActualField(out,rdat);
out.write("</TD>\n<TD ALIGN=LEFT>"); out.write("</TD>\n<TD ALIGN=LEFT><FONT COLOR=\""
if (!enabled) + rdat.getStdColor(enabled ? CONTENT_FOREGROUND : CONTENT_DISABLED) + "\">"
out.write("<FONT COLOR=\"silver\">"); + StringUtil.encodeHTML(caption));
out.write(StringUtil.encodeHTML(caption));
if (caption2!=null) if (caption2!=null)
out.write(" " + StringUtil.encodeHTML(caption2)); out.write(" " + StringUtil.encodeHTML(caption2));
if (!enabled)
out.write("</FONT>"); out.write("</FONT>");
if (required) if (required)
out.write(rdat.getRequiredBullet()); out.write(rdat.getRequiredBullet());

View File

@ -23,7 +23,7 @@ import javax.servlet.ServletRequest;
import com.silverwrist.util.StringUtil; import com.silverwrist.util.StringUtil;
import com.silverwrist.venice.ValidationException; import com.silverwrist.venice.ValidationException;
public class CDFormCategoryHeader implements CDFormField public class CDFormCategoryHeader implements CDFormField, ColorSelectors
{ {
private String caption; private String caption;
private String rtext; private String rtext;
@ -55,25 +55,14 @@ public class CDFormCategoryHeader implements CDFormField
public void renderHere(Writer out, RenderData rdat) throws IOException public void renderHere(Writer out, RenderData rdat) throws IOException
{ {
out.write("<TR VALIGN=MIDDLE><TD ALIGN=RIGHT>"); out.write("<TR VALIGN=MIDDLE><TD ALIGN=RIGHT><FONT COLOR=\""
if (!enabled) + rdat.getStdColor(enabled ? CONTENT_FOREGROUND : CONTENT_DISABLED) + "\"><B>"
out.write("<FONT COLOR=\"silver\">"); + StringUtil.encodeHTML(caption) + ":</B></FONT></TD><TD ALIGN=LEFT>");
out.write("<B>" + StringUtil.encodeHTML(caption) + ":</B>");
if (!enabled)
out.write("</FONT>");
out.write("</TD><TD ALIGN=LEFT>");
if (rtext==null) if (rtext==null)
out.write("&nbsp;"); out.write("&nbsp;");
else else // display in the correct state
{ // display in the correct state out.write("<FONT COLOR=\"" + rdat.getStdColor(enabled ? CONTENT_FOREGROUND : CONTENT_DISABLED) + "\">"
if (!enabled) + StringUtil.encodeHTML(rtext) + "</FONT>");
out.write("<FONT COLOR=\"silver\">");
out.write(StringUtil.encodeHTML(rtext));
if (!enabled)
out.write("</FONT>");
} // end else
out.write("</TD></TR>\n"); out.write("</TD></TR>\n");
} // end renderHere } // end renderHere

View File

@ -0,0 +1,60 @@
/*
* 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@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.
*
* Contributor(s):
*/
package com.silverwrist.venice.servlets.format;
public interface ColorSelectors
{
public static final int FRAME_BACKGROUND = 0;
public static final int TITLE_BACKGROUND = 1;
public static final int TITLE_FOREGROUND = 2;
public static final int TITLE_LINK = 3;
public static final int LEFT_BACKGROUND = 4;
public static final int LEFT_FOREGROUND = 5;
public static final int CONTENT_BACKGROUND = 6;
public static final int CONTENT_FOREGROUND = 7;
public static final int CONTENT_HEADER = 8;
public static final int CONTENT_DISABLED = 9;
public static final int CONTENT_ERROR = 10;
public static final int SIDEBOX_TITLE_BACKGROUND = 11;
public static final int SIDEBOX_TITLE_FOREGROUND = 12;
public static final int SIDEBOX_CONTENT_BACKGROUND = 13;
public static final int SIDEBOX_CONTENT_FOREGROUND = 14;
public static final int CONFIRM_TITLE_BACKGROUND = 15;
public static final int CONFIRM_TITLE_FOREGROUND = 16;
public static final int ERROR_TITLE_BACKGROUND = 17;
public static final int ERROR_TITLE_FOREGROUND = 18;
} // end class ColorSelectors

View File

@ -24,7 +24,7 @@ import javax.servlet.*;
import javax.servlet.http.*; import javax.servlet.http.*;
import com.silverwrist.util.StringUtil; import com.silverwrist.util.StringUtil;
public class ConfirmBox implements ContentRender public class ConfirmBox implements ContentRender, ColorSelectors
{ {
/*-------------------------------------------------------------------------------- /*--------------------------------------------------------------------------------
* Static data members * Static data members
@ -111,10 +111,11 @@ public class ConfirmBox implements ContentRender
public void renderHere(Writer out, RenderData rdat) throws IOException public void renderHere(Writer out, RenderData rdat) throws IOException
{ {
out.write("<P><TABLE ALIGN=CENTER WIDTH=\"70%\" BORDER=1 CELLPADDING=2 CELLSPACING=1>"); out.write("<P><TABLE ALIGN=CENTER WIDTH=\"70%\" BORDER=1 CELLPADDING=2 CELLSPACING=1>");
out.write("<TR VALIGN=MIDDLE><TD ALIGN=CENTER BGCOLOR=\"#006600\">\n"); out.write("<TR VALIGN=MIDDLE><TD ALIGN=CENTER BGCOLOR=\"" + rdat.getStdColor(CONFIRM_TITLE_BACKGROUND)
out.write(rdat.getStdFontTag("white",3) + StringUtil.encodeHTML(title) + "</FONT>\n"); + "\">\n");
out.write(rdat.getStdFontTag(CONFIRM_TITLE_FOREGROUND,3) + StringUtil.encodeHTML(title) + "</FONT>\n");
out.write("</TD></TR><TR VALIGN=MIDDLE><TD ALIGN=CENTER>\n"); out.write("</TD></TR><TR VALIGN=MIDDLE><TD ALIGN=CENTER>\n");
out.write(rdat.getStdFontTag(null,3) + "<P>" + StringUtil.encodeHTML(message) + "<P>\n"); out.write(rdat.getStdFontTag(CONTENT_FOREGROUND,3) + "<P>" + StringUtil.encodeHTML(message) + "<P>\n");
out.write("<A HREF=\"" + rdat.getEncodedServletPath(confirm_url) + "\">"); out.write("<A HREF=\"" + rdat.getEncodedServletPath(confirm_url) + "\">");
out.write("<IMG SRC=\"" + rdat.getFullImagePath("bn_yes.gif") out.write("<IMG SRC=\"" + rdat.getFullImagePath("bn_yes.gif")
+ "\" ALT=\"Yes\" WIDTH=80 HEIGHT=24 BORDER=0></A>&nbsp;&nbsp;\n"); + "\" ALT=\"Yes\" WIDTH=80 HEIGHT=24 BORDER=0></A>&nbsp;&nbsp;\n");

View File

@ -24,7 +24,7 @@ import javax.servlet.ServletRequest;
import com.silverwrist.util.StringUtil; import com.silverwrist.util.StringUtil;
import com.silverwrist.venice.ValidationException; import com.silverwrist.venice.ValidationException;
public class ContentDialog implements Cloneable, ContentRender public class ContentDialog implements Cloneable, ContentRender, ColorSelectors
{ {
/*-------------------------------------------------------------------------------- /*--------------------------------------------------------------------------------
* Attributes * Attributes
@ -148,7 +148,7 @@ public class ContentDialog implements Cloneable, ContentRender
if (error_message!=null) if (error_message!=null)
{ // print the error message { // print the error message
out.write("<TABLE BORDER=0 ALIGN=CENTER CELLPADDING=6 CELLSPACING=0><TR VALIGN=TOP>" out.write("<TABLE BORDER=0 ALIGN=CENTER CELLPADDING=6 CELLSPACING=0><TR VALIGN=TOP>"
+ "<TD ALIGN=CENTER>\n" + rdat.getStdFontTag("#660000",3) + "<B>"); + "<TD ALIGN=CENTER>\n" + rdat.getStdFontTag(CONTENT_ERROR,3) + "<B>");
out.write(StringUtil.encodeHTML(error_message)); out.write(StringUtil.encodeHTML(error_message));
out.write("</B></FONT>\n</TD></TR></TABLE>\n"); out.write("</B></FONT>\n</TD></TR></TABLE>\n");
@ -156,7 +156,7 @@ public class ContentDialog implements Cloneable, ContentRender
// Output the start of the form // Output the start of the form
out.write("<FORM NAME=\"" + formname + "\" METHOD=POST ACTION=\""); out.write("<FORM NAME=\"" + formname + "\" METHOD=POST ACTION=\"");
out.write(rdat.getEncodedServletPath(action) + "\">" + rdat.getStdFontTag(null,2) + "\n"); out.write(rdat.getEncodedServletPath(action) + "\">" + rdat.getStdFontTag(CONTENT_FOREGROUND,2) + "\n");
enum = hidden_fields.keys(); enum = hidden_fields.keys();
while (enum.hasMoreElements()) while (enum.hasMoreElements())

View File

@ -22,7 +22,7 @@ import java.io.Writer;
import java.io.IOException; import java.io.IOException;
import com.silverwrist.util.StringUtil; import com.silverwrist.util.StringUtil;
public class ContentMenuPanel implements Cloneable, ContentRender public class ContentMenuPanel implements Cloneable, ContentRender, ColorSelectors
{ {
/*-------------------------------------------------------------------------------- /*--------------------------------------------------------------------------------
* Internal class for storing content items * Internal class for storing content items
@ -127,7 +127,7 @@ public class ContentMenuPanel implements Cloneable, ContentRender
out.write("<TR VALIGN=MIDDLE>\n<TD ALIGN=CENTER WIDTH=14><IMG SRC=\"" out.write("<TR VALIGN=MIDDLE>\n<TD ALIGN=CENTER WIDTH=14><IMG SRC=\""
+ rdat.getFullImagePath("purple-ball.gif") + rdat.getFullImagePath("purple-ball.gif")
+ "\" ALT=\"*\" WIDTH=14 HEIGHT=14 BORDER=0></TD>\n<TD ALIGN=LEFT>"); + "\" ALT=\"*\" WIDTH=14 HEIGHT=14 BORDER=0></TD>\n<TD ALIGN=LEFT>");
out.write(rdat.getStdFontTag(null,2)); out.write(rdat.getStdFontTag(CONTENT_FOREGROUND,2));
ContentMenuPanelItem item = (ContentMenuPanelItem)(it.next()); ContentMenuPanelItem item = (ContentMenuPanelItem)(it.next());
item.renderHere(out,rdat,params); item.renderHere(out,rdat,params);
out.write("</FONT></TD>\n</TR>\n"); out.write("</FONT></TD>\n</TR>\n");

View File

@ -22,7 +22,7 @@ import java.io.IOException;
import com.silverwrist.util.StringUtil; import com.silverwrist.util.StringUtil;
import com.silverwrist.venice.servlets.VeniceServletResult; import com.silverwrist.venice.servlets.VeniceServletResult;
public class ErrorBox extends VeniceServletResult implements ContentRender public class ErrorBox extends VeniceServletResult implements ContentRender, ColorSelectors
{ {
/*-------------------------------------------------------------------------------- /*--------------------------------------------------------------------------------
* Attributes * Attributes
@ -69,10 +69,11 @@ public class ErrorBox extends VeniceServletResult implements ContentRender
public void renderHere(Writer out, RenderData rdat) throws IOException public void renderHere(Writer out, RenderData rdat) throws IOException
{ {
out.write("<P><TABLE ALIGN=CENTER WIDTH=\"70%\" BORDER=1 CELLPADDING=2 CELLSPACING=1>"); out.write("<P><TABLE ALIGN=CENTER WIDTH=\"70%\" BORDER=1 CELLPADDING=2 CELLSPACING=1>");
out.write("<TR VALIGN=MIDDLE><TD ALIGN=CENTER BGCOLOR=\"#660000\">\n"); out.write("<TR VALIGN=MIDDLE><TD ALIGN=CENTER BGCOLOR=\"" + rdat.getStdColor(ERROR_TITLE_BACKGROUND)
out.write(rdat.getStdFontTag("white",3) + StringUtil.encodeHTML(title) + "</FONT>\n"); + "\">\n");
out.write(rdat.getStdFontTag(ERROR_TITLE_FOREGROUND,3) + StringUtil.encodeHTML(title) + "</FONT>\n");
out.write("</TD></TR><TR VALIGN=MIDDLE><TD ALIGN=CENTER>\n"); out.write("</TD></TR><TR VALIGN=MIDDLE><TD ALIGN=CENTER>\n");
out.write(rdat.getStdFontTag(null,3) + "<P>" + StringUtil.encodeHTML(message) + "<P>\n"); out.write(rdat.getStdFontTag(CONTENT_FOREGROUND,3) + "<P>" + StringUtil.encodeHTML(message) + "<P>\n");
if (back==null) if (back==null)
out.write("Use your browser's <B>Back</B> button to go back.\n"); out.write("Use your browser's <B>Back</B> button to go back.\n");
else else

View File

@ -33,7 +33,7 @@ import com.silverwrist.venice.core.UserContext;
import com.silverwrist.venice.servlets.Variables; import com.silverwrist.venice.servlets.Variables;
import com.silverwrist.venice.servlets.format.menus.LeftMenu; import com.silverwrist.venice.servlets.format.menus.LeftMenu;
public class RenderConfig public class RenderConfig implements ColorSelectors
{ {
/*-------------------------------------------------------------------------------- /*--------------------------------------------------------------------------------
* Static data values * Static data values
@ -45,6 +45,8 @@ public class RenderConfig
private static Category logger = Category.getInstance(RenderConfig.class.getName()); private static Category logger = Category.getInstance(RenderConfig.class.getName());
private static Map colornames_map;
/*-------------------------------------------------------------------------------- /*--------------------------------------------------------------------------------
* Attributes * Attributes
*-------------------------------------------------------------------------------- *--------------------------------------------------------------------------------
@ -59,8 +61,13 @@ public class RenderConfig
private String image_url; private String image_url;
private String static_url; private String static_url;
private String site_logo; private String site_logo;
private int site_logo_width = 140;
private int site_logo_height = 80;
private String site_logo_linkURL = null;
private HashMap stock_messages; private HashMap stock_messages;
private HashMap menus; private HashMap menus;
private String[] colors_array;
private int footer_logo_scale;
/*-------------------------------------------------------------------------------- /*--------------------------------------------------------------------------------
* Constructor * Constructor
@ -125,6 +132,49 @@ public class RenderConfig
if (logger.isDebugEnabled()) if (logger.isDebugEnabled())
logger.debug("Font face: " + font_face); logger.debug("Font face: " + font_face);
Element colors_sect = render_sect_h.getSubElement("colors");
if (colors_sect==null)
{ // no <colors/> tag - bail out now!
logger.fatal("<rendering/> section has no <colors/> element");
throw new ConfigException("no <colors/> found in <rendering/> section",render_sect);
} // end if
colors_array = new String[colornames_map.size()];
int i;
NodeList colors_nlist = colors_sect.getChildNodes();
for (i=0; i<colors_nlist.getLength(); i++)
{ // look at all subelements and map their names to color selectors
Node foo = colors_nlist.item(i);
if (foo.getNodeType()==Node.ELEMENT_NODE)
{ // map the element name to a color selector
Integer csel = (Integer)(colornames_map.get(foo.getNodeName()));
if (csel!=null)
{ // load the specified color into the colors array
DOMElementHelper foo_h = new DOMElementHelper((Element)foo);
colors_array[csel.intValue()] = foo_h.getElementText();
} // end if
} // end if
} // end for
try
{ // load in the footer logo scale
String tmp = render_sect_h.getSubElementText("footer-logo-scale");
if (tmp==null)
footer_logo_scale = 100;
else
footer_logo_scale = Integer.parseInt(tmp.trim());
} // end try
catch (NumberFormatException nfe)
{ // just default on serious error
footer_logo_scale = 100;
} // end catch
Element paths_sect = root_h.getSubElement("paths"); Element paths_sect = root_h.getSubElement("paths");
if (paths_sect==null) if (paths_sect==null)
{ // no <paths/> section - bail out now! { // no <paths/> section - bail out now!
@ -156,16 +206,38 @@ public class RenderConfig
if (logger.isDebugEnabled()) if (logger.isDebugEnabled())
logger.debug("Static files path: " + static_url); logger.debug("Static files path: " + static_url);
site_logo = paths_sect_h.getSubElementText("site-logo"); Element site_logo_elt = paths_sect_h.getSubElement("site-logo");
if (site_logo==null) if (site_logo_elt==null)
{ // no <image/> tag - bail out now! { // no <site-logo/> tag - bail out now!
logger.fatal("<paths/> section has no <site-logo/> element"); logger.fatal("<paths/> section has no <site-logo/> element");
throw new ConfigException("no <site-logo/> found in <paths/> section",paths_sect); throw new ConfigException("no <site-logo/> found in <paths/> section",paths_sect);
} // end if } // end if
DOMElementHelper site_logo_h = new DOMElementHelper(site_logo_elt);
site_logo = site_logo_h.getElementText();
if (site_logo==null)
{ // no site logo specified - bail out now!
logger.fatal("<paths/> section has no site logo element");
throw new ConfigException("no site logo found in <paths/> section",paths_sect);
} // end if
// get logo width and height
Integer fooint = site_logo_h.getAttributeInt("width");
if (fooint!=null)
site_logo_width = fooint.intValue();
fooint = site_logo_h.getAttributeInt("height");
if (fooint!=null)
site_logo_height = fooint.intValue();
// get logo link URL
String tmp = site_logo_elt.getAttribute("href");
if (!(StringUtil.isStringEmpty(tmp)))
site_logo_linkURL = tmp;
if (logger.isDebugEnabled()) if (logger.isDebugEnabled())
logger.debug("Site logo: " + image_url); logger.debug("Site logo: " + site_logo);
Element msg_sect = root_h.getSubElement("messages"); Element msg_sect = root_h.getSubElement("messages");
if (msg_sect==null) if (msg_sect==null)
@ -178,7 +250,6 @@ public class RenderConfig
// Initialize the stock messages list. // Initialize the stock messages list.
stock_messages = new HashMap(); stock_messages = new HashMap();
NodeList msg_nodes = msg_sect.getChildNodes(); NodeList msg_nodes = msg_sect.getChildNodes();
int i;
for (i=0; i<msg_nodes.getLength(); i++) for (i=0; i<msg_nodes.getLength(); i++)
{ // examine all subnodes to add them to the message text { // examine all subnodes to add them to the message text
Node msgn = msg_nodes.item(i); Node msgn = msg_nodes.item(i);
@ -361,13 +432,18 @@ public class RenderConfig
String getSiteImageTag(int hspace, int vspace) String getSiteImageTag(int hspace, int vspace)
{ {
StringBuffer buf = new StringBuffer(); StringBuffer buf = new StringBuffer();
if (site_logo_linkURL!=null)
buf.append("<A HREF=\"").append(site_logo_linkURL).append("\">");
buf.append("<IMG SRC=\"").append(site_logo).append("\" ALT=\"").append(site_title); buf.append("<IMG SRC=\"").append(site_logo).append("\" ALT=\"").append(site_title);
buf.append("\" WIDTH=140 HEIGHT=80 BORDER=0"); buf.append("\" WIDTH=").append(site_logo_width).append(" HEIGHT=").append(site_logo_height);
buf.append(" BORDER=0");
if (hspace>0) if (hspace>0)
buf.append(" HSPACE=").append(hspace); buf.append(" HSPACE=").append(hspace);
if (vspace>0) if (vspace>0)
buf.append(" VSPACE=").append(vspace); buf.append(" VSPACE=").append(vspace);
buf.append('>'); buf.append('>');
if (site_logo_linkURL!=null)
buf.append("</A>");
return buf.toString(); return buf.toString();
} // end getSiteImageTag } // end getSiteImageTag
@ -383,6 +459,14 @@ public class RenderConfig
} // end getStdFontTag } // end getStdFontTag
String getStdFontTag(int selector, int size)
{
if ((selector<0) || (selector>=colors_array.length))
throw new IndexOutOfBoundsException("getStdColor(): invalid color selector value");
return getStdFontTag(colors_array[selector],size);
} // end getStdFontTag
String getStdBaseFontTag(int size) String getStdBaseFontTag(int size)
{ {
StringBuffer buf = new StringBuffer("<BASEFONT FACE=\""); StringBuffer buf = new StringBuffer("<BASEFONT FACE=\"");
@ -401,10 +485,11 @@ public class RenderConfig
void writeContentHeader(Writer out, String primary, String secondary) throws IOException void writeContentHeader(Writer out, String primary, String secondary) throws IOException
{ {
out.write(getStdFontTag("#3333AA",5) + "<B>" + StringUtil.encodeHTML(primary) + "</B></FONT>"); out.write(getStdFontTag(colors_array[CONTENT_HEADER],5) + "<B>" + StringUtil.encodeHTML(primary)
if (secondary!=null)
out.write("&nbsp;&nbsp;" + getStdFontTag("#3333AA",3) + "<B>" + StringUtil.encodeHTML(secondary)
+ "</B></FONT>"); + "</B></FONT>");
if (secondary!=null)
out.write("&nbsp;&nbsp;" + getStdFontTag(colors_array[CONTENT_HEADER],3) + "<B>"
+ StringUtil.encodeHTML(secondary) + "</B></FONT>");
out.write("<HR ALIGN=LEFT SIZE=2 WIDTH=\"90%\" NOSHADE>\n"); out.write("<HR ALIGN=LEFT SIZE=2 WIDTH=\"90%\" NOSHADE>\n");
} // end writeContentHeader } // end writeContentHeader
@ -422,6 +507,20 @@ public class RenderConfig
} // end writeStockMessage } // end writeStockMessage
String getStdColor(int selector)
{
if ((selector<0) || (selector>=colors_array.length))
throw new IndexOutOfBoundsException("getStdColor(): invalid color selector value");
return colors_array[selector];
} // end getStdColor
int scaleFooterLogo(int param)
{
return (param * footer_logo_scale) / 100;
} // end scaleFooterLogo
public LeftMenu getLeftMenu(String identifier) public LeftMenu getLeftMenu(String identifier)
{ {
return (LeftMenu)(menus.get(identifier)); return (LeftMenu)(menus.get(identifier));
@ -475,4 +574,35 @@ public class RenderConfig
} // end createRenderData } // end createRenderData
/*--------------------------------------------------------------------------------
* Static initializer
*--------------------------------------------------------------------------------
*/
static
{ // Initialize the mapping of color names from render-config.xml to color selector IDs.
HashMap m = new HashMap();
m.put("frame-bg",new Integer(FRAME_BACKGROUND));
m.put("title-bg",new Integer(TITLE_BACKGROUND));
m.put("title-fg",new Integer(TITLE_FOREGROUND));
m.put("title-link",new Integer(TITLE_LINK));
m.put("left-bg",new Integer(LEFT_BACKGROUND));
m.put("left-fg",new Integer(LEFT_FOREGROUND));
m.put("content-bg",new Integer(CONTENT_BACKGROUND));
m.put("content-fg",new Integer(CONTENT_FOREGROUND));
m.put("content-hdr",new Integer(CONTENT_HEADER));
m.put("content-disabled",new Integer(CONTENT_DISABLED));
m.put("content-error",new Integer(CONTENT_ERROR));
m.put("sidebox-title-bg",new Integer(SIDEBOX_TITLE_BACKGROUND));
m.put("sidebox-title-fg",new Integer(SIDEBOX_TITLE_FOREGROUND));
m.put("sidebox-content-bg",new Integer(SIDEBOX_CONTENT_BACKGROUND));
m.put("sidebox-content-fg",new Integer(SIDEBOX_CONTENT_FOREGROUND));
m.put("confirm-title-bg",new Integer(CONFIRM_TITLE_BACKGROUND));
m.put("confirm-title-fg",new Integer(CONFIRM_TITLE_FOREGROUND));
m.put("error-title-bg",new Integer(ERROR_TITLE_BACKGROUND));
m.put("error-title-fg",new Integer(ERROR_TITLE_FOREGROUND));
colornames_map = Collections.unmodifiableMap(m);
} // end static initializer
} // end class RenderConfig } // end class RenderConfig

View File

@ -211,6 +211,12 @@ public class RenderData
} // end getStdFontTag } // end getStdFontTag
public String getStdFontTag(int selector, int size)
{
return rconf.getStdFontTag(selector,size);
} // end getStdFontTag
public String getStdBaseFontTag(int size) public String getStdBaseFontTag(int size)
{ {
return rconf.getStdBaseFontTag(size); return rconf.getStdBaseFontTag(size);
@ -280,6 +286,18 @@ public class RenderData
} // end writeStockMessage } // end writeStockMessage
public String getStdColor(int selector)
{
return rconf.getStdColor(selector);
} // end getStdColor
public int scaleFooterLogo(int param)
{
return rconf.scaleFooterLogo(param);
} // end scaleFooterLogo
public LeftMenu getLeftMenu(String identifier) public LeftMenu getLeftMenu(String identifier)
{ {
return rconf.getLeftMenu(identifier); return rconf.getLeftMenu(identifier);

View File

@ -22,7 +22,7 @@ import java.util.*;
import com.silverwrist.util.StringUtil; import com.silverwrist.util.StringUtil;
import com.silverwrist.venice.core.*; import com.silverwrist.venice.core.*;
public class SideBoxConferences implements ContentRender public class SideBoxConferences implements ContentRender, ColorSelectors
{ {
/*-------------------------------------------------------------------------------- /*--------------------------------------------------------------------------------
* Attributes * Attributes
@ -65,7 +65,6 @@ public class SideBoxConferences implements ContentRender
public void renderHere(Writer out, RenderData rdat) throws IOException public void renderHere(Writer out, RenderData rdat) throws IOException
{ {
out.write(rdat.getStdFontTag(null,2) + "\n");
if (hotlist.size()>0) if (hotlist.size()>0)
{ // display the list of conferences { // display the list of conferences
out.write("<TABLE ALIGN=CENTER BORDER=0 CELLPADDING=0 CELLSPACING=2>\n"); out.write("<TABLE ALIGN=CENTER BORDER=0 CELLPADDING=0 CELLSPACING=2>\n");
@ -78,7 +77,7 @@ public class SideBoxConferences implements ContentRender
out.write("<TR VALIGN=MIDDLE>\n<TD ALIGN=CENTER WIDTH=14><IMG SRC=\"" out.write("<TR VALIGN=MIDDLE>\n<TD ALIGN=CENTER WIDTH=14><IMG SRC=\""
+ rdat.getFullImagePath("purple-ball.gif") + rdat.getFullImagePath("purple-ball.gif")
+ "\" ALT=\"*\" WIDTH=14 HEIGHT=14 BORDER=0></TD>\n"); + "\" ALT=\"*\" WIDTH=14 HEIGHT=14 BORDER=0></TD>\n");
out.write("<TD ALIGN=LEFT>\n" + rdat.getStdFontTag(null,2) + "<B><A HREF=\"" out.write("<TD ALIGN=LEFT>\n" + rdat.getStdFontTag(SIDEBOX_CONTENT_FOREGROUND,2) + "<B><A HREF=\""
+ rdat.getEncodedServletPath(href) + "\">" + StringUtil.encodeHTML(conf.getName()) + rdat.getEncodedServletPath(href) + "\">" + StringUtil.encodeHTML(conf.getName())
+ "</A></B> (" + StringUtil.encodeHTML(conf.getEnclosingSIG().getName()) + ")</FONT>\n"); + "</A></B> (" + StringUtil.encodeHTML(conf.getEnclosingSIG().getName()) + ")</FONT>\n");
if (conf.anyUnread()) if (conf.anyUnread())
@ -93,11 +92,12 @@ public class SideBoxConferences implements ContentRender
} // end if } // end if
else else
out.write(rdat.getStdFontTag(null,2) + "<EM>You have no conferences in your hotlist.</EM></FONT>\n"); out.write(rdat.getStdFontTag(SIDEBOX_CONTENT_FOREGROUND,2)
+ "<EM>You have no conferences in your hotlist.</EM></FONT>\n");
if (uc.isLoggedIn()) if (uc.isLoggedIn())
{ // write the link at the end { // write the link at the end
out.write("<P>" + rdat.getStdFontTag(null,1) + "<B>[ <A HREF=\"" out.write("<P>" + rdat.getStdFontTag(SIDEBOX_CONTENT_FOREGROUND,1) + "<B>[ <A HREF=\""
+ rdat.getEncodedServletPath("settings?cmd=H") + "\">Manage</A> ]</B></FONT>"); + rdat.getEncodedServletPath("settings?cmd=H") + "\">Manage</A> ]</B></FONT>");
} // end if } // end if

View File

@ -22,7 +22,7 @@ import java.util.*;
import com.silverwrist.util.StringUtil; import com.silverwrist.util.StringUtil;
import com.silverwrist.venice.core.*; import com.silverwrist.venice.core.*;
public class SideBoxSIGs implements ContentRender public class SideBoxSIGs implements ContentRender, ColorSelectors
{ {
/*-------------------------------------------------------------------------------- /*--------------------------------------------------------------------------------
* Attributes * Attributes
@ -65,7 +65,6 @@ public class SideBoxSIGs implements ContentRender
public void renderHere(Writer out, RenderData rdat) throws IOException public void renderHere(Writer out, RenderData rdat) throws IOException
{ {
out.write(rdat.getStdFontTag(null,2) + "\n");
if (sig_list.size()>0) if (sig_list.size()>0)
{ // display the list of available SIGs { // display the list of available SIGs
out.write("<TABLE ALIGN=CENTER BORDER=0 CELLPADDING=0 CELLSPACING=2>\n"); out.write("<TABLE ALIGN=CENTER BORDER=0 CELLPADDING=0 CELLSPACING=2>\n");
@ -76,7 +75,7 @@ public class SideBoxSIGs implements ContentRender
out.write("<TR VALIGN=MIDDLE>\n<TD ALIGN=CENTER WIDTH=14><IMG SRC=\"" out.write("<TR VALIGN=MIDDLE>\n<TD ALIGN=CENTER WIDTH=14><IMG SRC=\""
+ rdat.getFullImagePath("purple-ball.gif") + rdat.getFullImagePath("purple-ball.gif")
+ "\" ALT=\"*\" WIDTH=14 HEIGHT=14 BORDER=0></TD>\n"); + "\" ALT=\"*\" WIDTH=14 HEIGHT=14 BORDER=0></TD>\n");
out.write("<TD ALIGN=LEFT>\n" + rdat.getStdFontTag(null,2) + "<B><A HREF=\"" out.write("<TD ALIGN=LEFT>\n" + rdat.getStdFontTag(SIDEBOX_CONTENT_FOREGROUND,2) + "<B><A HREF=\""
+ rdat.getEncodedServletPath("sig/" + sig.getAlias()) + "\">" + rdat.getEncodedServletPath("sig/" + sig.getAlias()) + "\">"
+ StringUtil.encodeHTML(sig.getName()) + "</A></B></FONT>\n"); + StringUtil.encodeHTML(sig.getName()) + "</A></B></FONT>\n");
if (sig.isAdmin()) if (sig.isAdmin())
@ -90,13 +89,15 @@ public class SideBoxSIGs implements ContentRender
} // end if } // end if
else else
out.write(rdat.getStdFontTag(null,2) + "<EM>You are not a member of any SIGs.</EM></FONT>\n"); out.write(rdat.getStdFontTag(SIDEBOX_CONTENT_FOREGROUND,2)
+ "<EM>You are not a member of any SIGs.</EM></FONT>\n");
if (uc.isLoggedIn()) if (uc.isLoggedIn())
{ // write the two links at the end { // write the two links at the end
out.write("<P>" + rdat.getStdFontTag(null,1) + "<B>[ <A HREF=\"" out.write("<P>" + rdat.getStdFontTag(SIDEBOX_CONTENT_FOREGROUND,1) + "<B>[ <A HREF=\""
+ rdat.getEncodedServletPath("settings?cmd=S") + "\">Manage</A> | <A HREF=\"" + rdat.getEncodedServletPath("settings?cmd=S") + "\">Manage</A> | <A HREF=\""
+ rdat.getEncodedServletPath("sigops?cmd=C") + "\">Create New</A> ]</B></FONT>"); + rdat.getEncodedServletPath("sigops?cmd=C") + "\">Create New</A> ]</B></FONT>");
} // end if } // end if
} // end renderHere } // end renderHere

View File

@ -24,7 +24,7 @@ import com.silverwrist.util.StringUtil;
import com.silverwrist.venice.htmlcheck.*; import com.silverwrist.venice.htmlcheck.*;
import com.silverwrist.venice.core.*; import com.silverwrist.venice.core.*;
public class TextMessageDialog implements ContentRender public class TextMessageDialog implements ContentRender, ColorSelectors
{ {
/*-------------------------------------------------------------------------------- /*--------------------------------------------------------------------------------
* Static data members * Static data members
@ -128,7 +128,7 @@ public class TextMessageDialog implements ContentRender
public void renderHere(Writer out, RenderData rdat) throws IOException public void renderHere(Writer out, RenderData rdat) throws IOException
{ {
rdat.writeContentHeader(out,title,null); rdat.writeContentHeader(out,title,null);
out.write(rdat.getStdFontTag(null,2)); out.write(rdat.getStdFontTag(CONTENT_FOREGROUND,2));
out.write("\n"); out.write("\n");
out.write(text); out.write(text);
out.write("</FONT><P>\n<DIV ALIGN=\"center\">\n"); out.write("</FONT><P>\n<DIV ALIGN=\"center\">\n");

View File

@ -25,7 +25,7 @@ import javax.servlet.http.*;
import com.silverwrist.util.StringUtil; import com.silverwrist.util.StringUtil;
import com.silverwrist.venice.core.*; import com.silverwrist.venice.core.*;
public class TopDisplay implements ContentRender public class TopDisplay implements ContentRender, ColorSelectors
{ {
/*-------------------------------------------------------------------------------- /*--------------------------------------------------------------------------------
* Static data values * Static data values
@ -188,10 +188,12 @@ public class TopDisplay implements ContentRender
for (int i=0; i<sideboxes.length; i++) for (int i=0; i<sideboxes.length; i++)
{ // draw in the outer framework of the sidebox { // draw in the outer framework of the sidebox
out.write("<TABLE ALIGN=CENTER WIDTH=200 BORDER=0 CELLPADDING=2 CELLSPACING=0>" out.write("<TABLE ALIGN=CENTER WIDTH=200 BORDER=0 CELLPADDING=2 CELLSPACING=0>"
+ "<TR VALIGN=MIDDLE BGCOLOR=\"#6666CC\"><TD ALIGN=LEFT>\n"); + "<TR VALIGN=MIDDLE BGCOLOR=\"" + rdat.getStdColor(SIDEBOX_TITLE_BACKGROUND)
out.write(rdat.getStdFontTag("white",3) + "<B>" + StringUtil.encodeHTML(sideboxes[i].getPageTitle(rdat)) + "\"><TD ALIGN=LEFT>\n");
+ "</B></FONT>\n"); out.write(rdat.getStdFontTag(SIDEBOX_TITLE_FOREGROUND,3) + "<B>"
out.write("</TD></TR><TR VALIGN=TOP BGCOLOR=\"#9999FF\"><TD ALIGN=LEFT>\n"); + StringUtil.encodeHTML(sideboxes[i].getPageTitle(rdat)) + "</B></FONT>\n");
out.write("</TD></TR><TR VALIGN=TOP BGCOLOR=\"" + rdat.getStdColor(SIDEBOX_CONTENT_BACKGROUND)
+ "\"><TD ALIGN=LEFT>\n");
// Fill in the sidebox by calling down to the base. // Fill in the sidebox by calling down to the base.
if (sideboxes[i] instanceof ContentRender) if (sideboxes[i] instanceof ContentRender)
@ -214,7 +216,7 @@ public class TopDisplay implements ContentRender
} // end try } // end try
catch (ServletException se) catch (ServletException se)
{ // since we can't throw ServletException, we throw IOException { // since we can't throw ServletException, we throw IOException
out.write(rdat.getStdFontTag(null,2) + "<EM>failure rendering class " out.write(rdat.getStdFontTag(SIDEBOX_CONTENT_FOREGROUND,2) + "<EM>failure rendering class "
+ sideboxes[i].getClass().getName() + ": " + StringUtil.encodeHTML(se.getMessage()) + sideboxes[i].getClass().getName() + ": " + StringUtil.encodeHTML(se.getMessage())
+ "</EM></FONT>\n"); + "</EM></FONT>\n");
out.flush(); out.flush();
@ -225,7 +227,7 @@ public class TopDisplay implements ContentRender
} // end else if } // end else if
else // this is bogus - just display a little error here else // this is bogus - just display a little error here
out.write(rdat.getStdFontTag(null,2) + "<EM>cannot display sidebox of class: " out.write(rdat.getStdFontTag(SIDEBOX_CONTENT_FOREGROUND,2) + "<EM>cannot display sidebox of class: "
+ sideboxes[i].getClass().getName() + "</EM></FONT>\n"); + sideboxes[i].getClass().getName() + "</EM></FONT>\n");
// close up the framework of this sidebox // close up the framework of this sidebox

View File

@ -24,7 +24,7 @@
AdminFindUser data = AdminFindUser.retrieve(request); AdminFindUser data = AdminFindUser.retrieve(request);
Variables.failIfNull(data); Variables.failIfNull(data);
RenderData rdat = RenderConfig.createRenderData(application,request,response); RenderData rdat = RenderConfig.createRenderData(application,request,response);
String stdfont = rdat.getStdFontTag(null,2); String stdfont = rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2);
%> %>
<% rdat.writeContentHeader(out,"User Account Management",null); %> <% rdat.writeContentHeader(out,"User Account Management",null); %>
<%= stdfont %><A HREF="<%= rdat.getEncodedServletPath("sysadmin") %>">Return to <%= stdfont %><A HREF="<%= rdat.getEncodedServletPath("sysadmin") %>">Return to
@ -35,7 +35,7 @@ System Administration Menu</A></FONT><P>
<FORM METHOD="POST" ACTION="<%= rdat.getEncodedServletPath("sysadmin") %>"> <FORM METHOD="POST" ACTION="<%= rdat.getEncodedServletPath("sysadmin") %>">
<INPUT TYPE=HIDDEN NAME="cmd" VALUE="UF"> <INPUT TYPE=HIDDEN NAME="cmd" VALUE="UF">
<INPUT TYPE=HIDDEN NAME="ofs" VALUE="0"> <INPUT TYPE=HIDDEN NAME="ofs" VALUE="0">
<%= rdat.getStdFontTag(null,4) %><B>Find Users:</B></FONT><BR> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,4) %><B>Find Users:</B></FONT><BR>
<%= stdfont %> <%= stdfont %>
Display all users whose&nbsp;&nbsp; Display all users whose&nbsp;&nbsp;
<SELECT NAME="field" SIZE=1> <SELECT NAME="field" SIZE=1>
@ -81,7 +81,7 @@ System Administration Menu</A></FONT><P>
%> %>
<HR> <HR>
<TABLE WIDTH="100%" BORDER=0 ALIGN=CENTER><TR VALIGN=MIDDLE> <TABLE WIDTH="100%" BORDER=0 ALIGN=CENTER><TR VALIGN=MIDDLE>
<TD WIDTH="50%" ALIGN=LEFT><%= rdat.getStdFontTag(null,3) %> <TD WIDTH="50%" ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,3) %>
<%-- The initial search results --%> <%-- The initial search results --%>
<B>Search Results</B> <B>Search Results</B>
<% if (data.getFindCount()>0) { %> <% if (data.getFindCount()>0) { %>

View File

@ -26,7 +26,7 @@
RenderData rdat = RenderConfig.createRenderData(application,request,response); RenderData rdat = RenderConfig.createRenderData(application,request,response);
%> %>
<% rdat.writeContentHeader(out,"Upload Your Attachment",null); %> <% rdat.writeContentHeader(out,"Upload Your Attachment",null); %>
<%= rdat.getStdFontTag(null,2) %> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
Your attachment may be no more than <B>1 megabyte</B> in size.<P> Your attachment may be no more than <B>1 megabyte</B> in size.<P>
<FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="<%= rdat.getEncodedServletPath("attachment") %>"> <FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="<%= rdat.getEncodedServletPath("attachment") %>">
<INPUT TYPE=HIDDEN NAME="sig" VALUE="<%= data.getSIGID() %>"> <INPUT TYPE=HIDDEN NAME="sig" VALUE="<%= data.getSIGID() %>">

View File

@ -25,9 +25,11 @@
Variables.failIfNull(basedat); Variables.failIfNull(basedat);
UserContext user = Variables.getUserContext(application,request,session); UserContext user = Variables.getUserContext(application,request,session);
RenderData rdat = RenderConfig.createRenderData(application,request,response); RenderData rdat = RenderConfig.createRenderData(application,request,response);
String header_font = rdat.getStdFontTag("white",3); String header_font = rdat.getStdFontTag(ColorSelectors.TITLE_FOREGROUND,3);
String stdfont = rdat.getStdFontTag(null,2); String header_link_hilite = "<FONT COLOR=\"" + rdat.getStdColor(ColorSelectors.TITLE_LINK) + "\">";
String smallfont = rdat.getStdFontTag(null,1); String stdfont = rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2);
String leftfont = rdat.getStdFontTag(ColorSelectors.LEFT_FOREGROUND,2);
String smallfont = rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,1);
String partial_tgt, foo; String partial_tgt, foo;
%> %>
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\"> <!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">
@ -40,23 +42,24 @@
<% } // end if %> <% } // end if %>
</HEAD> </HEAD>
<BODY BGCOLOR="#9999FF"> <BODY BGCOLOR="<%= rdat.getStdColor(ColorSelectors.FRAME_BACKGROUND) %>">
<% if (rdat.useHTMLComments()) { %><!-- BEGIN PAGE HEADER --><% } %> <% if (rdat.useHTMLComments()) { %><!-- BEGIN PAGE HEADER --><% } %>
<TABLE BORDER=0 BGCOLOR="#6666CC" WIDTH="100%" CELLPADDING=2 CELLSPACING=0> <TABLE BORDER=0 BGCOLOR="<%= rdat.getStdColor(ColorSelectors.TITLE_BACKGROUND) %>" WIDTH="100%"
CELLPADDING=2 CELLSPACING=0>
<TR VALIGN=MIDDLE> <TR VALIGN=MIDDLE>
<TD ALIGN=LEFT WIDTH=150> <TD ALIGN=LEFT WIDTH=20% CELLPADDING=2>
<% if (rdat.useHTMLComments()) { %><!-- Site logo --><% } %> <% if (rdat.useHTMLComments()) { %><!-- Site logo --><% } %>
<%= rdat.getSiteImageTag(2,2) %> <%= rdat.getSiteImageTag(2,2) %>
</TD> </TD>
<TD ALIGN=LEFT WIDTH=150><%= header_font %><B> <TD ALIGN=CENTER WIDTH=30% CELLPADDING=2><%= header_font %><B>
<% if (rdat.useHTMLComments()) { %><!-- Links to Front Page, Help, Find --><% } %> <% if (rdat.useHTMLComments()) { %><!-- Links to Front Page, Help, Find --><% } %>
<A HREF="<%= rdat.getEncodedServletPath("top") %>"><FONT COLOR="yellow">Front Page</FONT></A><P> <A HREF="<%= rdat.getEncodedServletPath("top") %>"><%= header_link_hilite %>Front Page</FONT></A><P>
<A HREF="/TODO"><FONT COLOR="yellow">Help</FONT></A>&nbsp;|&nbsp; <A HREF="/TODO"><%= header_link_hilite %>Help</FONT></A>&nbsp;|&nbsp;
<A HREF="<%= rdat.getEncodedServletPath("find") %>"><FONT COLOR="yellow">Find</FONT></A> <A HREF="<%= rdat.getEncodedServletPath("find") %>"><%= header_link_hilite %>Find</FONT></A>
</B></FONT></TD> </B></FONT></TD>
<TD ALIGN=RIGHT WIDTH=150> <TD ALIGN=RIGHT WIDTH=50% CELLPADDING=2>
<% if (rdat.useHTMLComments()) { %><!-- Banner Ad --><% } %> <% if (rdat.useHTMLComments()) { %><!-- Banner Ad --><% } %>
<% basedat.renderBannerAd(out,rdat); %> <% basedat.renderBannerAd(out,rdat); %>
</TD> </TD>
@ -71,9 +74,9 @@
partial_tgt = "account?tgt=" + URLEncoder.encode(basedat.getLocation()) + "&cmd="; partial_tgt = "account?tgt=" + URLEncoder.encode(basedat.getLocation()) + "&cmd=";
foo = rdat.getEncodedServletPath(partial_tgt + "L"); foo = rdat.getEncodedServletPath(partial_tgt + "L");
%> %>
&nbsp;-&nbsp;<A HREF="<%= foo %>"><FONT COLOR="yellow">Log Out</FONT></A> &nbsp;-&nbsp;<A HREF="<%= foo %>"><%= header_link_hilite %>Log Out</FONT></A>
<% foo = rdat.getEncodedServletPath(partial_tgt + "P"); %> <% foo = rdat.getEncodedServletPath(partial_tgt + "P"); %>
&nbsp;|&nbsp;<A HREF="<%= foo %>"><FONT COLOR="yellow">Profile</FONT></A> &nbsp;|&nbsp;<A HREF="<%= foo %>"><%= header_link_hilite %>Profile</FONT></A>
<% } // end if %> <% } // end if %>
<% } else { %> <% } else { %>
You are not logged in You are not logged in
@ -82,9 +85,9 @@
partial_tgt = "account?tgt=" + URLEncoder.encode(basedat.getLocation()) + "&cmd="; partial_tgt = "account?tgt=" + URLEncoder.encode(basedat.getLocation()) + "&cmd=";
foo = rdat.getEncodedServletPath(partial_tgt + "L"); foo = rdat.getEncodedServletPath(partial_tgt + "L");
%> %>
&nbsp;-&nbsp;<A HREF="<%= foo %>"><FONT COLOR="yellow">Log In</FONT></A> &nbsp;-&nbsp;<A HREF="<%= foo %>"><%= header_link_hilite %>Log In</FONT></A>
<% foo = rdat.getEncodedServletPath(partial_tgt + "C"); %> <% foo = rdat.getEncodedServletPath(partial_tgt + "C"); %>
&nbsp;|&nbsp;<A HREF="<%= foo %>"><FONT COLOR="yellow">Create Account</FONT></A> &nbsp;|&nbsp;<A HREF="<%= foo %>"><%= header_link_hilite %>Create Account</FONT></A>
<% } // end if %> <% } // end if %>
<% } // end if %> <% } // end if %>
</FONT></TD></TR> </FONT></TD></TR>
@ -94,16 +97,16 @@
<TABLE BORDER=0 WIDTH="100%" CELLPADDING=2 CELLSPACING=0> <TABLE BORDER=0 WIDTH="100%" CELLPADDING=2 CELLSPACING=0>
<TR VALIGN=TOP> <TR VALIGN=TOP>
<TD ALIGN=LEFT WIDTH=120 BGCOLOR="#9999FF"> <TD ALIGN=LEFT WIDTH=120 BGCOLOR="<%= rdat.getStdColor(ColorSelectors.LEFT_BACKGROUND) %>">
<TABLE ALIGN=LEFT WIDTH=120 CELPADDING=0 CELLSPACING=0> <TABLE ALIGN=LEFT WIDTH=120 CELLPADDING=0 CELLSPACING=0>
<% if (rdat.useHTMLComments()) { %><!-- BEGIN LEFT SIDEBAR --><% } %> <% if (rdat.useHTMLComments()) { %><!-- BEGIN LEFT SIDEBAR --><% } %>
<TR VALIGN=TOP><TD VALIGN=LEFT><%= stdfont %> <TR VALIGN=TOP><TD VALIGN=LEFT><%= leftfont %>
<% if (rdat.useHTMLComments()) { %><!-- variable menu --><% } %> <% if (rdat.useHTMLComments()) { %><!-- variable menu --><% } %>
<% basedat.renderMenu(session,out,rdat); %> <% basedat.renderMenu(session,out,rdat); %>
</FONT></TD></TR> </FONT></TD></TR>
<TR VALIGN=TOP><TD VALIGN=LEFT>&nbsp;</TD></TR> <TR VALIGN=TOP><TD VALIGN=LEFT>&nbsp;</TD></TR>
<TR VALIGN=TOP><TD VALIGN=LEFT><%= stdfont %> <TR VALIGN=TOP><TD VALIGN=LEFT><%= leftfont %>
<% if (rdat.useHTMLComments()) { %><!-- fixed menu --><% } %> <% if (rdat.useHTMLComments()) { %><!-- fixed menu --><% } %>
<% basedat.renderFixedMenu(out,rdat); %> <% basedat.renderFixedMenu(out,rdat); %>
</FONT></TD></TR> </FONT></TD></TR>
@ -113,7 +116,7 @@
</TABLE> </TABLE>
</TD> </TD>
<TD ALIGN=LEFT WIDTH="100%" BGCOLOR="white"> <TD ALIGN=LEFT WIDTH="100%" BGCOLOR="<%= rdat.getStdColor(ColorSelectors.CONTENT_BACKGROUND) %>">
<% if (rdat.useHTMLComments()) { %><!-- BEGIN PAGE CONTENT --><% } %> <% if (rdat.useHTMLComments()) { %><!-- BEGIN PAGE CONTENT --><% } %>
<% basedat.renderContent(application,out,rdat); %> <% basedat.renderContent(application,out,rdat); %>
<% if (rdat.useHTMLComments()) { %><!-- END PAGE CONTENT --><% } %> <% if (rdat.useHTMLComments()) { %><!-- END PAGE CONTENT --><% } %>
@ -121,8 +124,8 @@
</TR> </TR>
<TR VALIGN=TOP> <TR VALIGN=TOP>
<TD ALIGN=LEFT WIDTH=120 BGCOLOR="#9999FF">&nbsp;</TD> <TD ALIGN=LEFT WIDTH=120 BGCOLOR="<%= rdat.getStdColor(ColorSelectors.LEFT_BACKGROUND) %>">&nbsp;</TD>
<TD ALIGN=LEFT WIDTH="100%" BGCOLOR="white"> <TD ALIGN=LEFT WIDTH="100%" BGCOLOR="<%= rdat.getStdColor(ColorSelectors.CONTENT_BACKGROUND) %>">
<% if (rdat.useHTMLComments()) { %><!-- PAGE FOOTER --><% } %> <% if (rdat.useHTMLComments()) { %><!-- PAGE FOOTER --><% } %>
<HR WIDTH="80%"> <HR WIDTH="80%">
<TABLE ALIGN=CENTER BORDER=0 CELLPADDING=0 CELLSPACING=6><TR VALIGN=TOP> <TABLE ALIGN=CENTER BORDER=0 CELLPADDING=0 CELLSPACING=6><TR VALIGN=TOP>
@ -130,7 +133,8 @@
<TD ALIGN=LEFT> <TD ALIGN=LEFT>
<A HREF="http://venice.sourceforge.net" TARGET="_blank"><IMG <A HREF="http://venice.sourceforge.net" TARGET="_blank"><IMG
SRC="<%= rdat.getFullImagePath("powered-by-venice.gif") %>" ALT="Powered by Venice" SRC="<%= rdat.getFullImagePath("powered-by-venice.gif") %>" ALT="Powered by Venice"
WIDTH=129 HEIGHT=103 BORDER=0 HSPACE=0 VSPACE=0></A> WIDTH=<%= rdat.scaleFooterLogo(129) %> HEIGHT=<%= rdat.scaleFooterLogo(103) %> BORDER=0
HSPACE=0 VSPACE=0></A>
</TD> </TD>
</TR></TABLE> </TR></TABLE>
</TD> </TD>

View File

@ -34,7 +34,7 @@
rdat.writeContentHeader(out,(data.isPosterReport() ? "Posters in Conference:" rdat.writeContentHeader(out,(data.isPosterReport() ? "Posters in Conference:"
: "Readers in Conference:"),data.getConfName()); : "Readers in Conference:"),data.getConfName());
%> %>
<%= rdat.getStdFontTag(null,2) %> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<A HREF="<%= rdat.getEncodedServletPath("confops?" + data.getLocator() + "&cmd=QR") %>">Return to <A HREF="<%= rdat.getEncodedServletPath("confops?" + data.getLocator() + "&cmd=QR") %>">Return to
Conference Reports Menu</A> Conference Reports Menu</A>
</FONT><P> </FONT><P>
@ -42,27 +42,27 @@
<% if (data.anyElements()) { %> <% if (data.anyElements()) { %>
<TABLE BORDER=0 ALIGN=CENTER CELLPADDING=0 CELLSPACING=6> <TABLE BORDER=0 ALIGN=CENTER CELLPADDING=0 CELLSPACING=6>
<TR VALIGN=TOP> <TR VALIGN=TOP>
<TH ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %><B><U>User Name</U></B></FONT></TH> <TH ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><B><U>User Name</U></B></FONT></TH>
<% if (data.isPosterReport()) { %> <% if (data.isPosterReport()) { %>
<TH ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %><B><U>Last Posted</U></B></FONT></TH> <TH ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><B><U>Last Posted</U></B></FONT></TH>
<TH ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %><B><U>Last Read</U></B></FONT></TH> <TH ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><B><U>Last Read</U></B></FONT></TH>
<% } else { %> <% } else { %>
<TH ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %><B><U>Last Read</U></B></FONT></TH> <TH ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><B><U>Last Read</U></B></FONT></TH>
<TH ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %><B><U>Last Posted</U></B></FONT></TH> <TH ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><B><U>Last Posted</U></B></FONT></TH>
<% } // end if %> <% } // end if %>
</TR> </TR>
<% Iterator it = data.getRecordsIterator(); %> <% Iterator it = data.getRecordsIterator(); %>
<% while (it.hasNext()) { %> <% while (it.hasNext()) { %>
<% ActiveUser usr = (ActiveUser)(it.next()); %> <% ActiveUser usr = (ActiveUser)(it.next()); %>
<TR VALIGN=TOP> <TR VALIGN=TOP>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<A HREF="<%= rdat.getEncodedServletPath("user/" + usr.getName()) %>" TARGET="_blank"><%= usr.getName() %></A> <A HREF="<%= rdat.getEncodedServletPath("user/" + usr.getName()) %>" TARGET="_blank"><%= usr.getName() %></A>
</FONT></TD> </FONT></TD>
<% if (data.isPosterReport()) { %> <% if (data.isPosterReport()) { %>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<%= StringUtil.encodeHTML(rdat.formatDateForDisplay(usr.getLastWrite())) %> <%= StringUtil.encodeHTML(rdat.formatDateForDisplay(usr.getLastWrite())) %>
</FONT></TD> </FONT></TD>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<% if (usr.getLastRead()==null) { %> <% if (usr.getLastRead()==null) { %>
Never Never
<% } else { %> <% } else { %>
@ -70,10 +70,10 @@
<% } // end if %> <% } // end if %>
</FONT></TD> </FONT></TD>
<% } else { %> <% } else { %>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<%= StringUtil.encodeHTML(rdat.formatDateForDisplay(usr.getLastRead())) %> <%= StringUtil.encodeHTML(rdat.formatDateForDisplay(usr.getLastRead())) %>
</FONT></TD> </FONT></TD>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<% if (usr.getLastWrite()==null) { %> <% if (usr.getLastWrite()==null) { %>
Never Never
<% } else { %> <% } else { %>
@ -85,7 +85,7 @@
<% } // end while %> <% } // end while %>
</TABLE> </TABLE>
<% } else { %> <% } else { %>
<%= rdat.getStdFontTag(null,2) %><EM> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><EM>
<% if (data.isTopicReport()) { %> <% if (data.isTopicReport()) { %>
<% if (data.isPosterReport()) { %> <% if (data.isPosterReport()) { %>
No posters to topic "<%= data.getTopicName() %>" found. No posters to topic "<%= data.getTopicName() %>" found.

View File

@ -26,18 +26,19 @@
RenderData rdat = RenderConfig.createRenderData(application,request,response); RenderData rdat = RenderConfig.createRenderData(application,request,response);
%> %>
<% rdat.writeContentHeader(out,"Set Conference Membership:",data.getConfName()); %> <% rdat.writeContentHeader(out,"Set Conference Membership:",data.getConfName()); %>
<%= rdat.getStdFontTag(null,2) %> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<A HREF="<%= rdat.getEncodedServletPath("confops?" + data.getLocator() + "&cmd=Q") %>">Return to <A HREF="<%= rdat.getEncodedServletPath("confops?" + data.getLocator() + "&cmd=Q") %>">Return to
Manage Conference Menu</A> Manage Conference Menu</A>
</FONT><P> </FONT><P>
<%= rdat.getStdFontTag(null,3) %><B>Find users in SIG "<%= data.getSIGName() %>":</B></FONT><P> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,3) %><B>Find users in SIG
"<%= data.getSIGName() %>":</B></FONT><P>
<FORM METHOD="POST" ACTION="<%= rdat.getEncodedServletPath("confops") %>"> <FORM METHOD="POST" ACTION="<%= rdat.getEncodedServletPath("confops") %>">
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getSIGID() %>"> <INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getSIGID() %>">
<INPUT TYPE="HIDDEN" NAME="conf" VALUE="<%= data.getConfID() %>"> <INPUT TYPE="HIDDEN" NAME="conf" VALUE="<%= data.getConfID() %>">
<INPUT TYPE="HIDDEN" NAME="cmd" VALUE="M"> <INPUT TYPE="HIDDEN" NAME="cmd" VALUE="M">
<INPUT TYPE="HIDDEN" NAME="ofs" VALUE="0"> <INPUT TYPE="HIDDEN" NAME="ofs" VALUE="0">
<%= rdat.getStdFontTag(null,2) %> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
Display all SIG members whose&nbsp;&nbsp; Display all SIG members whose&nbsp;&nbsp;
<SELECT NAME="field" SIZE=1> <SELECT NAME="field" SIZE=1>
<OPTION VALUE="<%= SearchMode.FIELD_USER_NAME %>" <OPTION VALUE="<%= SearchMode.FIELD_USER_NAME %>"
@ -70,7 +71,7 @@
<HR> <HR>
<% if (data.conferenceMemberList()) { %> <% if (data.conferenceMemberList()) { %>
<%-- The conference list header --%> <%-- The conference list header --%>
<%= rdat.getStdFontTag(null,3) %><B> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,3) %><B>
Members of Conference "<%= StringUtil.encodeHTML(data.getConfName()) %>": Members of Conference "<%= StringUtil.encodeHTML(data.getConfName()) %>":
</B></FONT><BR> </B></FONT><BR>
<% } else { %> <% } else { %>
@ -85,7 +86,7 @@
} // end if } // end if
%> %>
<TABLE WIDTH="100%" BORDER=0 ALIGN=CENTER><TR VALIGN=MIDDLE> <TABLE WIDTH="100%" BORDER=0 ALIGN=CENTER><TR VALIGN=MIDDLE>
<TD WIDTH="50%" ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD WIDTH="50%" ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<%-- The search results header --%> <%-- The search results header --%>
<FONT SIZE=+1><B>Search Results:</B></FONT> <FONT SIZE=+1><B>Search Results:</B></FONT>
<% if (data.getFindCount()>0) { %> <% if (data.getFindCount()>0) { %>
@ -138,10 +139,10 @@
<TD ALIGN=CENTER WIDTH=14> <TD ALIGN=CENTER WIDTH=14>
<IMG SRC="<%= rdat.getFullImagePath("purple-ball.gif") %>" ALT="*" WIDTH=14 HEIGHT=14 BORDER=0> <IMG SRC="<%= rdat.getFullImagePath("purple-ball.gif") %>" ALT="*" WIDTH=14 HEIGHT=14 BORDER=0>
</TD> </TD>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<A HREF="<%= rdat.getEncodedServletPath("user/" + uf.getName()) %>"><%= uf.getName() %></A> <A HREF="<%= rdat.getEncodedServletPath("user/" + uf.getName()) %>"><%= uf.getName() %></A>
</FONT></TD> </FONT></TD>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<% data.outputDropDown(out,uf.getUID(),uf.getLevel()); %> <% data.outputDropDown(out,uf.getUID(),uf.getLevel()); %>
</FONT></TD> </FONT></TD>
</TR> </TR>

View File

@ -27,7 +27,7 @@
%> %>
<% if (rdat.useHTMLComments()) { %><!-- Manage conference list for SIG #<%= data.getSIGID() %> --><% } %> <% if (rdat.useHTMLComments()) { %><!-- Manage conference list for SIG #<%= data.getSIGID() %> --><% } %>
<% rdat.writeContentHeader(out,"Manage Conference List",null); %> <% rdat.writeContentHeader(out,"Manage Conference List",null); %>
<%= rdat.getStdFontTag(null,2) %> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<A HREF="<%= rdat.getEncodedServletPath("confops?sig=" + data.getSIGID()) %>">Return to Conference List</A> <A HREF="<%= rdat.getEncodedServletPath("confops?sig=" + data.getSIGID()) %>">Return to Conference List</A>
</FONT><P> </FONT><P>
<% if (data.getNumConferences()>0) { %> <% if (data.getNumConferences()>0) { %>
@ -80,7 +80,7 @@
SRC="<%= rdat.getFullImagePath("icn_x.gif") %>" ALT="Remove" BORDER=0 WIDTH=16 SRC="<%= rdat.getFullImagePath("icn_x.gif") %>" ALT="Remove" BORDER=0 WIDTH=16
HEIGHT=16></A> HEIGHT=16></A>
</TD> </TD>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<%= StringUtil.encodeHTML(conf.getName()) %> <%= StringUtil.encodeHTML(conf.getName()) %>
</FONT></TD> </FONT></TD>
</TR> </TR>
@ -93,7 +93,7 @@
<IMG SRC="<%= rdat.getFullImagePath("icn_on.gif") %>" ALT="Displayed (toggle)" BORDER=0 WIDTH=16 <IMG SRC="<%= rdat.getFullImagePath("icn_on.gif") %>" ALT="Displayed (toggle)" BORDER=0 WIDTH=16
HEIGHT=16> HEIGHT=16>
</TD> </TD>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
This indicates that the conference is displayed in the SIG's conference list. Click the symbol This indicates that the conference is displayed in the SIG's conference list. Click the symbol
to hide it. to hide it.
</FONT></TD> </FONT></TD>
@ -103,7 +103,7 @@
<IMG SRC="<%= rdat.getFullImagePath("icn_off.gif") %>" ALT="Hidden (toggle)" BORDER=0 WIDTH=16 <IMG SRC="<%= rdat.getFullImagePath("icn_off.gif") %>" ALT="Hidden (toggle)" BORDER=0 WIDTH=16
HEIGHT=16> HEIGHT=16>
</TD> </TD>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
This indicates that the conference is hidden in the SIG's conference list. Click the symbol This indicates that the conference is hidden in the SIG's conference list. Click the symbol
to display it. to display it.
</FONT></TD> </FONT></TD>
@ -112,7 +112,7 @@
<TD ALIGN=CENTER WIDTH=16> <TD ALIGN=CENTER WIDTH=16>
<IMG SRC="<%= rdat.getFullImagePath("icn_down.gif") %>" ALT="Move Down" BORDER=0 WIDTH=16 HEIGHT=16> <IMG SRC="<%= rdat.getFullImagePath("icn_down.gif") %>" ALT="Move Down" BORDER=0 WIDTH=16 HEIGHT=16>
</TD> </TD>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
Click this symbol to move the specified conference down in the SIG's conference list. Click this symbol to move the specified conference down in the SIG's conference list.
</FONT></TD> </FONT></TD>
</TR> </TR>
@ -120,7 +120,7 @@
<TD ALIGN=CENTER WIDTH=16> <TD ALIGN=CENTER WIDTH=16>
<IMG SRC="<%= rdat.getFullImagePath("icn_up.gif") %>" ALT="Move Up" BORDER=0 WIDTH=16 HEIGHT=16> <IMG SRC="<%= rdat.getFullImagePath("icn_up.gif") %>" ALT="Move Up" BORDER=0 WIDTH=16 HEIGHT=16>
</TD> </TD>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
Click this symbol to move the specified conference up in the SIG's conference list. Click this symbol to move the specified conference up in the SIG's conference list.
</FONT></TD> </FONT></TD>
</TR> </TR>
@ -128,12 +128,13 @@
<TD ALIGN=CENTER WIDTH=16> <TD ALIGN=CENTER WIDTH=16>
<IMG SRC="<%= rdat.getFullImagePath("icn_x.gif") %>" ALT="Remove" BORDER=0 WIDTH=16 HEIGHT=16> <IMG SRC="<%= rdat.getFullImagePath("icn_x.gif") %>" ALT="Remove" BORDER=0 WIDTH=16 HEIGHT=16>
</TD> </TD>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
Click this symbol to delete the specified conference. You will be prompted to confirm this Click this symbol to delete the specified conference. You will be prompted to confirm this
action. action.
</FONT></TD> </FONT></TD>
</TR> </TR>
</TABLE> </TABLE>
<% } else { %> <% } else { %>
<%= rdat.getStdFontTag(null,2) %><EM>There are no conferences in this SIG.</EM></FONT> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><EM>There are no conferences in
this SIG.</EM></FONT>
<% } // end if %> <% } // end if %>

View File

@ -34,7 +34,7 @@
<TD ALIGN=CENTER WIDTH=14> <TD ALIGN=CENTER WIDTH=14>
<IMG SRC="<%= rdat.getFullImagePath("purple-ball.gif") %>" ALT="*" WIDTH=14 HEIGHT=14 BORDER=0> <IMG SRC="<%= rdat.getFullImagePath("purple-ball.gif") %>" ALT="*" WIDTH=14 HEIGHT=14 BORDER=0>
</TD> </TD>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<% String path = "confdisp?sig=" + data.getSIGID() + "&conf=" + data.getConferenceID(i); %> <% String path = "confdisp?sig=" + data.getSIGID() + "&conf=" + data.getConferenceID(i); %>
<A HREF="<%= rdat.getEncodedServletPath(path) %>"><%= StringUtil.encodeHTML(data.getConferenceName(i)) %></A> - <A HREF="<%= rdat.getEncodedServletPath(path) %>"><%= StringUtil.encodeHTML(data.getConferenceName(i)) %></A> -
Latest activity: <%= rdat.getActivityString(data.getLastUpdateDate(i)) %> Latest activity: <%= rdat.getActivityString(data.getLastUpdateDate(i)) %>

View File

@ -73,8 +73,8 @@ private static String getActivityString(SIGContext sig, RenderData rdat)
<INPUT TYPE=HIDDEN NAME="ofs" VALUE="0"> <INPUT TYPE=HIDDEN NAME="ofs" VALUE="0">
<% if (data.getDisplayOption()==FindData.FD_SIGS) { %> <% if (data.getDisplayOption()==FindData.FD_SIGS) { %>
<% if (rdat.useHTMLComments()) { %><!-- Find SIGs Form --><% } %> <% if (rdat.useHTMLComments()) { %><!-- Find SIGs Form --><% } %>
<%= rdat.getStdFontTag(null,4) %><B>Find SIGs:</B></FONT><BR> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,4) %><B>Find SIGs:</B></FONT><BR>
<%= rdat.getStdFontTag(null,2) %> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
Display all SIGs whose&nbsp;&nbsp; Display all SIGs whose&nbsp;&nbsp;
<SELECT NAME="field" SIZE=1> <SELECT NAME="field" SIZE=1>
<OPTION VALUE="<%= SearchMode.FIELD_SIG_NAME %>" <OPTION VALUE="<%= SearchMode.FIELD_SIG_NAME %>"
@ -85,8 +85,8 @@ private static String getActivityString(SIGContext sig, RenderData rdat)
<% } else if (data.getDisplayOption()==FindData.FD_USERS) { %> <% } else if (data.getDisplayOption()==FindData.FD_USERS) { %>
<% if (rdat.useHTMLComments()) { %><!-- Find Users Form --><% } %> <% if (rdat.useHTMLComments()) { %><!-- Find Users Form --><% } %>
<%= rdat.getStdFontTag(null,4) %><B>Find Users:</B></FONT><BR> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,4) %><B>Find Users:</B></FONT><BR>
<%= rdat.getStdFontTag(null,2) %> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
Display all users whose&nbsp;&nbsp; Display all users whose&nbsp;&nbsp;
<SELECT NAME="field" SIZE=1> <SELECT NAME="field" SIZE=1>
<OPTION VALUE="<%= SearchMode.FIELD_USER_NAME %>" <OPTION VALUE="<%= SearchMode.FIELD_USER_NAME %>"
@ -101,8 +101,8 @@ private static String getActivityString(SIGContext sig, RenderData rdat)
<% } else if (data.getDisplayOption()==FindData.FD_CATEGORIES) { %> <% } else if (data.getDisplayOption()==FindData.FD_CATEGORIES) { %>
<% if (rdat.useHTMLComments()) { %><!-- Find Categories Form --><% } %> <% if (rdat.useHTMLComments()) { %><!-- Find Categories Form --><% } %>
<%= rdat.getStdFontTag(null,4) %><B>Find Categories:</B></FONT><BR> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,4) %><B>Find Categories:</B></FONT><BR>
<%= rdat.getStdFontTag(null,2) %> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
Display all categories whose name&nbsp;&nbsp; Display all categories whose name&nbsp;&nbsp;
<% } else throw new InternalStateError("display parameter " + data.getDisplayOption() + " invalid"); %> <% } else throw new InternalStateError("display parameter " + data.getDisplayOption() + " invalid"); %>
@ -128,7 +128,7 @@ private static String getActivityString(SIGContext sig, RenderData rdat)
<% CategoryDescriptor cat = data.getCategory(); %> <% CategoryDescriptor cat = data.getCategory(); %>
<% if (cat!=null) { %> <% if (cat!=null) { %>
<% if (rdat.useHTMLComments()) { %><!-- Display Category Name --><% } %> <% if (rdat.useHTMLComments()) { %><!-- Display Category Name --><% } %>
<HR><%= rdat.getStdFontTag(null,3) %><B>Category: <HR><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,3) %><B>Category:
<% <%
a_head = ""; a_head = "";
a_tail = ""; a_tail = "";
@ -169,7 +169,7 @@ private static String getActivityString(SIGContext sig, RenderData rdat)
<TD ALIGN=CENTER WIDTH=14> <TD ALIGN=CENTER WIDTH=14>
<IMG SRC="<%= rdat.getFullImagePath("purple-ball.gif") %>" ALT="*" WIDTH=14 HEIGHT=14 BORDER=0> <IMG SRC="<%= rdat.getFullImagePath("purple-ball.gif") %>" ALT="*" WIDTH=14 HEIGHT=14 BORDER=0>
</TD> </TD>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<% <%
CategoryDescriptor c = (CategoryDescriptor)(it.next()); CategoryDescriptor c = (CategoryDescriptor)(it.next());
a_head = "<A HREF=\"" + data.getCatJumpLink(rdat,c.getLinkedCategoryID()) + "\">"; a_head = "<A HREF=\"" + data.getCatJumpLink(rdat,c.getLinkedCategoryID()) + "\">";
@ -200,7 +200,7 @@ private static String getActivityString(SIGContext sig, RenderData rdat)
%> %>
<HR> <HR>
<TABLE WIDTH="100%" BORDER=0 ALIGN=CENTER><TR VALIGN=MIDDLE> <TABLE WIDTH="100%" BORDER=0 ALIGN=CENTER><TR VALIGN=MIDDLE>
<TD WIDTH="50%" ALIGN=LEFT><%= rdat.getStdFontTag(null,3) %> <TD WIDTH="50%" ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,3) %>
<%-- The initial search results --%> <%-- The initial search results --%>
<B><% if (cat!=null) { %>SIGs in Category<% } else { %>Search Results<% } %></B> <B><% if (cat!=null) { %>SIGs in Category<% } else { %>Search Results<% } %></B>
<% if (data.getFindCount()>0) { %> <% if (data.getFindCount()>0) { %>
@ -247,7 +247,7 @@ private static String getActivityString(SIGContext sig, RenderData rdat)
<TD ALIGN=CENTER WIDTH=14> <TD ALIGN=CENTER WIDTH=14>
<IMG SRC="<%= rdat.getFullImagePath("purple-ball.gif") %>" ALT="*" WIDTH=14 HEIGHT=14 BORDER=0> <IMG SRC="<%= rdat.getFullImagePath("purple-ball.gif") %>" ALT="*" WIDTH=14 HEIGHT=14 BORDER=0>
</TD> </TD>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<% Object item = results.get(i); %> <% Object item = results.get(i); %>
<% if (data.getDisplayOption()==FindData.FD_SIGS) { %> <% if (data.getDisplayOption()==FindData.FD_SIGS) { %>
<% <%

View File

@ -24,7 +24,7 @@
Hotlist data = Hotlist.retrieve(request); Hotlist data = Hotlist.retrieve(request);
Variables.failIfNull(data); Variables.failIfNull(data);
RenderData rdat = RenderConfig.createRenderData(application,request,response); RenderData rdat = RenderConfig.createRenderData(application,request,response);
String stdfont = rdat.getStdFontTag(null,2); String stdfont = rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2);
%> %>
<% if (rdat.useHTMLComments()) { %><!-- User conference hotlist --><% } %> <% if (rdat.useHTMLComments()) { %><!-- User conference hotlist --><% } %>
<% rdat.writeContentHeader(out,"Your Conference Hotlist",null); %> <% rdat.writeContentHeader(out,"Your Conference Hotlist",null); %>

View File

@ -32,15 +32,16 @@
<INPUT TYPE="HIDDEN" NAME="cmd" VALUE="I"> <INPUT TYPE="HIDDEN" NAME="cmd" VALUE="I">
<TABLE BORDER=0 CELLPADDING=0> <TABLE BORDER=0 CELLPADDING=0>
<TR VALIGN=MIDDLE> <TR VALIGN=MIDDLE>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %>Send to:&nbsp;</FONT></TD> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>Send to:&nbsp;</FONT></TD>
<TD ALIGN=LEFT><INPUT TYPE=TEXT NAME="addr" SIZE=65 MAXLENGTH=255 VALUE=""></TD> <TD ALIGN=LEFT><INPUT TYPE=TEXT NAME="addr" SIZE=65 MAXLENGTH=255 VALUE=""></TD>
</TR> </TR>
<TR VALIGN=MIDDLE><TD ALIGN=LEFT COLSPAN=2> <TR VALIGN=MIDDLE>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %>Personal message to be added to invitation:</FONT></TD> <TD ALIGN=LEFT COLSPAN=2><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>Personal message
</TD></TR> to be added to invitation:</FONT></TD>
<TR VALIGN=MIDDLE><TD ALIGN=LEFT COLSPAN=2> </TR>
<TEXTAREA NAME="pb" WRAP=HARD ROWS=7 COLS=80></TEXTAREA> <TR VALIGN=MIDDLE>
</TD></TR> <TD ALIGN=LEFT COLSPAN=2><TEXTAREA NAME="pb" WRAP=HARD ROWS=7 COLS=80></TEXTAREA></TD>
</TR>
<TR VALIGN=MIDDLE><TD ALIGN=LEFT COLSPAN=2> <TR VALIGN=MIDDLE><TD ALIGN=LEFT COLSPAN=2>
<INPUT TYPE="IMAGE" SRC="<%= rdat.getFullImagePath("bn_send_email.gif") %>" NAME="send" <INPUT TYPE="IMAGE" SRC="<%= rdat.getFullImagePath("bn_send_email.gif") %>" NAME="send"
ALT="Send E-Mail" WIDTH=80 HEIGHT=24 BORDER=0>&nbsp; ALT="Send E-Mail" WIDTH=80 HEIGHT=24 BORDER=0>&nbsp;

View File

@ -28,12 +28,12 @@
%> %>
<% if (rdat.useHTMLComments()) { %><!-- Managing aliases for conference #<%= data.getConfID() %> --><% } %> <% if (rdat.useHTMLComments()) { %><!-- Managing aliases for conference #<%= data.getConfID() %> --><% } %>
<% rdat.writeContentHeader(out,"Managing Conference Aliases:",data.getConfName()); %> <% rdat.writeContentHeader(out,"Managing Conference Aliases:",data.getConfName()); %>
<%= rdat.getStdFontTag(null,2) %> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<A HREF="<%= rdat.getEncodedServletPath("confops?" + data.getLocator() + "&cmd=Q") %>">Return to <A HREF="<%= rdat.getEncodedServletPath("confops?" + data.getLocator() + "&cmd=Q") %>">Return to
Manage Conference Menu</A><P> Manage Conference Menu</A><P>
<% if (data.getErrorMessage()!=null) { %> <% if (data.getErrorMessage()!=null) { %>
<%= rdat.getStdFontTag("red",2) %><B><%= StringUtil.encodeHTML(data.getErrorMessage()) %></B></FONT><P> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_ERROR,2) %><B><%= StringUtil.encodeHTML(data.getErrorMessage()) %></B></FONT><P>
<% } // end if %> <% } // end if %>
<FONT SIZE=+1><B>Current Aliases:</B></FONT><P> <FONT SIZE=+1><B>Current Aliases:</B></FONT><P>
@ -44,7 +44,7 @@
<TR VALIGN=MIDDLE> <TR VALIGN=MIDDLE>
<TD ALIGN=CENTER><IMG SRC="<%= rdat.getFullImagePath("purple-ball.gif") %>" ALT="*" <TD ALIGN=CENTER><IMG SRC="<%= rdat.getFullImagePath("purple-ball.gif") %>" ALT="*"
WIDTH=14 HEIGHT=14 BORDER=0></TD> WIDTH=14 HEIGHT=14 BORDER=0></TD>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %><%= StringUtil.encodeHTML(name) %></FONT></TD> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><%= StringUtil.encodeHTML(name) %></FONT></TD>
<TD ALIGN=LEFT>&nbsp;&nbsp;&nbsp;&nbsp;</TD> <TD ALIGN=LEFT>&nbsp;&nbsp;&nbsp;&nbsp;</TD>
<TD ALIGN=LEFT> <TD ALIGN=LEFT>
<% if (data.canRemoveAliases()) { %> <% if (data.canRemoveAliases()) { %>

View File

@ -28,7 +28,7 @@
<% if (rdat.useHTMLComments()) { %><!-- Managing conference #<%= data.getConfID() %> --><% } %> <% if (rdat.useHTMLComments()) { %><!-- Managing conference #<%= data.getConfID() %> --><% } %>
<% rdat.writeContentHeader(out,"Manage Conference:",data.getConfName()); %> <% rdat.writeContentHeader(out,"Manage Conference:",data.getConfName()); %>
<%= rdat.getStdFontTag(null,2) %> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<A HREF="<%= rdat.getEncodedServletPath("confdisp?" + data.getLocator()) %>">Return to Topic List</A> <A HREF="<%= rdat.getEncodedServletPath("confdisp?" + data.getLocator()) %>">Return to Topic List</A>
</FONT><P> </FONT><P>
@ -37,7 +37,7 @@
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getSIGID() %>"> <INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getSIGID() %>">
<INPUT TYPE="HIDDEN" NAME="conf" VALUE="<%= data.getConfID() %>"> <INPUT TYPE="HIDDEN" NAME="conf" VALUE="<%= data.getConfID() %>">
<INPUT TYPE="HIDDEN" NAME="cmd" VALUE="P"> <INPUT TYPE="HIDDEN" NAME="cmd" VALUE="P">
<%= rdat.getStdFontTag(null,2) %> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
Set default pseud for conference: Set default pseud for conference:
<INPUT TYPE="TEXT" NAME="pseud" VALUE="<%= data.getDefaultPseud() %>" SIZE=37 MAXLENGTH=255>&nbsp; <INPUT TYPE="TEXT" NAME="pseud" VALUE="<%= data.getDefaultPseud() %>" SIZE=37 MAXLENGTH=255>&nbsp;
<INPUT TYPE="IMAGE" SRC="<%= rdat.getFullImagePath("bn_set.gif") %>" NAME="set" ALT="Set" <INPUT TYPE="IMAGE" SRC="<%= rdat.getFullImagePath("bn_set.gif") %>" NAME="set" ALT="Set"
@ -46,7 +46,7 @@
</FORM><P> </FORM><P>
<% if (rdat.useHTMLComments()) { %><!-- Fixseen Link --><% } %> <% if (rdat.useHTMLComments()) { %><!-- Fixseen Link --><% } %>
<%= rdat.getStdFontTag(null,2) %><B> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><B>
<A HREF="<%= rdat.getEncodedServletPath("confops?" + data.getLocator() + "&cmd=FX") %>">Mark <A HREF="<%= rdat.getEncodedServletPath("confops?" + data.getLocator() + "&cmd=FX") %>">Mark
entire conference as read (fixseen)</A> entire conference as read (fixseen)</A>
</B></FONT><P> </B></FONT><P>
@ -54,7 +54,7 @@
<% if (data.displayAdminSection()) { %> <% if (data.displayAdminSection()) { %>
<% if (rdat.useHTMLComments()) { %><!-- Host Tools Section --><% } %> <% if (rdat.useHTMLComments()) { %><!-- Host Tools Section --><% } %>
<% rdat.writeContentHeader(out,"Host Tools",null); %> <% rdat.writeContentHeader(out,"Host Tools",null); %>
<%= rdat.getStdFontTag(null,2) %><B> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><B>
<A HREF="<%= rdat.getEncodedServletPath("confops?" + data.getLocator() + "&cmd=E") %>">Change <A HREF="<%= rdat.getEncodedServletPath("confops?" + data.getLocator() + "&cmd=E") %>">Change
Conference Information</A><P> Conference Information</A><P>
<A HREF="<%= rdat.getEncodedServletPath("confops?" + data.getLocator() + "&cmd=A") %>">Manage <A HREF="<%= rdat.getEncodedServletPath("confops?" + data.getLocator() + "&cmd=A") %>">Manage

View File

@ -27,7 +27,7 @@
%> %>
<% if (rdat.useHTMLComments()) { %><!-- Welcome to new SIG <%= data.getSIGName() %> --><% } %> <% if (rdat.useHTMLComments()) { %><!-- Welcome to new SIG <%= data.getSIGName() %> --><% } %>
<% rdat.writeContentHeader(out,"Welcome!",null); %> <% rdat.writeContentHeader(out,"Welcome!",null); %>
<%= rdat.getStdFontTag(null,2) %> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
Your new SIG <B>&quot;<%= StringUtil.encodeHTML(data.getSIGName()) %>&quot</B> has been created, and Your new SIG <B>&quot;<%= StringUtil.encodeHTML(data.getSIGName()) %>&quot</B> has been created, and
you are its host. You may now wish to send out invitations to other people to join your new SIG. you are its host. You may now wish to send out invitations to other people to join your new SIG.
You will also want to enter your SIG's administration page and set its category and/or additional You will also want to enter your SIG's administration page and set its category and/or additional

View File

@ -29,7 +29,7 @@
<% rdat.writeContentHeader(out,data.isPreview() ? "Preview New Topic" : "Create New Topic", <% rdat.writeContentHeader(out,data.isPreview() ? "Preview New Topic" : "Create New Topic",
"in: " + data.getConfName()); %> "in: " + data.getConfName()); %>
<% if (data.isPreview()) { %> <% if (data.isPreview()) { %>
<%= rdat.getStdFontTag(null,3) %><B> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,3) %><B>
<% if (data.getNumSpellingErrors()==0) { %> <% if (data.getNumSpellingErrors()==0) { %>
Your post did not contain any spelling errors. Your post did not contain any spelling errors.
<% } else if (data.getNumSpellingErrors()==1) { %> <% } else if (data.getNumSpellingErrors()==1) { %>
@ -47,18 +47,18 @@
<INPUT TYPE="HIDDEN" NAME="cmd" VALUE="T"> <INPUT TYPE="HIDDEN" NAME="cmd" VALUE="T">
<TABLE BORDER=0 CELLPADDING=0> <TABLE BORDER=0 CELLPADDING=0>
<TR><TD ALIGN=LEFT COLSPAN=2> <TR><TD ALIGN=LEFT COLSPAN=2>
<%= rdat.getStdFontTag(null,2) %>New topic name:</FONT><BR> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>New topic name:</FONT><BR>
<INPUT TYPE="TEXT" NAME="title" SIZE=37 MAXLENGTH=128 VALUE="<%= data.getTopicName() %>"> <INPUT TYPE="TEXT" NAME="title" SIZE=37 MAXLENGTH=128 VALUE="<%= data.getTopicName() %>">
</TD></TR> </TD></TR>
<TR><TD ALIGN=LEFT COLSPAN=2> <TR><TD ALIGN=LEFT COLSPAN=2>
<%= rdat.getStdFontTag(null,2) %>Your name/header:</FONT><BR> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>Your name/header:</FONT><BR>
<INPUT TYPE="TEXT" NAME="pseud" SIZE=37 MAXLENGTH=255 VALUE="<%= data.getPseud() %>"> <INPUT TYPE="TEXT" NAME="pseud" SIZE=37 MAXLENGTH=255 VALUE="<%= data.getPseud() %>">
<%= rdat.getStdFontTag(null,2) %><INPUT TYPE="CHECKBOX" NAME="attach" <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><INPUT TYPE="CHECKBOX" NAME="attach"
VALUE="Y" <% if (data.getAttachCheck()) { %>CHECKED<% } %> > Attach a file</FONT> VALUE="Y" <% if (data.getAttachCheck()) { %>CHECKED<% } %> > Attach a file</FONT>
</TD></TR> </TD></TR>
<TR> <TR>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %>Message:</FONT></TD> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>Message:</FONT></TD>
<TD ALIGN=RIGHT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=RIGHT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<A HREF="<%= rdat.getStaticFilePath("html-reference.html") %>" TARGET="_blank">HTML Guide</A> <A HREF="<%= rdat.getStaticFilePath("html-reference.html") %>" TARGET="_blank">HTML Guide</A>
</FONT></TD> </FONT></TD>
</TR> </TR>

View File

@ -26,8 +26,8 @@
RenderData rdat = RenderConfig.createRenderData(application,request,response); RenderData rdat = RenderConfig.createRenderData(application,request,response);
%> %>
<% if (rdat.useHTMLComments()) { %><!-- <%= data.getIdentifyingData() %> --><% } %> <% if (rdat.useHTMLComments()) { %><!-- <%= data.getIdentifyingData() %> --><% } %>
<%= rdat.getStdFontTag("#3333AA",5) %><B><%= data.getTopicName() %></B></FONT>&nbsp;&nbsp; <%= rdat.getStdFontTag(ColorSelectors.CONTENT_HEADER,5) %><B><%= data.getTopicName() %></B></FONT>&nbsp;&nbsp;
<%= rdat.getStdFontTag("#3333AA",3) %><B> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_HEADER,3) %><B>
<% if (data.isTopicArchived()) { %>(Archived)<% } else if (data.isTopicFrozen()) { %>(Frozen)<% } %> <% if (data.isTopicArchived()) { %>(Archived)<% } else if (data.isTopicFrozen()) { %>(Frozen)<% } %>
<%= data.getTotalMessages() %> Total; <%= data.getNewMessages() %> New; <%= data.getTotalMessages() %> Total; <%= data.getNewMessages() %> New;
Last: <%= rdat.formatDateForDisplay(data.getLastUpdate()) %> Last: <%= rdat.formatDateForDisplay(data.getLastUpdate()) %>
@ -112,7 +112,7 @@
ALIGN=BOTTOM WIDTH=80 HEIGHT=24 BORDER=0> ALIGN=BOTTOM WIDTH=80 HEIGHT=24 BORDER=0>
</FORM> </FORM>
</TD> </TD>
<TD NOWRAP ALIGN=RIGHT><%= rdat.getStdFontTag(null,2) %> <TD NOWRAP ALIGN=RIGHT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<% if (rdat.useHTMLComments()) { %><!-- Upper navigation linkset --><% } %> <% if (rdat.useHTMLComments()) { %><!-- Upper navigation linkset --><% } %>
<A NAME="top">[</A>&nbsp; <A NAME="top">[</A>&nbsp;
<A HREF="<%= rdat.getEncodedServletPath("confdisp?" + data.getLocator() + "&p1=0&p2=-1") %>">View All</A> <A HREF="<%= rdat.getEncodedServletPath("confdisp?" + data.getLocator() + "&p1=0&p2=-1") %>">View All</A>
@ -155,11 +155,11 @@
<BR> <BR>
<TABLE WIDTH="100%" BORDER=0 CELLPADDING=0 CELLSPACING=0><TR VALIGN=TOP><TD NOWRAP ALIGN=LEFT> <TABLE WIDTH="100%" BORDER=0 CELLPADDING=0 CELLSPACING=0><TR VALIGN=TOP><TD NOWRAP ALIGN=LEFT>
<% } // end if %> <% } // end if %>
<%= rdat.getStdFontTag(null,2) %> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<A HREF="<%= rdat.getEncodedServletPath("confdisp?" + data.getLocator() + "&shac=1&p1=" <A HREF="<%= rdat.getEncodedServletPath("confdisp?" + data.getLocator() + "&shac=1&p1="
+ msg.getPostNumber()) %>"><%= msg.getPostNumber() %></A> of + msg.getPostNumber()) %>"><%= msg.getPostNumber() %></A> of
<A HREF="<%= last_post %>"><%= data.getTotalMessages() - 1 %></A> <A HREF="<%= last_post %>"><%= data.getTotalMessages() - 1 %></A>
<%= rdat.getStdFontTag(null,1) %>&lt;<%= data.getMessageReference(msg) %>&gt;</FONT> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,1) %>&lt;<%= data.getMessageReference(msg) %>&gt;</FONT>
<% if (data.showAdvanced() && msg.isHidden()) { %> <% if (data.showAdvanced() && msg.isHidden()) { %>
<B><EM>(Hidden)</EM></B> <B><EM>(Hidden)</EM></B>
<% } // end if %> <% } // end if %>
@ -177,7 +177,7 @@
ALT="(Attachment <%= msg.getAttachmentFilename() %> - <%= msg.getAttachmentLength() %> bytes)" ALT="(Attachment <%= msg.getAttachmentFilename() %> - <%= msg.getAttachmentLength() %> bytes)"
WIDTH=16 HEIGHT=16 BORDER=0></A> WIDTH=16 HEIGHT=16 BORDER=0></A>
<% } // end if %> <% } // end if %>
</FONT><P> </FONT><P><FONT COLOR="<%= rdat.getStdColor(ColorSelectors.CONTENT_FOREGROUND) %>">
<% if (msg.isScribbled()) { %> <% if (msg.isScribbled()) { %>
<TT><EM><B> <TT><EM><B>
(Scribbled by <%= data.getMessageBodyText(msg) %> on (Scribbled by <%= data.getMessageBodyText(msg) %> on
@ -192,6 +192,7 @@
<% } else { %> <% } else { %>
<PRE><%= rdat.rewritePostData(data.getMessageBodyText(msg)) %></PRE> <PRE><%= rdat.rewritePostData(data.getMessageBodyText(msg)) %></PRE>
<% } // end if %> <% } // end if %>
</FONT>
<% if (data.showAdvanced()) { %> <% if (data.showAdvanced()) { %>
<% String po_loc = data.getLocator() + "&msg=" + msg.getPostNumber(); %> <% String po_loc = data.getLocator() + "&msg=" + msg.getPostNumber(); %>
</TD><TD NOWRAP ALIGN=RIGHT> </TD><TD NOWRAP ALIGN=RIGHT>
@ -230,7 +231,7 @@
<TABLE BORDER=0 WIDTH="100%" CELLPADDING=0 CELLSPACING=0> <TABLE BORDER=0 WIDTH="100%" CELLPADDING=0 CELLSPACING=0>
<TR VALIGN=BOTTOM> <TR VALIGN=BOTTOM>
<TD NOWRAP ALIGN=LEFT>&nbsp;</TD> <TD NOWRAP ALIGN=LEFT>&nbsp;</TD>
<TD NOWRAP ALIGN=RIGHT><%= rdat.getStdFontTag(null,2) %> <TD NOWRAP ALIGN=RIGHT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<% if (rdat.useHTMLComments()) { %><!-- Upper navigation linkset --><% } %> <% if (rdat.useHTMLComments()) { %><!-- Upper navigation linkset --><% } %>
<A NAME="bottom">[</A>&nbsp; <A NAME="bottom">[</A>&nbsp;
<A HREF="<%= rdat.getEncodedServletPath("confdisp?" + data.getLocator() + "&p1=0&p2=-1") %>">View All</A> <A HREF="<%= rdat.getEncodedServletPath("confdisp?" + data.getLocator() + "&p1=0&p2=-1") %>">View All</A>
@ -290,7 +291,8 @@
</TABLE> </TABLE>
<% if (data.displayPostBox()) { %> <% if (data.displayPostBox()) { %>
<HR><%= rdat.getStdFontTag(null,3) %><B>Post Message in &quot;<%= data.getTopicName() %>&quot;:</B></FONT> <HR><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,3) %><B>Post Message in
&quot;<%= data.getTopicName() %>&quot;:</B></FONT>
<BR> <BR>
<FORM METHOD="POST" ACTION="<%= rdat.getEncodedServletPath("post") %>"> <FORM METHOD="POST" ACTION="<%= rdat.getEncodedServletPath("post") %>">
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getSIGID() %>"> <INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getSIGID() %>">
@ -302,13 +304,13 @@
<INPUT TYPE="HIDDEN" NAME="sd" VALUE="<%= data.getTotalMessages() %>"> <INPUT TYPE="HIDDEN" NAME="sd" VALUE="<%= data.getTotalMessages() %>">
<TABLE BORDER=0 CELLPADDING=0> <TABLE BORDER=0 CELLPADDING=0>
<TR><TD ALIGN=LEFT COLSPAN=2> <TR><TD ALIGN=LEFT COLSPAN=2>
<%= rdat.getStdFontTag(null,2) %>Your name/header:</FONT><BR> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>Your name/header:</FONT><BR>
<INPUT TYPE="TEXT" NAME="pseud" SIZE=37 MAXLENGTH=255 VALUE="<%= data.getDefaultPseud() %>"> <INPUT TYPE="TEXT" NAME="pseud" SIZE=37 MAXLENGTH=255 VALUE="<%= data.getDefaultPseud() %>">
<%= rdat.getStdFontTag(null,2) %><INPUT TYPE="CHECKBOX" NAME="attach" VALUE="Y"> Attach a file</FONT> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><INPUT TYPE="CHECKBOX" NAME="attach" VALUE="Y"> Attach a file</FONT>
</TD></TR> </TD></TR>
<TR> <TR>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %>Message:</FONT></TD> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>Message:</FONT></TD>
<TD ALIGN=RIGHT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=RIGHT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<A HREF="<%= rdat.getStaticFilePath("html-reference.html") %>" TARGET="_blank">HTML Guide</A> <A HREF="<%= rdat.getStaticFilePath("html-reference.html") %>" TARGET="_blank">HTML Guide</A>
</FONT></TD> </FONT></TD>
</TR> </TR>
@ -333,7 +335,9 @@
</TABLE> </TABLE>
</FORM> </FORM>
<% } else if (data.isTopicArchived()) { %> <% } else if (data.isTopicArchived()) { %>
<DIV ALIGN=CENTER><%= rdat.getStdFontTag(null,2) %><B>This is an <EM>Archived</EM> Topic</B></DIV> <DIV ALIGN=CENTER><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><B>This is an
<EM>Archived</EM> Topic</B></DIV>
<% } else if (data.isTopicFrozen()) { %> <% } else if (data.isTopicFrozen()) { %>
<DIV ALIGN=CENTER><%= rdat.getStdFontTag(null,2) %><B>This is a <EM>Frozen</EM> Topic</B></DIV> <DIV ALIGN=CENTER><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><B>This is a
<EM>Frozen</EM> Topic</B></DIV>
<% } // end if %> <% } // end if %>

View File

@ -26,7 +26,7 @@
RenderData rdat = RenderConfig.createRenderData(application,request,response); RenderData rdat = RenderConfig.createRenderData(application,request,response);
%> %>
<% rdat.writeContentHeader(out,"Previewing Post",null); %> <% rdat.writeContentHeader(out,"Previewing Post",null); %>
<%= rdat.getStdFontTag(null,3) %><B> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,3) %><B>
<% if (data.getNumSpellingErrors()==0) { %> <% if (data.getNumSpellingErrors()==0) { %>
Your post did not contain any spelling errors. Your post did not contain any spelling errors.
<% } else if (data.getNumSpellingErrors()==1) { %> <% } else if (data.getNumSpellingErrors()==1) { %>
@ -50,14 +50,14 @@
<% } // end if %> <% } // end if %>
<TABLE BORDER=0 CELLPADDING=0> <TABLE BORDER=0 CELLPADDING=0>
<TR><TD ALIGN=LEFT COLSPAN=2> <TR><TD ALIGN=LEFT COLSPAN=2>
<%= rdat.getStdFontTag(null,2) %>Your name/header:</FONT><BR> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>Your name/header:</FONT><BR>
<INPUT TYPE="TEXT" NAME="pseud" SIZE=37 MAXLENGTH=255 VALUE="<%= data.getPseud() %>"> <INPUT TYPE="TEXT" NAME="pseud" SIZE=37 MAXLENGTH=255 VALUE="<%= data.getPseud() %>">
<%= rdat.getStdFontTag(null,2) %><INPUT TYPE="CHECKBOX" NAME="attach" <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><INPUT TYPE="CHECKBOX" NAME="attach"
VALUE="Y" <% if (data.attachChecked()) { %>CHECKED<% } %> > Attach a file</FONT> VALUE="Y" <% if (data.attachChecked()) { %>CHECKED<% } %> > Attach a file</FONT>
</TD></TR> </TD></TR>
<TR> <TR>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %>Message:</FONT></TD> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>Message:</FONT></TD>
<TD ALIGN=RIGHT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=RIGHT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<A HREF="<%= rdat.getStaticFilePath("html-reference.html") %>" TARGET="_blank">HTML Guide</A> <A HREF="<%= rdat.getStaticFilePath("html-reference.html") %>" TARGET="_blank">HTML Guide</A>
</FONT></TD> </FONT></TD>
</TR> </TR>

View File

@ -24,7 +24,7 @@
ReportConferenceMenu data = ReportConferenceMenu.retrieve(request); ReportConferenceMenu data = ReportConferenceMenu.retrieve(request);
Variables.failIfNull(data); Variables.failIfNull(data);
RenderData rdat = RenderConfig.createRenderData(application,request,response); RenderData rdat = RenderConfig.createRenderData(application,request,response);
String stdfont = rdat.getStdFontTag(null,2); String stdfont = rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2);
String partial; String partial;
%> %>
<% if (rdat.useHTMLComments()) { %><!-- Reports for conference #<%= data.getConfID() %> --><% } %> <% if (rdat.useHTMLComments()) { %><!-- Reports for conference #<%= data.getConfID() %> --><% } %>

View File

@ -26,17 +26,17 @@
RenderData rdat = RenderConfig.createRenderData(application,request,response); RenderData rdat = RenderConfig.createRenderData(application,request,response);
%> %>
<% rdat.writeContentHeader(out,"Set SIG Membership:",data.getSIGName()); %> <% rdat.writeContentHeader(out,"Set SIG Membership:",data.getSIGName()); %>
<%= rdat.getStdFontTag(null,2) %> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<A HREF="<%= rdat.getEncodedServletPath("sigadmin?sig=" + data.getSIGID()) %>">Return to SIG <A HREF="<%= rdat.getEncodedServletPath("sigadmin?sig=" + data.getSIGID()) %>">Return to SIG
Administration Menu</A> Administration Menu</A>
</FONT><P> </FONT><P>
<%= rdat.getStdFontTag(null,3) %><B>Find Users:</B></FONT><P> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,3) %><B>Find Users:</B></FONT><P>
<FORM METHOD="POST" ACTION="<%= rdat.getEncodedServletPath("sigadmin") %>"> <FORM METHOD="POST" ACTION="<%= rdat.getEncodedServletPath("sigadmin") %>">
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getSIGID() %>"> <INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getSIGID() %>">
<INPUT TYPE="HIDDEN" NAME="cmd" VALUE="M"> <INPUT TYPE="HIDDEN" NAME="cmd" VALUE="M">
<INPUT TYPE="HIDDEN" NAME="ofs" VALUE="0"> <INPUT TYPE="HIDDEN" NAME="ofs" VALUE="0">
<%= rdat.getStdFontTag(null,2) %> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
Display all users whose&nbsp;&nbsp; Display all users whose&nbsp;&nbsp;
<SELECT NAME="field" SIZE=1> <SELECT NAME="field" SIZE=1>
<OPTION VALUE="<%= SearchMode.FIELD_USER_NAME %>" <OPTION VALUE="<%= SearchMode.FIELD_USER_NAME %>"
@ -69,7 +69,7 @@
<HR> <HR>
<% if (data.isSIGMemberList()) { %> <% if (data.isSIGMemberList()) { %>
<%-- The SIG list header --%> <%-- The SIG list header --%>
<%= rdat.getStdFontTag(null,3) %><B> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,3) %><B>
Members of SIG "<%= StringUtil.encodeHTML(data.getSIGName()) %>": Members of SIG "<%= StringUtil.encodeHTML(data.getSIGName()) %>":
</B></FONT><BR> </B></FONT><BR>
<% } else { %> <% } else { %>
@ -84,7 +84,7 @@
} // end if } // end if
%> %>
<TABLE WIDTH="100%" BORDER=0 ALIGN=CENTER><TR VALIGN=MIDDLE> <TABLE WIDTH="100%" BORDER=0 ALIGN=CENTER><TR VALIGN=MIDDLE>
<TD WIDTH="50%" ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD WIDTH="50%" ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<%-- The search results header --%> <%-- The search results header --%>
<FONT SIZE=+1><B>Search Results:</B></FONT> <FONT SIZE=+1><B>Search Results:</B></FONT>
<% if (data.getFindCount()>0) { %> <% if (data.getFindCount()>0) { %>
@ -135,10 +135,10 @@
<TD ALIGN=CENTER WIDTH=14> <TD ALIGN=CENTER WIDTH=14>
<IMG SRC="<%= rdat.getFullImagePath("purple-ball.gif") %>" ALT="*" WIDTH=14 HEIGHT=14 BORDER=0> <IMG SRC="<%= rdat.getFullImagePath("purple-ball.gif") %>" ALT="*" WIDTH=14 HEIGHT=14 BORDER=0>
</TD> </TD>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<A HREF="<%= rdat.getEncodedServletPath("user/" + uf.getName()) %>"><%= uf.getName() %></A> <A HREF="<%= rdat.getEncodedServletPath("user/" + uf.getName()) %>"><%= uf.getName() %></A>
</FONT></TD> </FONT></TD>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<% data.outputDropDown(out,uf.getUID(),uf.getLevel()); %> <% data.outputDropDown(out,uf.getUID(),uf.getLevel()); %>
</FONT></TD> </FONT></TD>
</TR> </TR>

View File

@ -32,7 +32,7 @@
<A HREF="<%= data.getCancelURL(rdat) %>"><IMG SRC="<%= rdat.getFullImagePath("bn_cancel.gif") %>" <A HREF="<%= data.getCancelURL(rdat) %>"><IMG SRC="<%= rdat.getFullImagePath("bn_cancel.gif") %>"
ALT=\"Cancel\" WIDTH=80 HEIGHT=24 BORDER=0></A> ALT=\"Cancel\" WIDTH=80 HEIGHT=24 BORDER=0></A>
</DIV> </DIV>
<%= rdat.getStdFontTag(null,2) %> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<B>Previous SIG Category:</B> <%= StringUtil.encodeHTML(data.getPreviousCategory()) %><P> <B>Previous SIG Category:</B> <%= StringUtil.encodeHTML(data.getPreviousCategory()) %><P>
<B>Current category:</B><BR> <B>Current category:</B><BR>
<% if (catid>=0) { %><A HREF="<%= data.getGoLink(rdat,-1) %>"><% } %>Top<% if (catid>=0) { %></A><% } %>: <% if (catid>=0) { %><A HREF="<%= data.getGoLink(rdat,-1) %>"><% } %>Top<% if (catid>=0) { %></A><% } %>:
@ -54,7 +54,7 @@
<TD ALIGN=CENTER WIDTH=14> <TD ALIGN=CENTER WIDTH=14>
<IMG SRC="<%= rdat.getFullImagePath("purple-ball.gif") %>" ALT="*" WIDTH=14 HEIGHT=14 BORDER=0> <IMG SRC="<%= rdat.getFullImagePath("purple-ball.gif") %>" ALT="*" WIDTH=14 HEIGHT=14 BORDER=0>
</TD> </TD>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<A HREF="<%= data.getGoLink(rdat,subid) %>"><%= StringUtil.encodeHTML(c.getTitleAtLevel(c.getNumLevels()-1)) %></A> <A HREF="<%= data.getGoLink(rdat,subid) %>"><%= StringUtil.encodeHTML(c.getTitleAtLevel(c.getNumLevels()-1)) %></A>
<% if (c.isSymbolicLink()) { %><EM>@</EM><% } %> <% if (c.isSymbolicLink()) { %><EM>@</EM><% } %>
&nbsp;&nbsp;&nbsp;&nbsp;[<A HREF="<%= data.getSetLink(rdat,subid) %>">set</A>] &nbsp;&nbsp;&nbsp;&nbsp;[<A HREF="<%= data.getSetLink(rdat,subid) %>">set</A>]

View File

@ -27,7 +27,7 @@
%> %>
<% if (rdat.useHTMLComments()) { %><!-- User conference hotlist --><% } %> <% if (rdat.useHTMLComments()) { %><!-- User conference hotlist --><% } %>
<% rdat.writeContentHeader(out,"Your SIGs",null); %> <% rdat.writeContentHeader(out,"Your SIGs",null); %>
<%= rdat.getStdFontTag(null,2) %> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<A HREF="<%= rdat.getEncodedServletPath("top") %>">Return to Front Page</A> <A HREF="<%= rdat.getEncodedServletPath("top") %>">Return to Front Page</A>
</FONT><P> </FONT><P>
<% if (data.getNumSIGs()>0) { %> <% if (data.getNumSIGs()>0) { %>
@ -42,7 +42,7 @@
HEIGHT=16></A> HEIGHT=16></A>
<% } else { %>&nbsp;<% } %> <% } else { %>&nbsp;<% } %>
</TD> </TD>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<A HREF="<%= rdat.getEncodedServletPath("sig/" + sig.getAlias()) %>"><%= StringUtil.encodeHTML(sig.getName()) %></A> <A HREF="<%= rdat.getEncodedServletPath("sig/" + sig.getAlias()) %>"><%= StringUtil.encodeHTML(sig.getName()) %></A>
</FONT></TD> </FONT></TD>
</TR> </TR>
@ -54,11 +54,12 @@
<TD ALIGN=CENTER WIDTH=16> <TD ALIGN=CENTER WIDTH=16>
<IMG SRC="<%= rdat.getFullImagePath("icn_x.gif") %> ALT="Unjoin" BORDER=0 WIDTH=16 HEIGHT=16> <IMG SRC="<%= rdat.getFullImagePath("icn_x.gif") %> ALT="Unjoin" BORDER=0 WIDTH=16 HEIGHT=16>
</TD> </TD>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
Click this symbol to unjoin the specified SIG. Click this symbol to unjoin the specified SIG.
</FONT></TD> </FONT></TD>
</TR> </TR>
</TABLE> </TABLE>
<% } else { %> <% } else { %>
<%= rdat.getStdFontTag(null,2) %><EM>You are not a member of any SIGs.</EM></FONT> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><EM>You are not a member of
any SIGs.</EM></FONT>
<% } // end if %> <% } // end if %>

View File

@ -32,7 +32,7 @@
<% if (rdat.useHTMLComments()) { %><!-- Profile for SIG #<%= sig.getSIGID() %> --><% } %> <% if (rdat.useHTMLComments()) { %><!-- Profile for SIG #<%= sig.getSIGID() %> --><% } %>
<% rdat.writeContentHeader(out,"SIG Profile:",sig.getName()); %> <% rdat.writeContentHeader(out,"SIG Profile:",sig.getName()); %>
<TABLE BORDER=0 CELLPADDING=6 CELLSPACING=0><TR VALIGN=TOP> <TABLE BORDER=0 CELLPADDING=6 CELLSPACING=0><TR VALIGN=TOP>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,1) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,1) %>
<IMG SRC="<%= data.getSIGLogoURL(rdat)%>" ALIGN=LEFT WIDTH=110 HEIGHT=65 BORDER=0><BR CLEAR=LEFT><BR> <IMG SRC="<%= data.getSIGLogoURL(rdat)%>" ALIGN=LEFT WIDTH=110 HEIGHT=65 BORDER=0><BR CLEAR=LEFT><BR>
<% Date tmpd = sig.getCreationDate(); %> <% Date tmpd = sig.getCreationDate(); %>
@ -64,7 +64,7 @@
</FONT></TD> </FONT></TD>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<B><U><% if (sig.isPublicSIG()) { %>Public<% } else { %>Private<% } %> Special Interest Group</U></B><BR> <B><U><% if (sig.isPublicSIG()) { %>Public<% } else { %>Private<% } %> Special Interest Group</U></B><BR>
<B>Category:</B> <B>Category:</B>
<% for (int i=0; i<cat.getNumLevels(); i++) { %> <% for (int i=0; i<cat.getNumLevels(); i++) { %>

View File

@ -27,7 +27,7 @@
%> %>
<% if (rdat.useHTMLComments()) { %><!-- Welcome to <%= data.getSIGName() %> --><% } %> <% if (rdat.useHTMLComments()) { %><!-- Welcome to <%= data.getSIGName() %> --><% } %>
<% rdat.writeContentHeader(out,"Welcome!",null); %> <% rdat.writeContentHeader(out,"Welcome!",null); %>
<%= rdat.getStdFontTag(null,2) %> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
Welcome to the <B>&quot;<%= StringUtil.encodeHTML(data.getSIGName()) %>&quot;</B> SIG! Welcome to the <B>&quot;<%= StringUtil.encodeHTML(data.getSIGName()) %>&quot;</B> SIG!
As a SIG member, you now have access to the various resources which your SIG's host As a SIG member, you now have access to the various resources which your SIG's host
has elected to provide. Enjoy your membership!<P> has elected to provide. Enjoy your membership!<P>

View File

@ -27,7 +27,7 @@
%> %>
<% if (rdat.useHTMLComments()) { %><!-- <%= data.getIdentifyingData() %> --><% } %> <% if (rdat.useHTMLComments()) { %><!-- <%= data.getIdentifyingData() %> --><% } %>
<% rdat.writeContentHeader(out,"Slippage or Double-Click Detected",null); %> <% rdat.writeContentHeader(out,"Slippage or Double-Click Detected",null); %>
<%= rdat.getStdFontTag(null,2) %> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
The following posts slipped in while you were typing. You may choose to edit your message and 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. re-post, just post it as is, or cancel your posting altogether.
</FONT><P> </FONT><P>
@ -39,9 +39,9 @@
TopicMessageContext msg = (TopicMessageContext)(it.next()); TopicMessageContext msg = (TopicMessageContext)(it.next());
String poster = data.getPosterName(msg); String poster = data.getPosterName(msg);
%> %>
<%= rdat.getStdFontTag(null,2) %> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<B><%= msg.getPostNumber() %></B> of <B><%= data.getTotalMessages() - 1 %></B> <B><%= msg.getPostNumber() %></B> of <B><%= data.getTotalMessages() - 1 %></B>
<%= rdat.getStdFontTag(null,1) %>&lt;<%= data.getMessageReference(msg) %>&gt;</FONT><BR> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,1) %>&lt;<%= data.getMessageReference(msg) %>&gt;</FONT><BR>
<B><%= msg.getPseud() %></B> <B><%= msg.getPseud() %></B>
(<EM> (<EM>
<A HREF="<%= rdat.getEncodedServletPath("user/" + poster) %>" TARGET="_blank"><%= poster %></A>, <A HREF="<%= rdat.getEncodedServletPath("user/" + poster) %>" TARGET="_blank"><%= poster %></A>,
@ -59,7 +59,8 @@
<% } // end while %> <% } // end while %>
<% if (rdat.useHTMLComments()) { %><!-- End Slipped Messages --><% } %> <% if (rdat.useHTMLComments()) { %><!-- End Slipped Messages --><% } %>
<HR><%= rdat.getStdFontTag(null,3) %><B>Post Message in &quot;<%= data.getTopicName() %>&quot;:</B></FONT> <HR><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,3) %><B>Post Message in
&quot;<%= data.getTopicName() %>&quot;:</B></FONT>
<BR> <BR>
<FORM METHOD="POST" ACTION="<%= rdat.getEncodedServletPath("post") %>"> <FORM METHOD="POST" ACTION="<%= rdat.getEncodedServletPath("post") %>">
<INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getSIGID() %>"> <INPUT TYPE="HIDDEN" NAME="sig" VALUE="<%= data.getSIGID() %>">
@ -72,14 +73,14 @@
<INPUT TYPE="HIDDEN" NAME="slip" VALUE="Y"> <INPUT TYPE="HIDDEN" NAME="slip" VALUE="Y">
<TABLE BORDER=0 CELLPADDING=0> <TABLE BORDER=0 CELLPADDING=0>
<TR><TD ALIGN=LEFT COLSPAN=2> <TR><TD ALIGN=LEFT COLSPAN=2>
<%= rdat.getStdFontTag(null,2) %>Your name/header:</FONT><BR> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>Your name/header:</FONT><BR>
<INPUT TYPE="TEXT" NAME="pseud" SIZE=37 MAXLENGTH=255 VALUE="<%= data.getPseud() %>"> <INPUT TYPE="TEXT" NAME="pseud" SIZE=37 MAXLENGTH=255 VALUE="<%= data.getPseud() %>">
<%= rdat.getStdFontTag(null,2) %><INPUT TYPE="CHECKBOX" NAME="attach" <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><INPUT TYPE="CHECKBOX" NAME="attach"
VALUE="Y" <% if (data.attachChecked()) { %>CHECKED<% } %> > Attach a file</FONT> VALUE="Y" <% if (data.attachChecked()) { %>CHECKED<% } %> > Attach a file</FONT>
</TD></TR> </TD></TR>
<TR> <TR>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %>Message:</FONT></TD> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>Message:</FONT></TD>
<TD ALIGN=RIGHT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=RIGHT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<A HREF="<%= rdat.getStaticFilePath("html-reference.html") %>" TARGET="_blank">HTML Guide</A> <A HREF="<%= rdat.getStaticFilePath("html-reference.html") %>" TARGET="_blank">HTML Guide</A>
</FONT></TD> </FONT></TD>
</TR> </TR>

View File

@ -28,18 +28,18 @@
<% if (rdat.useHTMLComments()) { %><!-- Top content panel --><% } %> <% if (rdat.useHTMLComments()) { %><!-- Top content panel --><% } %>
<% if (data.displayWelcome()) { %> <% if (data.displayWelcome()) { %>
<% rdat.writeContentHeader(out,rdat.getStockMessage("welcome-top"),null); %> <% rdat.writeContentHeader(out,rdat.getStockMessage("welcome-top"),null); %>
<%= rdat.getStdFontTag(null,2) %><%= rdat.getStockMessage("welcome") %></FONT><P> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><%= rdat.getStockMessage("welcome") %></FONT><P>
<% } // end if %> <% } // end if %>
<% rdat.writeContentHeader(out,rdat.getStockMessage("currents-top"),null); %> <%
<% int ntp = data.getNumTopPosts(); %> rdat.writeContentHeader(out,rdat.getStockMessage("currents-top"),null);
<% if (ntp>0) { %> int ntp = data.getNumTopPosts();
<% for (int i=0; i<ntp; i++) { %> if (ntp>0) {
<% if (i>0) { %><HR WIDTH="70%"><% } %> for (int i=0; i<ntp; i++) {
<%
TopicMessageContext msg = data.getTopPost(i); TopicMessageContext msg = data.getTopPost(i);
String poster = data.getPosterName(msg); String poster = data.getPosterName(msg);
%> %>
<%= rdat.getStdFontTag(null,2) %> <% if (i>0) { %><HR WIDTH="70%"><% } %>
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<B><%= msg.getPseud() %></B> <B><%= msg.getPseud() %></B>
(<EM> (<EM>
<A HREF="<%= rdat.getEncodedServletPath("user/" + poster) %>" TARGET="_blank"><%= poster %></A>, <A HREF="<%= rdat.getEncodedServletPath("user/" + poster) %>" TARGET="_blank"><%= poster %></A>,
@ -48,7 +48,13 @@
<P> <P>
<PRE><%= rdat.rewritePostData(data.getMessageBodyText(msg)) %></PRE> <PRE><%= rdat.rewritePostData(data.getMessageBodyText(msg)) %></PRE>
</FONT> </FONT>
<% } // end for %> <%
<% } else { %> } // end for
<%= rdat.getStdFontTag(null,2) %><EM>No front page postings found.</EM></FONT> } else {
%>
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><EM>No front page postings found.</EM></FONT>
<% } // end if %> <% } // end if %>

View File

@ -24,7 +24,7 @@
TopicListing data = TopicListing.retrieve(request); TopicListing data = TopicListing.retrieve(request);
Variables.failIfNull(data); Variables.failIfNull(data);
RenderData rdat = RenderConfig.createRenderData(application,request,response); RenderData rdat = RenderConfig.createRenderData(application,request,response);
String stdfont = rdat.getStdFontTag(null,2); String stdfont = rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2);
String self = "confdisp?" + data.getLocator(); String self = "confdisp?" + data.getLocator();
String tmp; String tmp;
%> %>

View File

@ -31,7 +31,7 @@
<% rdat.writeContentHeader(out,"User Profile:",prof.getUserName()); %> <% rdat.writeContentHeader(out,"User Profile:",prof.getUserName()); %>
<TABLE BORDER=0 CELLPADDING=6 CELLSPACING=0> <TABLE BORDER=0 CELLPADDING=6 CELLSPACING=0>
<TR VALIGN=TOP> <TR VALIGN=TOP>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,1) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,1) %>
<IMG SRC="<%= data.getPhotoURL(rdat) %>" ALT="" ALIGN=LEFT WIDTH=100 <IMG SRC="<%= data.getPhotoURL(rdat) %>" ALT="" ALIGN=LEFT WIDTH=100
HEIGHT=100 BORDER=0><BR CLEAR=LEFT><BR> HEIGHT=100 BORDER=0><BR CLEAR=LEFT><BR>
@ -49,7 +49,7 @@
<% } // end if %> <% } // end if %>
</FONT></TD> </FONT></TD>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(null,2) %> <TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<B><%= StringUtil.encodeHTML(data.getFullName()) %></B><BR> <B><%= StringUtil.encodeHTML(data.getFullName()) %></B><BR>
<% tmp = prof.getEmail(); %> <% tmp = prof.getEmail(); %>
@ -83,7 +83,7 @@
<% tmp = prof.getDescription(); %> <% tmp = prof.getDescription(); %>
<% if (!(StringUtil.isStringEmpty(tmp))) { %> <% if (!(StringUtil.isStringEmpty(tmp))) { %>
<TR VALIGN=TOP><TD ALIGN=CENTER COLSPAN=2><%= rdat.getStdFontTag(null,2) %> <TR VALIGN=TOP><TD ALIGN=CENTER COLSPAN=2><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<EM><%= StringUtil.encodeHTML(tmp) %></EM> <EM><%= StringUtil.encodeHTML(tmp) %></EM>
</FONT></TD></TR> </FONT></TD></TR>
<% } // end if %> <% } // end if %>
@ -91,12 +91,13 @@
</TABLE> </TABLE>
<% if (prof.canSendQuickEmail()) { %> <% if (prof.canSendQuickEmail()) { %>
<HR><%= rdat.getStdFontTag(null,2) %><B>Send Quick E-Mail To <%= prof.getUserName() %>:</B></FONT><BR> <HR><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><B>Send Quick E-Mail To
<%= prof.getUserName() %>:</B></FONT><BR>
<FORM METHOD=POST ACTION="<%= rdat.getEncodedServletPath("user/" + prof.getUserName()) %>"> <FORM METHOD=POST ACTION="<%= rdat.getEncodedServletPath("user/" + prof.getUserName()) %>">
<INPUT TYPE="HIDDEN" NAME="cmd" VALUE="E"> <INPUT TYPE="HIDDEN" NAME="cmd" VALUE="E">
<TABLE BORDER=0 CELLPADDING=0> <TABLE BORDER=0 CELLPADDING=0>
<TR VALIGN=MIDDLE><TD ALIGN=LEFT> <TR VALIGN=MIDDLE><TD ALIGN=LEFT>
<%= rdat.getStdFontTag(null,2) %>Subject: </FONT> <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>Subject: </FONT>
<INPUT TYPE="TEXT" NAME="subj" SIZE=65 MAXLENGTH=255 VALUE=""> <INPUT TYPE="TEXT" NAME="subj" SIZE=65 MAXLENGTH=255 VALUE="">
</TD></TR> </TD></TR>
<TR VALIGN=MIDDLE><TD ALIGN=LEFT> <TR VALIGN=MIDDLE><TD ALIGN=LEFT>