<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%> <%-- This is a temporary file and will be removed once we have completed the transition to freemarker --%> <%@ page import="java.util.List" %> <%@ page import="edu.cornell.mannlib.vitro.webapp.filters.VitroRequestPrep"%> <%@ page import="edu.cornell.mannlib.vitro.webapp.controller.VitroRequest" %> <%@ page import="edu.cornell.mannlib.vitro.webapp.beans.Portal"%> <%@ page import="edu.cornell.mannlib.vitro.webapp.controller.freemarker.FreemarkerHttpServlet" %> <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%> <%@ taglib uri="http://java.sun.com/jstl/functions" prefix="fn" %> <% FreemarkerHttpServlet.getFreemarkerComponentsForJsp(request); %> <% VitroRequest vreq = new VitroRequest(request); Portal portal = vreq.getPortal(); String contextRoot = vreq.getContextPath(); String themeDir = portal != null ? portal.getThemeDir() : Portal.DEFAULT_THEME_DIR_FROM_CONTEXT; themeDir = contextRoot + '/' + themeDir; %> <%=themeDir%> <%-- test for Wilma theme to help for smooth transition --%> <% String useTinyMCE = (useTinyMCE=request.getParameter("useTinyMCE")) != null && !(useTinyMCE.equals("")) ? useTinyMCE : "false"; if (useTinyMCE.equalsIgnoreCase("true")) { String height = (height=request.getParameter("height")) != null && !(height.equals("")) ? height : "200"; String width = (width=request.getParameter("width")) != null && !(width.equals("")) ? width : "75%"; String defaultButtons="bold,italic,underline,separator,link,bullist,numlist,separator,sub,sup,charmap,separator,undo,redo,separator,code"; String buttons = (buttons=request.getParameter("buttons")) != null && !(buttons.equals("")) ? buttons : defaultButtons; String tbLocation = (tbLocation=request.getParameter("toolbarLocation")) != null && !(tbLocation.equals("")) ? tbLocation : "top"; %> <% } %> <% String useAutoComplete = (useAutoComplete=request.getParameter("useAutoComplete")) != null && !(useAutoComplete.equals("")) ? useAutoComplete : "false"; if (useAutoComplete.equalsIgnoreCase("true")) { %> " /> <% } %> " media="screen"/> " /> Edit