Merge r6025 from nihvivo-rel-1.1-maint branch. Moved footer.jsp, identity.jsp, and menu.jsp to vitro core (were temporarily in vivo/productMods) so they are not tied to vivo-basic and can be used by any theme. Updated include paths for all templates that include these 3 files.
This commit is contained in:
parent
c6679d1e4e
commit
ae449f9f2c
8 changed files with 174 additions and 132 deletions
22
webapp/web/templates/page/freemarkerTransition/menu.jsp
Normal file
22
webapp/web/templates/page/freemarkerTransition/menu.jsp
Normal file
|
@ -0,0 +1,22 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%-- DO NOT MODIFY THIS FILE. IT IS NOT USED IN THEME CUSTOMIZATION. --%>
|
||||
|
||||
<%@ page import="edu.cornell.mannlib.vitro.webapp.web.BreadCrumbsUtil" %>
|
||||
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.freemarker.FreemarkerHttpServlet" %>
|
||||
<%
|
||||
// This is here as a safety net. We should have gotten the values in identity.jsp,
|
||||
// since it's the first jsp we hit.
|
||||
String menu = (String) request.getAttribute("ftl_menu");
|
||||
if (menu == null) {
|
||||
FreemarkerHttpServlet.getFreemarkerComponentsForJsp(request);
|
||||
}
|
||||
%>
|
||||
|
||||
<div id="navAndSearch" class="block">
|
||||
${ftl_menu}
|
||||
${ftl_search}
|
||||
</div> <!-- end navAndSearch -->
|
||||
|
||||
<div id="breadcrumbs" class="small"><%=BreadCrumbsUtil.getBreadCrumbsDiv(request)%></div>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue