<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%> <%@ page language="java"%> <%@ page import="java.util.Calendar" %> <%@ page import="org.apache.commons.logging.Log" %> <%@ page import="org.apache.commons.logging.LogFactory" %> <%@ page import="edu.cornell.mannlib.vitro.webapp.controller.VitroRequest"%> <%@ page import="edu.cornell.mannlib.vitro.webapp.web.*"%> <%@ page import="edu.cornell.mannlib.vitro.webapp.beans.Portal" %> <%@ page import="edu.cornell.mannlib.vedit.beans.LoginStatusBean" %> <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %><%/* this odd thing points to something in web.xml */ %> <% final Log log = LogFactory.getLog("edu.cornell.mannlib.vitro.web.themes.default.footer.jsp"); VitroRequest vreq = new VitroRequest(request); Portal portal = vreq.getPortal(); if (portal==null) { log.error("portal from vreq.getPortal() null in themes/default/footer.jsp"); } boolean isEditor = LoginStatusBean.getBean(request).isLoggedInAtLeast(LoginStatusBean.EDITOR); %>