User: user57
Date: 01/10/03 19:09:29
Added: src/web/forums error.jsp footer.jsp header.jsp
Log:
o the start of customization, fix for error.jsp from the jive dist
Revision Changes Path
1.1 website-forums/src/web/forums/error.jsp
Index: error.jsp
===================================================================
<%@ page isErrorPage="true" %>
<%@ page import="java.io.*,
java.util.*,
java.net.*,
com.jivesoftware.forum.*"
%>
<% // Do a check to see what type of exception the exception variable is.
// If it's an UnauthorizedException, redirect to the login page
if (exception instanceof UnauthorizedException) {
response.sendRedirect("login.jsp?unauth=true");
return;
}
%>
<html>
<head>
<title>Jive Software Error</title>
</head>
<body>
<font face="arial,helvetica,sans-serif">
<b>Jive Forums 2.1</b>
<hr size="0">
<font size="-1">
The following error occurred. If you believe it to be a bug, please report it
in the Jive support forums at:
<a href="http://www.jivesoftware.com/community/"
target="_blank">http://www.jivesoftware.com/community/</a>
</font>
</font>
<% exception.printStackTrace();
if (exception != null) {
StringWriter sout = new StringWriter();
PrintWriter pout = new PrintWriter(sout);
exception.printStackTrace(pout); %>
<pre>
<%= sout.toString() %>
</pre>
<% } %>
</body>
</html>
1.1 website-forums/src/web/forums/footer.jsp
Index: footer.jsp
===================================================================
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td align="center">
<hr size="1" width="75%" color="#666666">
<font size="-2" face="verdana" color="#666666">
<a href="<%= JiveGlobals.getJiveProperty("skin.default.homeURL") %>">Forum
Home</a>
|
<a href="account.jsp">Register</a>
|
<a href="login.jsp">Log-In</a>
|
<a href="search.jsp">Search</a>
<br><br>
<%-- Note: The Jive Forum License agreement requires that you --%>
<%-- use a "powered by" message. Please consult your license agreement --%>
<%-- for more information. You can also choose to use the Jive logo --%>
<%-- instead of text, which can be found in the Jive distribution. --%>
[<a href="http://www.jivesoftware.com/poweredby/" target="_blank"
style="color:#999999;"
title="Click to learn more about Jive Forums">Powered by Jive Forums</a>]
</font>
</td>
</tr>
</table>
</body>
</html>
1.1 website-forums/src/web/forums/header.jsp
Index: header.jsp
===================================================================
<%
/**
* $RCSfile: header.jsp,v $
* $Revision: 1.1 $
* $Date: 2001/10/04 02:09:29 $
*/
%>
<%@ page import="com.jivesoftware.forum.*" %>
<% // This page is the header page included on all the pages. It defines
// CSS, the body tags, and the HTML header at the top of every page.
// Modify the HTML below to change the look of your forums.
// Set the global Jive locale in the response (don't remove this).
response.setLocale(JiveGlobals.getLocale());
%>
<html>
<head>
<% // Note: "title" should be defined as a String in the page that includes
// his page
%>
<title><%= title %></title>
<style type="text/css">
PRE {
font-size : 9pt;
}
A {
font-weight : bold;
text-decoration : none;
}
A: hover {
text-decoration : underline;
}
</style>
<META name="keywords" content="Jive Forums <%= JiveGlobals.getJiveVersion() %>,
jive, jive software, jivesoftware">
</head>
<body bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.bgColor") %>"
link="<%= JiveGlobals.getJiveProperty("skin.default.linkColor") %>"
vlink="<%= JiveGlobals.getJiveProperty("skin.default.vLinkColor") %>"
alink="<%= JiveGlobals.getJiveProperty("skin.default.aLinkColor") %>">
<table bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.headerBorderColor") %>"
cellpadding="1" cellspacing="0" border="0" width="100%">
<tr><td>
<table bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.headerBgColor") %>"
cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td><a href="index.jsp"><%=
JiveGlobals.getJiveProperty("skin.default.headerLogo") %></a></td>
</tr>
</table>
</td></tr>
</table>
<%-- spacer table --%>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr><td><img src="images/blank.gif" width="1" height="10" border="0"></td></tr>
</table>
<%-- out.flush(); --%>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development