Moved vivo-basic theme jsps out of themes into productMods, to make them less easily accessible to theme customizers.

This commit is contained in:
rjy7 2010-05-17 19:30:26 +00:00
parent a6722233aa
commit 015ee4c448
6 changed files with 43 additions and 61 deletions

View file

@ -0,0 +1,16 @@
<%-- $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.controller.FreeMarkerHttpServlet" %>
<%
// If the request was for a jsp rather than a servlet, we didn't get these yet.
// This is here as a safety net. We should have gotten the values in identity.jsp,
// since it's the first one we hit.
String footer = (String) request.getAttribute("ftl_footer");
if (footer == null) {
FreeMarkerHttpServlet.getFreeMarkerComponentsForJsp(request, response);
}
%>
${ftl_footer}

View file

@ -0,0 +1,15 @@
<%-- $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.controller.FreeMarkerHttpServlet" %>
<%
// If the request was for a jsp rather than a servlet, we didn't get these yet.
String identity = (String) request.getAttribute("ftl_identity");
if (identity == null) {
FreeMarkerHttpServlet.getFreeMarkerComponentsForJsp(request, response);
}
%>
${ftl_identity}

View file

@ -0,0 +1,23 @@
<%-- $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.FreeMarkerHttpServlet" %>
<%
// If the request was for a jsp rather than a servlet, we didn't get these yet.
// This is here as a safety net. We should have gotten the values in identity.jsp,
// since it's the first one we hit.
String menu = (String) request.getAttribute("ftl_menu");
if (menu == null) {
FreeMarkerHttpServlet.getFreeMarkerComponentsForJsp(request, response);
}
%>
<div id="navAndSearch" class="block">
${ftl_menu}
${ftl_search}
</div> <!-- end navAndSearch -->
<div id="breadcrumbs" class="small"><%=BreadCrumbsUtil.getBreadCrumbsDiv(request)%></div>