NIHVIVO-358 merging bug fixes into trunk

This commit is contained in:
nac26 2010-04-13 16:49:33 +00:00
parent 17ef726ad8
commit 59ac3aff2d
2 changed files with 37 additions and 24 deletions

View file

@ -1,5 +1,5 @@
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
@ -8,6 +8,8 @@
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.VitroRequest" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.beans.Portal" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%
VitroRequest vreq = new VitroRequest(request);
String errorString=request.getParameter("ERR");
@ -16,10 +18,16 @@ if (errorString == null || errorString.equals("")) {
}
%>
<c:set var="portal" value="${requestScope.portalBean}"/>
<c:set var="themeDir"><c:out value="${portalBean.themeDir}"/></c:set>
<%-- Need to get the context --%>
<c:url var="themeDir" value="/${themeDir}"/>
<table>
<tr>
<td align="center" colspan="3">
<img src="site_icons/bomb.gif" alt="failed email"/><br/>
<img src="${themeDir}site_icons/bomb.gif" alt="failed email"/><br/>
<% if ( errorString != null && !errorString.equals("")) {%>
<p class="normal">We report the following error in processing your request:<br/>
<b><%=errorString%></b>