123 lines
5.6 KiB
Text
123 lines
5.6 KiB
Text
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
|
|
|
<%@ page import="java.util.ArrayList" %>
|
|
|
|
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
|
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
|
|
|
|
<%@taglib prefix="vitro" uri="/WEB-INF/tlds/VitroUtils.tld" %>
|
|
<%@page import="edu.cornell.mannlib.vitro.webapp.auth.requestedAction.usepages.ManagePortals" %>
|
|
<% request.setAttribute("requestedActions", new ManagePortals()); %>
|
|
<vitro:confirmAuthorization />
|
|
|
|
<c:set var="appNameLabel" value="Site Name"/>
|
|
|
|
|
|
<c:set var="smallCell" value="style='width: 33%;'" />
|
|
<c:set var="longField" value="style='width: 75%;'" />
|
|
|
|
<tr class="editformcell">
|
|
<td valign="top" colspan="2">
|
|
<b>${appNameLabel}</b> <i>(max 50 characters)</i><br />
|
|
<input type="text" name="ApplicationName" value="<form:value name="ApplicationName"/>" ${longField} maxlength="50" />
|
|
<font color="red"><form:error name="ApplicationName"/></font>
|
|
</td>
|
|
</tr>
|
|
|
|
<!-- With introduction of new logo that includes tagline as part of the image, hiding this field for now to reduce user confusion -->
|
|
<!-- <tr class="editformcell">
|
|
<td valign="top" colspan="2">
|
|
<b>Tagline </b> <i>appears in header, just to the right of the logo (leave blank to have no tagline)</i><br />
|
|
<input type="text" name="ShortHand" value="<form:value name="ShortHand"/>" ${longField} maxlength="50" />
|
|
<font color="red"><form:error name="ShortHand"/></font>
|
|
</td>
|
|
</tr> -->
|
|
<tr class="editformcell">
|
|
<td valign="bottom" colspan="2">
|
|
<b>Contact Email Address</b> <i>contact form submissions will be sent to this address</i><br />
|
|
<input type="text" name="ContactMail" value="<form:value name="ContactMail"/>" ${longField} maxlength="255" />
|
|
<font color="red"><form:error name="ContactMail"/></font>
|
|
</td>
|
|
|
|
</tr>
|
|
<tr class="editformcell">
|
|
<td valign="top" colspan="2">
|
|
<b>Theme</b><br />
|
|
<select id="ThemeDir" name="ThemeDir">
|
|
<form:option name="ThemeDir" />
|
|
</select>
|
|
<font color="red"><form:error name="ThemeDir"/></font>
|
|
</td>
|
|
</tr>
|
|
<tr class="editformcell">
|
|
<td valign="bottom" colspan="2">
|
|
<b>Copyright text</b> <i>used in footer (e.g., name of your institution)</i><br />
|
|
<input type="text" name="CopyrightAnchor" value="<form:value name="CopyrightAnchor"/>" ${longField} maxlength="120" />
|
|
<font color="red"><form:error name="CopyrightAnchor"/></font>
|
|
</td>
|
|
</tr>
|
|
<tr class="editformcell">
|
|
<td valign="bottom" colspan="2">
|
|
<b>Copyright URL</b> <i>copyright text links to this URL</i><br />
|
|
<input type="text" name="CopyrightURL" value="<form:value name="CopyrightURL"/>" ${longField} maxlength="120" />
|
|
<font color="red"><form:error name="CopyrightURL"/></font>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr class="editformcell">
|
|
<td valign="bottom" colspan="4">
|
|
<b>About message</b> <i>used for main content area on About page (HTML is allowed)</i><br />
|
|
<textarea name="AboutText" style="width: 90%;" ROWS="20" wrap="physical"><form:value name="AboutText"/></textarea>
|
|
<font color="red"><form:error name="AboutText"/></font>
|
|
</td>
|
|
</tr>
|
|
<tr class="editformcell">
|
|
<td valign="bottom" colspan="4">
|
|
<b>Acknowledgement message</b> <i>used for acknowledgement area on About page (HTML is allowed)</i></b><br />
|
|
<textarea name="AcknowledgeText" style="width: 90%;" ROWS="5" wrap="physical"><form:value name="AcknowledgeText"/></textarea>
|
|
<font color="red"><form:error name="AcknowledgeText"/></font>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr class="editformcell hideFromVivoWeb">
|
|
<td valign="bottom" colspan="1">
|
|
<b>Banner image</b><br />
|
|
<input type="text" name="BannerImage" value="<form:value name="BannerImage"/>" style="width:90%" maxlength="255" />
|
|
<font color="red"><form:error name="BannerImage"/></font>
|
|
</td>
|
|
<td valign="bottom" colspan="1">
|
|
<b>Banner image width</b><br />
|
|
<input type="text" name="BannerWidth" value="<form:value name="BannerWidth"/>" ${smallCell} maxlength="11" />
|
|
<font color="red"><form:error name="BannerWidth"/></font>
|
|
</td>
|
|
<td valign="bottom" colspan="1">
|
|
<b>Banner image height</b><br />
|
|
<input type="text" name="BannerHeight" value="<form:value name="BannerHeight"/>" ${smallCell} maxlength="11" />
|
|
<font color="red"><form:error name="BannerHeight"/></font>
|
|
</td>
|
|
</tr>
|
|
<tr class="editformcell hideFromVivoWeb">
|
|
<td valign="bottom" colspan="1">
|
|
<b>Logotype image</b><br />
|
|
<input type="text" name="LogotypeImage" value="<form:value name="LogotypeImage"/>" style="width:90%" maxlength="255" />
|
|
<font color="red"><form:error name="LogotypeImage"/></font>
|
|
</td>
|
|
<td valign="bottom" colspan="1">
|
|
<b>Logotype image width</b><br />
|
|
<input type="text" name="LogotypeWidth" value="<form:value name="LogotypeWidth"/>" ${smallCell} maxlength="11" />
|
|
<font color="red"><form:error name="LogotypeWidth"/></font>
|
|
</td>
|
|
<td valign="bottom" colspan="1">
|
|
<b>Logotype image height</b><br />
|
|
<input type="text" name="LogotypeHeight" value="<form:value name="LogotypeHeight"/>" ${smallCell} maxlength="11" />
|
|
<font color="red"><form:error name="LogotypeHeight"/></font>
|
|
</td>
|
|
</tr>
|
|
<script type="text/javascript" >
|
|
$(function() {
|
|
$("#ThemeDir option").each(function(i){
|
|
if ($(this).text() == "vivo-basic")
|
|
$(this).text("vivo-basic (deprecated)");
|
|
});
|
|
});
|
|
</script>
|