%-- The contents of this file are subject to the license and copyright detailed in the LICENSE and NOTICE files at the root of the source tree and available online at http://www.dspace.org/license/ --%> <%-- - Navigation bar for admin pages --%> <%@ page contentType="text/html;charset=UTF-8" %> <%@ page import="java.util.LinkedList" %> <%@ page import="java.util.List" %> <%@ page import="javax.servlet.jsp.jstl.fmt.LocaleSupport" %> <%@ page import="org.dspace.browse.BrowseInfo" %> <%@ page import="org.dspace.sort.SortOption" %> <%@ page import="org.dspace.app.webui.util.UIUtil" %> <%@ page import="org.dspace.eperson.EPerson" %> <%@page import="org.apache.commons.lang.StringUtils"%> <%@ taglib uri="http://www.dspace.org/dspace-tags.tld" prefix="dspace" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <% // Is anyone logged in? EPerson user = (EPerson) request.getAttribute("dspace.current.user"); // Get the current page, minus query string String currentPage = UIUtil.getOriginalURL(request); int c = currentPage.indexOf( '?' ); if( c > -1 ) { currentPage = currentPage.substring(0, c); } // E-mail may have to be truncated String navbarEmail = null; if (user != null) { navbarEmail = user.getEmail(); } %>