Edit C:\apache-tomcat-7.0.69\webapps\jspui\dspace-admin\license-edit.jsp
<%-- 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/ --%> <%-- - License Edit Form JSP - - Attributes: - license - The license to edit --%> <%@ page contentType="text/html;charset=UTF-8" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <%@ taglib uri="http://www.dspace.org/dspace-tags.tld" prefix="dspace" %> <%@page import="javax.servlet.jsp.jstl.fmt.LocaleSupport"%> <% // Get the existing license String license = (String)request.getAttribute("license"); if (license == null) { license = ""; } // Are there any messages to show? String message = (String)request.getAttribute("edited"); boolean edited = false; if ((message != null) && (message.equals("true"))) { edited = true; } message = (String)request.getAttribute("empty"); boolean empty = false; if ((message != null) && (message.equals("true"))) { empty = true; } %> <dspace:layout style="submission" titlekey="jsp.dspace-admin.license-edit.title" navbar="admin" locbar="link" parenttitlekey="jsp.administer" parentlink="/dspace-admin"> <h1><fmt:message key="jsp.dspace-admin.license-edit.heading"/> <dspace:popup page="<%= LocaleSupport.getLocalizedMessage(pageContext, \"help.site-admin\") + \"#editlicense\"%>"><fmt:message key="jsp.help"/></dspace:popup> </h1> <form action="<%= request.getContextPath() %>/dspace-admin/license-edit" method="post"> <% if (edited) { %> <p class="alert alert-warning"> <strong><fmt:message key="jsp.dspace-admin.license-edit.edited"/></strong> </p> <% } %> <% if (empty) { %> <p class="alert alert-warning"> <strong><fmt:message key="jsp.dspace-admin.license-edit.empty"/></strong> </p> <% } %> <p class="alert alert-info"><fmt:message key="jsp.dspace-admin.license-edit.description"/></p> <textarea class="form-control" name="license" rows="15" cols="70"><%= license %></textarea> <input class="btn btn-primary" type="submit" name="submit_save" value="<fmt:message key="jsp.dspace-admin.general.save"/>" /> <input class="btn btn-default" type="submit" name="submit_cancel" value="<fmt:message key="jsp.dspace-admin.general.cancel"/>" /> </form> </dspace:layout>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de