Maven migration (first draft)

This commit is contained in:
Graham Triggs 2015-11-19 23:47:12 +00:00
parent 5e0329908c
commit e1ff94ccaf
2866 changed files with 1112 additions and 616 deletions

View file

@ -0,0 +1,54 @@
<!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 2.0//EN"
"http://getahead.org/dwr//dwr20.dtd">
<dwr>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<allow>
<!-- create blocks define how the java object on the server gets created, -->
<!-- long it lives, what java class and what name in javascript. -->
<!-- creator: "new" "scripted" "spring" -->
<!-- scope: "application" "session" "request" "page" -->
<!-- that the "request" scope is only useful for static methods -->
<create creator="new" javascript="PropertyDWR" scope="page">
<param name="class" value="edu.cornell.mannlib.vitro.webapp.dwr.PropertyDWR"/>
</create>
<create creator="new" javascript="EntityDWR" scope="page">
<param name="class" value="edu.cornell.mannlib.vitro.webapp.dwr.EntityDWR" />
</create>
<create creator="new" javascript="VClassDWR" scope="page">
<param name="class" value="edu.cornell.mannlib.vitro.webapp.dwr.VClassDWR"/>
</create>
<!-- Convert blocks define how a types are moved between java
land and java script land -->
<convert converter="bean" match="edu.cornell.mannlib.vitro.webapp.beans.VClass">
<param name="include" value="name,URI,groupURI,hidden,shortDef,hiddenFromPublicDisplay,hiddenFromEditDisplay"/>
</convert>
<convert converter="bean" match="edu.cornell.mannlib.vitro.webapp.beans.Individual">
<param name="include" value="name,moniker,URI,vClassURI"/>
</convert>
<convert converter="bean" match="edu.cornell.mannlib.vitro.webapp.beans.PropertyInstance"/>
<!--<convert converter="object" match="edu.cornell.mannlib.vitro.beans.Entity">-->
<!--<param name="include" value="id, name, moniker, vClassId"/>-->
<!--</convert>-->
<!--<convert converter="object" match="edu.cornell.mannlib.vitro.webapp.beans.IndividualWebapp">-->
<!--<param name="force" value="true"/>-->
<!--<param name="include" value="URI, namespace, localName, name, moniker, vclassURI"/>-->
<!--</convert>-->
<convert converter="bean" match="Date"/>
</allow>
</dwr>

View file

@ -0,0 +1,13 @@
# $This file is distributed under the terms of the license in /doc/license.txt$
#
# Short View configuration
#
# This file allows a Vitro administrator to configure short view templates and data getters
# for individuals of particular classes in particular contexts. This is a transitional
# implementation, and should be replaced when the work on the Application and Display
# Ontology is complete.
#
# Find out how to use this file at
# https://wiki.duraspace.org/display/VIVO/Using+Short+Views+in+Release+1.5
#

View file

@ -0,0 +1,71 @@
#
# ServletContextListeners for Vitro, to be instantiated and run by the StartupManager.
#
# For more information,
# https://wiki.duraspace.org/display/VIVO/The+StartupManager
#
edu.cornell.mannlib.vitro.webapp.servlet.setup.JvmSmokeTests
edu.cornell.mannlib.vitro.webapp.application.ApplicationSetup
edu.cornell.mannlib.vitro.webapp.config.ConfigurationPropertiesSetup
edu.cornell.mannlib.vitro.webapp.config.ConfigurationPropertiesSmokeTests
edu.cornell.mannlib.vitro.webapp.utils.developer.DeveloperSettings$Setup
edu.cornell.mannlib.vitro.webapp.application.ApplicationImpl$ComponentsSetup
edu.cornell.mannlib.vitro.webapp.config.RevisionInfoSetup
edu.cornell.mannlib.vitro.webapp.email.FreemarkerEmailFactory$Setup
edu.cornell.mannlib.vitro.webapp.servlet.setup.ConfigurationModelsSetup
edu.cornell.mannlib.vitro.webapp.servlet.setup.ContentModelSetup
edu.cornell.mannlib.vitro.webapp.web.images.PlaceholderUtil$Setup
edu.cornell.mannlib.vitro.webapp.servlet.setup.FileGraphSetup
edu.cornell.mannlib.vitro.webapp.application.ApplicationImpl$ReasonersSetup
edu.cornell.mannlib.vitro.webapp.servlet.setup.SimpleReasonerSetup
# Must run after JenaDataSourceSetup
edu.cornell.mannlib.vitro.webapp.servlet.setup.ThemeInfoSetup
edu.cornell.mannlib.vitro.webapp.auth.permissions.PermissionRegistry$Setup
edu.cornell.mannlib.vitro.webapp.auth.permissions.PermissionSetsSmokeTest
edu.cornell.mannlib.vitro.webapp.auth.policy.bean.PropertyRestrictionBean$Setup
edu.cornell.mannlib.vitro.webapp.auth.policy.setup.CommonPolicyFamilySetup
edu.cornell.mannlib.vitro.webapp.auth.policy.RootUserPolicy$Setup
edu.cornell.mannlib.vitro.webapp.auth.policy.RestrictHomeMenuItemEditingPolicy$Setup
edu.cornell.mannlib.vitro.webapp.services.shortview.ShortViewServiceSetup
edu.ucsf.vitro.opensocial.OpenSocialSmokeTests
# For multiple language support
edu.cornell.mannlib.vitro.webapp.i18n.selection.LocaleSelectionSetup
# The search indexer uses a "public" permission, so the PropertyRestrictionPolicyHelper
# and the PermissionRegistry must already be set up.
edu.cornell.mannlib.vitro.webapp.searchindex.SearchIndexerSetup
edu.cornell.mannlib.vitro.webapp.controller.freemarker.FreemarkerSetup
edu.cornell.mannlib.vitro.webapp.freemarker.config.FreemarkerConfiguration$Setup
# On shutdown, this will kill the background thread started by Apache Commons File Upload
org.apache.commons.fileupload.servlet.FileCleanerCleanup
# The VClassGroupCache index uses a "public" permission, so the PropertyRestrictionPolicyHelper
# and the PermissionRegistry must already be set up.
edu.cornell.mannlib.vitro.webapp.dao.jena.VClassGroupCache$Setup
# This should be near the end, because it will issue a warning if the connection to Solr times out.
edu.cornell.mannlib.vitro.webapp.servlet.setup.SolrSmokeTest

View file

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<taglib
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
version="2.0">
<description></description>
<display-name>List SPARQL JSP taglib</display-name>
<tlib-version>1.0</tlib-version>
<short-name>sparql</short-name>
<uri>http://mannlib.cornell.edu/vitro/ListSparqlTag/0.1/</uri>
<tag>
<description>SPARQL select tag. (Must be nested inside sparql:sparql)</description>
<display-name>SPARQL select tag</display-name>
<name>select</name>
<tag-class>edu.cornell.mannlib.vitro.webapp.web.jsptags.ListSparqlTag</tag-class>
<body-content>tagdependent</body-content>
<variable>
<name-from-attribute>var</name-from-attribute>
<variable-class>java.util.List</variable-class>
<scope>AT_BEGIN</scope>
</variable>
<attribute>
<description></description>
<name>model</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>com.hp.hpl.jena.rdf.model.Model</type>
</attribute>
<attribute>
<description></description>
<name>var</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<dynamic-attributes>true</dynamic-attributes>
<example>
</example>
</tag>
</taglib>

View file

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<taglib
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
version="2.0">
<tlib-version>1.0</tlib-version>
<uri>http://vitro.mannlib.cornell.edu/vitro/tags/StringProcessorTag</uri>
<!--
This taglib is for processing the output using a UnaryFunctor<String,String>
found in the request scope.
-->
<tag>
<name>process</name>
<tag-class>edu.cornell.mannlib.vitro.webapp.web.jsptags.StringProcessorTag</tag-class>
<display-name>String Processor</display-name>
<description>
Processes output using "StringProcessor" from request.
</description>
<body-content>scriptless</body-content>
</tag>
</taglib>

View file

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<taglib
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
version="2.0">
<display-name>Vitro Utilities taglib</display-name>
<tlib-version>1.0</tlib-version>
<short-name>Library of JSP utility tags for Vitro</short-name>
<!--
This library has an assortment of tags for tasks that are common to many Vitro pages.
-->
<tag>
<name>confirmAuthorization</name>
<display-name>Confirm that the user is authorized for the actions that this page requires.</display-name>
<description>
Confirm that the user is authorized to perform all of the RequestedActions that
this page requires. If any of the actions is not authorized, the user will be
redirected to the appropriate page.
The actions must be found in the "requestedActions" attribute of the request.
The attribute may be a RequestedAction or an array of RequestedActions.
If the user is not authorized because he is not logged in, he will be directed
to the login page, with the current request stored as a post-login destination.
If the user is logged in but without sufficient authorization, he will be
directed to the home page, which will display an "insufficient authorization"
message.
</description>
<tag-class>edu.cornell.mannlib.vitro.webapp.web.jsptags.ConfirmAuthorization</tag-class>
<body-content>empty</body-content>
</tag>
</taglib>

View file

@ -0,0 +1,563 @@
<?xml version="1.0" encoding="UTF-8" ?>
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
version="2.0">
<description>JSTL 1.1 core library</description>
<display-name>JSTL core</display-name>
<tlib-version>1.1</tlib-version>
<short-name>c</short-name>
<uri>http://java.sun.com/jsp/jstl/core</uri>
<validator>
<description>
Provides core validation features for JSTL tags.
</description>
<validator-class>
org.apache.taglibs.standard.tlv.JstlCoreTLV
</validator-class>
</validator>
<tag>
<description>
Catches any Throwable that occurs in its body and optionally
exposes it.
</description>
<name>catch</name>
<tag-class>org.apache.taglibs.standard.tag.common.core.CatchTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
Name of the exported scoped variable for the
exception thrown from a nested action. The type of the
scoped variable is the type of the exception thrown.
</description>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Simple conditional tag that establishes a context for
mutually exclusive conditional operations, marked by
&lt;when&gt; and &lt;otherwise&gt;
</description>
<name>choose</name>
<tag-class>org.apache.taglibs.standard.tag.common.core.ChooseTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<description>
Simple conditional tag, which evalutes its body if the
supplied condition is true and optionally exposes a Boolean
scripting variable representing the evaluation of this condition
</description>
<name>if</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.IfTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
The test condition that determines whether or
not the body content should be processed.
</description>
<name>test</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
</attribute>
<attribute>
<description>
Name of the exported scoped variable for the
resulting value of the test condition. The type
of the scoped variable is Boolean.
</description>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Scope for var.
</description>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Retrieves an absolute or relative URL and exposes its contents
to either the page, a String in 'var', or a Reader in 'varReader'.
</description>
<name>import</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.ImportTag</tag-class>
<tei-class>org.apache.taglibs.standard.tei.ImportTEI</tei-class>
<body-content>JSP</body-content>
<attribute>
<description>
The URL of the resource to import.
</description>
<name>url</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Name of the exported scoped variable for the
resource's content. The type of the scoped
variable is String.
</description>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Scope for var.
</description>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Name of the exported scoped variable for the
resource's content. The type of the scoped
variable is Reader.
</description>
<name>varReader</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Name of the context when accessing a relative
URL resource that belongs to a foreign
context.
</description>
<name>context</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Character encoding of the content at the input
resource.
</description>
<name>charEncoding</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
The basic iteration tag, accepting many different
collection types and supporting subsetting and other
functionality
</description>
<name>forEach</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.ForEachTag</tag-class>
<tei-class>org.apache.taglibs.standard.tei.ForEachTEI</tei-class>
<body-content>JSP</body-content>
<attribute>
<description>
Collection of items to iterate over.
</description>
<name>items</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.Object</type>
</attribute>
<attribute>
<description>
If items specified:
Iteration begins at the item located at the
specified index. First item of the collection has
index 0.
If items not specified:
Iteration begins with index set at the value
specified.
</description>
<name>begin</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
</attribute>
<attribute>
<description>
If items specified:
Iteration ends at the item located at the
specified index (inclusive).
If items not specified:
Iteration ends when index reaches the value
specified.
</description>
<name>end</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
</attribute>
<attribute>
<description>
Iteration will only process every step items of
the collection, starting with the first one.
</description>
<name>step</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
</attribute>
<attribute>
<description>
Name of the exported scoped variable for the
current item of the iteration. This scoped
variable has nested visibility. Its type depends
on the object of the underlying collection.
</description>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Name of the exported scoped variable for the
status of the iteration. Object exported is of type
javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested
visibility.
</description>
<name>varStatus</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Iterates over tokens, separated by the supplied delimeters
</description>
<name>forTokens</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.ForTokensTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
String of tokens to iterate over.
</description>
<name>items</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<attribute>
<description>
The set of delimiters (the characters that
separate the tokens in the string).
</description>
<name>delims</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<attribute>
<description>
Iteration begins at the token located at the
specified index. First token has index 0.
</description>
<name>begin</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
</attribute>
<attribute>
<description>
Iteration ends at the token located at the
specified index (inclusive).
</description>
<name>end</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
</attribute>
<attribute>
<description>
Iteration will only process every step tokens
of the string, starting with the first one.
</description>
<name>step</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
</attribute>
<attribute>
<description>
Name of the exported scoped variable for the
current item of the iteration. This scoped
variable has nested visibility.
</description>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Name of the exported scoped variable for the
status of the iteration. Object exported is of
type
javax.servlet.jsp.jstl.core.LoopTag
Status. This scoped variable has nested
visibility.
</description>
<name>varStatus</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Like &lt;%= ... &gt;, but for expressions.
</description>
<name>out</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.OutTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
Expression to be evaluated.
</description>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Default value if the resulting value is null.
</description>
<name>default</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Determines whether characters &lt;,&gt;,&amp;,'," in the
resulting string should be converted to their
corresponding character entity codes. Default value is
true.
</description>
<name>escapeXml</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Subtag of &lt;choose&gt; that follows &lt;when&gt; tags
and runs only if all of the prior conditions evaluated to
'false'
</description>
<name>otherwise</name>
<tag-class>org.apache.taglibs.standard.tag.common.core.OtherwiseTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<description>
Adds a parameter to a containing 'import' tag's URL.
</description>
<name>param</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.ParamTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
Name of the query string parameter.
</description>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Value of the parameter.
</description>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Redirects to a new URL.
</description>
<name>redirect</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.RedirectTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
The URL of the resource to redirect to.
</description>
<name>url</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Name of the context when redirecting to a relative URL
resource that belongs to a foreign context.
</description>
<name>context</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Removes a scoped variable (from a particular scope, if specified).
</description>
<name>remove</name>
<tag-class>org.apache.taglibs.standard.tag.common.core.RemoveTag</tag-class>
<body-content>empty</body-content>
<attribute>
<description>
Name of the scoped variable to be removed.
</description>
<name>var</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Scope for var.
</description>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Sets the result of an expression evaluation in a 'scope'
</description>
<name>set</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.SetTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
Name of the exported scoped variable to hold the value
specified in the action. The type of the scoped variable is
whatever type the value expression evaluates to.
</description>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Expression to be evaluated.
</description>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Target object whose property will be set. Must evaluate to
a JavaBeans object with setter property property, or to a
java.util.Map object.
</description>
<name>target</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Name of the property to be set in the target object.
</description>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Scope for var.
</description>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Creates a URL with optional query parameters.
</description>
<name>url</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.UrlTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
Name of the exported scoped variable for the
processed url. The type of the scoped variable is
String.
</description>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Scope for var.
</description>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
URL to be processed.
</description>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Name of the context when specifying a relative URL
resource that belongs to a foreign context.
</description>
<name>context</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Subtag of &lt;choose&gt; that includes its body if its
condition evalutes to 'true'
</description>
<name>when</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.WhenTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
The test condition that determines whether or not the
body content should be processed.
</description>
<name>test</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
</attribute>
</tag>
</taglib>

View file

@ -0,0 +1,185 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>Sun Microsystems Press Tag library modified for Mann Library, Cornell</shortname>
<!--
<tag>
<name>show_table</name>
<tagclass>tags.jdbc.ShowTableTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>query</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>database</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>border</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>cellPadding</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>transaction</name>
<tagclass>tags.jdbc.TransactionTag</tagclass>
<bodycontent>tagdependent</bodycontent>
<attribute>
<name>file</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>prepareStatement</name>
<tagclass>tags.jdbc.PrepareStatementTag</tagclass>
<bodycontent>tagdependent</bodycontent>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>id</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>executePreparedStatement</name>
<tagclass>tags.jdbc.ExecutePreparedStatementTag</tagclass>
<bodycontent>None</bodycontent>
<attribute>
<name>id</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>variables</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
-->
<tag>
<name>query</name>
<tagclass>tags.jdbc.QueryTag</tagclass>
<!--bodycontent>tagdependent</bodycontent-->
<bodycontent>JSP</bodycontent>
<attribute>
<name>id</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>update</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>rows</name>
<tagclass>tags.jdbc.RowsTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>query</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>startRow</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>endRow</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>columnNames</name>
<tagclass>tags.jdbc.ColumnNamesTag</tagclass>
<teiclass>tags.jdbc.ColumnNamesTagInfo</teiclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>query</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>id</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>columns</name>
<tagclass>tags.jdbc.ColumnsTag</tagclass>
<teiclass>tags.jdbc.ColumnsTagInfo</teiclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>query</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>id</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>select_columns</name>
<tagclass>tags.jdbc.SelectColumnsTag</tagclass>
<teiclass>tags.jdbc.SelectColumnsTagInfo</teiclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>query</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>id</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>selectValue</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>release</name>
<tagclass>tags.jdbc.ReleaseTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>query</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>

View file

@ -0,0 +1,207 @@
<?xml version="1.0" encoding="UTF-8" ?>
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
version="2.0">
<description>JSTL 1.1 functions library</description>
<display-name>JSTL functions</display-name>
<tlib-version>1.1</tlib-version>
<short-name>fn</short-name>
<uri>http://java.sun.com/jsp/jstl/functions</uri>
<function>
<description>
Tests if an input string contains the specified substring.
</description>
<name>contains</name>
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
<function-signature>boolean contains(java.lang.String, java.lang.String)</function-signature>
<example>
&lt;c:if test="${fn:contains(name, searchString)}">
</example>
</function>
<function>
<description>
Tests if an input string contains the specified substring in a case insensitive way.
</description>
<name>containsIgnoreCase</name>
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
<function-signature>boolean containsIgnoreCase(java.lang.String, java.lang.String)</function-signature>
<example>
&lt;c:if test="${fn:containsIgnoreCase(name, searchString)}">
</example>
</function>
<function>
<description>
Tests if an input string ends with the specified suffix.
</description>
<name>endsWith</name>
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
<function-signature>boolean endsWith(java.lang.String, java.lang.String)</function-signature>
<example>
&lt;c:if test="${fn:endsWith(filename, ".txt")}">
</example>
</function>
<function>
<description>
Escapes characters that could be interpreted as XML markup.
</description>
<name>escapeXml</name>
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
<function-signature>java.lang.String escapeXml(java.lang.String)</function-signature>
<example>
${fn:escapeXml(param:info)}
</example>
</function>
<function>
<description>
Returns the index withing a string of the first occurrence of a specified substring.
</description>
<name>indexOf</name>
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
<function-signature>int indexOf(java.lang.String, java.lang.String)</function-signature>
<example>
${fn:indexOf(name, "-")}
</example>
</function>
<function>
<description>
Joins all elements of an array into a string.
</description>
<name>join</name>
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
<function-signature>java.lang.String join(java.lang.String[], java.lang.String)</function-signature>
<example>
${fn:join(array, ";")}
</example>
</function>
<function>
<description>
Returns the number of items in a collection, or the number of characters in a string.
</description>
<name>length</name>
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
<function-signature>int length(java.lang.Object)</function-signature>
<example>
You have ${fn:length(shoppingCart.products)} in your shopping cart.
</example>
</function>
<function>
<description>
Returns a string resulting from replacing in an input string all occurrences
of a "before" string into an "after" substring.
</description>
<name>replace</name>
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
<function-signature>java.lang.String replace(java.lang.String, java.lang.String, java.lang.String)</function-signature>
<example>
${fn:replace(text, "-", "&#149;")}
</example>
</function>
<function>
<description>
Splits a string into an array of substrings.
</description>
<name>split</name>
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
<function-signature>java.lang.String[] split(java.lang.String, java.lang.String)</function-signature>
<example>
${fn:split(customerNames, ";")}
</example>
</function>
<function>
<description>
Tests if an input string starts with the specified prefix.
</description>
<name>startsWith</name>
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
<function-signature>boolean startsWith(java.lang.String, java.lang.String)</function-signature>
<example>
&lt;c:if test="${fn:startsWith(product.id, "100-")}">
</example>
</function>
<function>
<description>
Returns a subset of a string.
</description>
<name>substring</name>
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
<function-signature>java.lang.String substring(java.lang.String, int, int)</function-signature>
<example>
P.O. Box: ${fn:substring(zip, 6, -1)}
</example>
</function>
<function>
<description>
Returns a subset of a string following a specific substring.
</description>
<name>substringAfter</name>
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
<function-signature>java.lang.String substringAfter(java.lang.String, java.lang.String)</function-signature>
<example>
P.O. Box: ${fn:substringAfter(zip, "-")}
</example>
</function>
<function>
<description>
Returns a subset of a string before a specific substring.
</description>
<name>substringBefore</name>
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
<function-signature>java.lang.String substringBefore(java.lang.String, java.lang.String)</function-signature>
<example>
Zip (without P.O. Box): ${fn:substringBefore(zip, "-")}
</example>
</function>
<function>
<description>
Converts all of the characters of a string to lower case.
</description>
<name>toLowerCase</name>
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
<function-signature>java.lang.String toLowerCase(java.lang.String)</function-signature>
<example>
Product name: ${fn.toLowerCase(product.name)}
</example>
</function>
<function>
<description>
Converts all of the characters of a string to upper case.
</description>
<name>toUpperCase</name>
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
<function-signature>java.lang.String toUpperCase(java.lang.String)</function-signature>
<example>
Product name: ${fn.UpperCase(product.name)}
</example>
</function>
<function>
<description>
Removes white spaces from both ends of a string.
</description>
<name>trim</name>
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
<function-signature>java.lang.String trim(java.lang.String)</function-signature>
<example>
Name: ${fn.trim(name)}
</example>
</function>
</taglib>

View file

@ -0,0 +1,66 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>Vitro Editing Form Library</shortname>
<info>
This tag library contains tags for constructing vitro
editing forms. The tag names shadow html elements
but provide additional attributes for specifying
how dynamic content should be retrieved from persistent
storage.
</info>
<tag>
<name>option</name>
<tagclass>edu.cornell.mannlib.vedit.tags.OptionTag</tagclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>value</name>
<tagclass>edu.cornell.mannlib.vedit.tags.ValueTag</tagclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>dynamicFields</name>
<tagclass>edu.cornell.mannlib.vedit.tags.DynamicFieldsTag</tagclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>type</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>usePage</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>error</name>
<tagclass>edu.cornell.mannlib.vedit.tags.ErrorTag</tagclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>

View file

@ -0,0 +1,279 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- $Id: sparql.tld,v 1.2 2006/08/06 19:50:30 Dave Exp $ -->
<taglib xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd" version="2.0">
<description></description>
<display-name>SPARQL JSP taglib</display-name>
<tlib-version>1.0</tlib-version>
<short-name>sparql</short-name>
<uri>http://djpowell.net/tmp/sparql-tag/0.1/</uri>
<!-- <sparql:sparql> -->
<tag>
<description>
<![CDATA[
<p><b>SPARQL container tag.</b></p>
<p>This tag must be placed around sparql:select tags to
ensure that the live ResultSet's gets closed,
when this tag goes out of scope.
]]>
</description>
<display-name>SPARQL container tag</display-name>
<name>sparql</name>
<tag-class>net.djpowell.sparqltag.SparqlTag</tag-class>
<body-content>scriptless</body-content>
</tag>
<!-- <sparql:lock> -->
<tag>
<description>
Obtains a lock or transaction on a model until the tag is closed.
</description>
<display-name>SPARQL lock tag</display-name>
<name>lock</name>
<tag-class>net.djpowell.sparqltag.LockTag</tag-class>
<tei-class>net.djpowell.sparqltag.LockTagInfo</tei-class>
<body-content>scriptless</body-content>
<attribute>
<description>The model to lock, or execute in a transaction</description>
<name>model</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>com.hp.hpl.jena.rdf.model.Model</type>
</attribute>
<attribute>
<description>
Indicates whether transactions should be used instead of
critical sections.
</description>
<name>transactions</name>
<!-- default is false -->
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<attribute>
<description>
If critical sections are being used, indicates whether a
read lock is sufficient, or whether a write-lock is required.
The default is true, meaning a read-lock.
</description>
<name>readonly</name>
<!-- default is true-->
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
</tag>
<!-- <sparql:load> -->
<tag>
<description>SPARQL load tag. Convenience tag for creating a new model from an RDF/XML URI.</description>
<display-name>SPARQL load tag</display-name>
<name>load</name>
<tag-class>net.djpowell.sparqltag.LoadTag</tag-class>
<tei-class>net.djpowell.sparqltag.LoadTagInfo</tei-class>
<body-content>empty</body-content>
<variable>
<name-from-attribute>var</name-from-attribute>
<variable-class>com.hp.hpl.jena.rdf.model.Model</variable-class>
<scope>AT_END</scope>
</variable>
<attribute>
<description></description>
<name>var</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<attribute>
<description></description>
<name>uri</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
</tag>
<!-- <sparql:ask> -->
<tag>
<description>SPARQL ask tag. (Must be nested inside sparql:sparql)</description>
<display-name>SPARQL ask tag</display-name>
<name>ask</name>
<tag-class>net.djpowell.sparqltag.AskTag</tag-class>
<body-content>tagdependent</body-content>
<variable>
<description></description>
<name-from-attribute>var</name-from-attribute>
<variable-class>java.lang.Boolean</variable-class>
<scope>AT_END</scope>
</variable>
<attribute>
<description></description>
<name>model</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>com.hp.hpl.jena.rdf.model.Model</type>
</attribute>
<attribute>
<description></description>
<name>var</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<dynamic-attributes>true</dynamic-attributes>
<example>
</example>
</tag>
<!-- <sparql:construct> -->
<tag>
<description>SPARQL construct tag. (Must be nested inside sparql:sparql)</description>
<display-name>SPARQL construct tag</display-name>
<name>construct</name>
<tag-class>net.djpowell.sparqltag.ConstructTag</tag-class>
<body-content>tagdependent</body-content>
<variable>
<name-from-attribute>var</name-from-attribute>
<variable-class>com.hp.hpl.jena.rdf.model.Model</variable-class>
<scope>AT_END</scope>
</variable>
<attribute>
<description></description>
<name>model</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
<type>com.hp.hpl.jena.rdf.model.Model</type>
</attribute>
<attribute>
<description></description>
<name>var</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<dynamic-attributes>true</dynamic-attributes>
<example>
</example>
</tag>
<!-- <sparql:describe> -->
<tag>
<description>SPARQL describe tag. (Must be nested inside sparql:sparql)</description>
<display-name>SPARQL describe tag</display-name>
<name>describe</name>
<tag-class>net.djpowell.sparqltag.DescribeTag</tag-class>
<body-content>tagdependent</body-content>
<variable>
<name-from-attribute>var</name-from-attribute>
<variable-class>com.hp.hpl.jena.rdf.model.Model</variable-class>
<scope>AT_END</scope>
</variable>
<attribute>
<description></description>
<name>model</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>com.hp.hpl.jena.rdf.model.Model</type>
</attribute>
<attribute>
<description></description>
<name>var</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<dynamic-attributes>true</dynamic-attributes>
<example>
</example>
</tag>
<!-- <sparql:select> -->
<tag>
<description>SPARQL select tag. (Must be nested inside sparql:sparql)</description>
<display-name>SPARQL select tag</display-name>
<name>select</name>
<tag-class>net.djpowell.sparqltag.SelectTag</tag-class>
<body-content>tagdependent</body-content>
<variable>
<name-from-attribute>var</name-from-attribute>
<variable-class>net.djpowell.sparqltag.SelectTag.RSWrapper</variable-class>
<!-- .rows = is an Iterator of QuerySolution -->
<scope>AT_END</scope>
</variable>
<attribute>
<description></description>
<name>model</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>com.hp.hpl.jena.rdf.model.Model</type>
</attribute>
<attribute>
<description></description>
<name>var</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<dynamic-attributes>true</dynamic-attributes>
<example>
</example>
</tag>
</taglib>
<!--
Revision history
$Log: sparql.tld,v $
Revision 1.2 2006/08/06 19:50:30 Dave
Tidied up build
-->

View file

@ -0,0 +1,254 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlibversion>1.1</tlibversion>
<jspversion>1.1</jspversion>
<shortname>mailer</shortname>
<uri>http://jakarta.apache.org/taglibs/mailer-1.1</uri>
<info>This custom tag library is used to send e-mail.E-mail can be sent in three ways. The first way requires the name of the
SMTP host to use. The second requires the name of a JNDI Resource for a
JavaMail Session. The third requires the name of a JNDI Resource for a
JavaMail MimePartDataSource. Refer to your servlet container documentation
to determine which of these three methods you should use. During the
creation of an e-mail message, the addresses are checked for the correct
format. After the e-mail message has been created the send tag spawns a
thread to send the message in the background so that the user does not have
to wait for the SMTP host if it is busy.
&lt;!-- Create a message by entering the name of the SMTP host. --&gt;
&lt;!-- The default for this attribute is localhost; for a host other --&gt;
&lt;!-- than localhost supply it's name with the server attribute --&gt;
&lt;!-- as in the example below. The body of the e-mail is supplied in the --&gt;
&lt;!-- message tag. The send tag is necessary to send the message. --&gt;
&lt;mt:mail server="home.net" to="foo@home.net"
from="bar@home.net" subject="mail taglib"&gt;
&lt;mt:message&gt;[body of message]&lt;/mt:message&gt;
&lt;mt:send/&gt;
&lt;/mt:mail&gt;
&lt;!-- Using a JNDI named JavaMail Session object defined by the --&gt;
&lt;!-- session attribute. --&gt;
&lt;mt:mail session="java:/comp/env/session" to="foo@home.net"
from="bar@home.net" subject="mail taglib"&gt;
&lt;mt:message&gt;[body of message]&lt;/mt:message&gt;
&lt;mt:send/&gt;
&lt;/mt:mail&gt;
&lt;!-- Or using a JNDI named JavaMail MimePartDataSource object --&gt;
&lt;!-- defined by mimeMessage attribute. --&gt;
&lt;mt:mail mimeMessage="java:/comp/env/message" to="foo@home.net"
from="bar@home.net" subject="mail taglib"&gt;
&lt;mt:message&gt;[body of message]&lt;/mt:message&gt;
&lt;mt:send/&gt;
&lt;/mt:mail&gt;
How e-mail is delivered depends on the JavaMail SMTP host settings. The
JavaMail SMTP host can be configured by your Servlet Container so that
bounced or undeliverable e-mails are returned to the sender by setting the
folowing properties.NameTypeDescriptionmail.smtp.dsn.notifyStringProperty determines if the user will be notified of undeliverable mail.
Either NEVER, or some combination of SUCCESS, FAILURE, and DELAY
(separated by commas).
mail.smtp.dsn.retStringDetermines what part of the undeliverable message will be returned in
the message to the sender. Either FULL or HDRS.
mail.smtp.sendpartialboolean
If set to true, and a message has some valid and some invalid addresses,
send the message anyway, reporting the partial failure with a
SendFailedException. If set to false (the default), the message is not
sent to any of the recipients if there is an invalid recipient address.
</info>
<tag>
<name>mail</name>
<tagclass>org.apache.taglibs.mailer.MailTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>server</name>
<required>no</required>
<rtexprvalue>yes</rtexprvalue>
</attribute>
<attribute>
<name>session</name>
<required>no</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
<attribute>
<name>mimeMessage</name>
<required>no</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
<attribute>
<name>authenticate</name>
<required>no</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
<attribute>
<name>user</name>
<required>no</required>
<rtexprvalue>yes</rtexprvalue>
</attribute>
<attribute>
<name>password</name>
<required>no</required>
<rtexprvalue>yes</rtexprvalue>
</attribute>
<attribute>
<name>to</name>
<required>no</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
<attribute>
<name>replyTo</name>
<required>no</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
<attribute>
<name>from</name>
<required>no</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
<attribute>
<name>cc</name>
<required>no</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
<attribute>
<name>bcc</name>
<required>no</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
<attribute>
<name>subject</name>
<required>no</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
</tag>
<tag>
<name>server</name>
<tagclass>org.apache.taglibs.mailer.ServerTag</tagclass>
<bodycontent>JSP</bodycontent>
</tag>
<tag>
<name>message</name>
<tagclass>org.apache.taglibs.mailer.MessageTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>type</name>
<required>no</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
</tag>
<tag>
<name>header</name>
<tagclass>org.apache.taglibs.mailer.HeaderTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>name</name>
<required>yes</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>no</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
</tag>
<tag>
<name>setrecipient</name>
<tagclass>org.apache.taglibs.mailer.SetRecipientTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>type</name>
<required>yes</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
<attribute>
<name>address</name>
<required>no</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
</tag>
<tag>
<name>addrecipient</name>
<tagclass>org.apache.taglibs.mailer.AddRecipientTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>type</name>
<required>yes</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
<attribute>
<name>address</name>
<required>no</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
</tag>
<tag>
<name>replyto</name>
<tagclass>org.apache.taglibs.mailer.ReplyToTag</tagclass>
<bodycontent>JSP</bodycontent>
</tag>
<tag>
<name>from</name>
<tagclass>org.apache.taglibs.mailer.FromTag</tagclass>
<bodycontent>JSP</bodycontent>
</tag>
<tag>
<name>attach</name>
<tagclass>org.apache.taglibs.mailer.AttachTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>file</name>
<required>no</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
<attribute>
<name>url</name>
<required>no</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
<attribute>
<name>type</name>
<required>no</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
</tag>
<tag>
<name>subject</name>
<tagclass>org.apache.taglibs.mailer.SubjectTag</tagclass>
<bodycontent>JSP</bodycontent>
</tag>
<tag>
<name>send</name>
<tagclass>org.apache.taglibs.mailer.SendTag</tagclass>
<bodycontent>JSP</bodycontent>
</tag>
<tag>
<name>error</name>
<tagclass>org.apache.taglibs.mailer.ErrorTag</tagclass>
<teiclass>org.apache.taglibs.mailer.ErrorTEI</teiclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>id</name>
<required>yes</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
</tag>
</taglib>

View file

@ -0,0 +1,88 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlibversion>1.0.2</tlibversion>
<jspversion>1.1</jspversion>
<shortname>random</shortname>
<uri>http://jakarta.apache.org/taglibs/random-1.0</uri>
<info>
The Random tag library creates random strings and random numbers. You may
specify a set of allowable characters as well as the length for randomly
generated strings. You may specify a range of allowable integers or a
random floating point number between zero and one for randomly generated
numbers. </info>
<tag>
<name>string</name>
<tagclass>org.apache.taglibs.random.RandomStrgTag</tagclass>
<teiclass>org.apache.taglibs.random.RandomStrgTEI</teiclass>
<bodycontent>Empty</bodycontent>
<attribute>
<name>id</name>
<required>yes</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
<attribute>
<name>length</name>
<required>no</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
<attribute>
<name>map</name>
<required>no</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
<attribute>
<name>charset</name>
<required>no</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
<attribute>
<name>algorithm</name>
<required>no</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
<attribute>
<name>provider</name>
<required>no</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
</tag>
<tag>
<name>number</name>
<tagclass>org.apache.taglibs.random.RandomNumTag</tagclass>
<teiclass>org.apache.taglibs.random.RandomNumTEI</teiclass>
<bodycontent>Empty</bodycontent>
<attribute>
<name>id</name>
<required>yes</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
<attribute>
<name>range</name>
<required>no</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
<attribute>
<name>algorithm</name>
<required>no</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
<attribute>
<name>provider</name>
<required>no</required>
<rtexprvalue>no</rtexprvalue>
</attribute>
</tag>
</taglib>

View file

@ -0,0 +1,743 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlibversion>1.1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>string</shortname>
<uri>http://jakarta.apache.org/taglibs/string-1.1</uri>
<info>
The String taglibrary provides a host of tags for manipulating
java.lang.Strings. The style is that the String to act upon is the
body of the tag, and attributes are used as parameters for the
manipulation.
</info>
<tag>
<name>length</name>
<tagclass>org.apache.taglibs.string.LengthTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>capitalize</name>
<tagclass>org.apache.taglibs.string.CapitalizeTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>uncapitalize</name>
<tagclass>org.apache.taglibs.string.UncapitalizeTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>upperCase</name>
<tagclass>org.apache.taglibs.string.UpperCaseTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>lowerCase</name>
<tagclass>org.apache.taglibs.string.LowerCaseTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>trim</name>
<tagclass>org.apache.taglibs.string.TrimTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>chop</name>
<tagclass>org.apache.taglibs.string.ChopTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>chopNewline</name>
<tagclass>org.apache.taglibs.string.ChopNewlineTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>escape</name>
<tagclass>org.apache.taglibs.string.EscapeTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>reverse</name>
<tagclass>org.apache.taglibs.string.ReverseTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>swapCase</name>
<tagclass>org.apache.taglibs.string.SwapCaseTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>soundex</name>
<tagclass>org.apache.taglibs.string.SoundexTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>metaphone</name>
<tagclass>org.apache.taglibs.string.MetaphoneTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>quoteRegexp</name>
<tagclass>org.apache.taglibs.string.QuoteRegexpTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>capitalizeAllWords</name>
<tagclass>org.apache.taglibs.string.CapitalizeAllWordsTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>removeXml</name>
<tagclass>org.apache.taglibs.string.RemoveXmlTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>encodeUrl</name>
<tagclass>org.apache.taglibs.string.EncodeUrlTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>decodeUrl</name>
<tagclass>org.apache.taglibs.string.DecodeUrlTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>count</name>
<tagclass>org.apache.taglibs.string.CountTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>set</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>delete</name>
<tagclass>org.apache.taglibs.string.DeleteTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>set</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>squeeze</name>
<tagclass>org.apache.taglibs.string.SqueezeTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>set</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>center</name>
<tagclass>org.apache.taglibs.string.CenterTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>delimiter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>width</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>rightPad</name>
<tagclass>org.apache.taglibs.string.RightPadTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>delimiter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>width</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>leftPad</name>
<tagclass>org.apache.taglibs.string.LeftPadTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>delimiter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>width</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>chomp</name>
<tagclass>org.apache.taglibs.string.ChompTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>delimiter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>getChomp</name>
<tagclass>org.apache.taglibs.string.GetChompTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>delimiter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>prechomp</name>
<tagclass>org.apache.taglibs.string.PrechompTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>delimiter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>getPrechomp</name>
<tagclass>org.apache.taglibs.string.GetPrechompTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>delimiter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>strip</name>
<tagclass>org.apache.taglibs.string.StripTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>delimiter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>stripEnd</name>
<tagclass>org.apache.taglibs.string.StripEndTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>delimiter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>stripStart</name>
<tagclass>org.apache.taglibs.string.StripStartTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>delimiter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>reverseDelimitedString</name>
<tagclass>org.apache.taglibs.string.ReverseDelimitedStringTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>delimiter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>overlay</name>
<tagclass>org.apache.taglibs.string.OverlayTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>with</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>start</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>end</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>substring</name>
<tagclass>org.apache.taglibs.string.SubstringTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>start</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>end</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>repeat</name>
<tagclass>org.apache.taglibs.string.RepeatTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>count</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>wordWrap</name>
<tagclass>org.apache.taglibs.string.WordWrapTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>width</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>delimiter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>split</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>delimiterInside</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<name>nestedString</name>
<tagclass>org.apache.taglibs.string.NestedStringTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>open</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>close</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>countMatches</name>
<tagclass>org.apache.taglibs.string.CountMatchesTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>substring</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>default</name>
<tagclass>org.apache.taglibs.string.DefaultTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>default</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>replace</name>
<tagclass>org.apache.taglibs.string.ReplaceTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>replace</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>with</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>count</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>newlineToken</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>carriageToken</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>randomString</name>
<tagclass>org.apache.taglibs.string.RandomStringTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>count</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>start</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>end</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>type</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>left</name>
<tagclass>org.apache.taglibs.string.LeftTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>count</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>right</name>
<tagclass>org.apache.taglibs.string.RightTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>count</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>mid</name>
<tagclass>org.apache.taglibs.string.MidTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>start</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>count</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>truncateNicely</name>
<tagclass>org.apache.taglibs.string.TruncateNicelyTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>lower</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>upper</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>appendToEnd</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>join</name>
<tagclass>org.apache.taglibs.string.JoinTag</tagclass>
<bodycontent>EMPTY</bodycontent>
<attribute>
<name>items</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>separator</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>split</name>
<tagclass>org.apache.taglibs.string.SplitTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>separator</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>

View file

@ -0,0 +1,222 @@
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<taglib xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd" version="2.0">
<description></description>
<display-name>SPARQL JSP taglib</display-name>
<tlib-version>1.0</tlib-version>
<short-name>Vitro DAO access Form Library</short-name>
<!--
This library has tags for extracting information from
the vitro dao and formating it into commonly used html
structures.
It is unrelated to the vedit form.tld
-->
<tag>
<name>optionsForProperty</name>
<display-name>Options For Property</display-name>
<description>
Create the option elements for a specified subject and predicate.
</description>
<tag-class>edu.cornell.mannlib.vitro.webapp.web.jsptags.OptionsForPropertyTag</tag-class>
<body-content>empty</body-content>
<attribute>
<name>subjectUri</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>predicateUri</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>selectedUri</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>optionsForVClass</name>
<display-name>Options For VClass</display-name>
<description>
Create the option elements for a specified vitro class.
</description>
<tag-class>edu.cornell.mannlib.vitro.webapp.web.jsptags.OptionsForClassTag</tag-class>
<body-content>empty</body-content>
<attribute>
<name>classUri</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>selectedUri</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>option</name>
<display-name>Options for Form Field</display-name>
<description>
Create the option elements for a specified field using information in the
editConfiguration to build the list and the editSubmission to mark one
of the options as selected.
</description>
<tag-class>edu.cornell.mannlib.vitro.webapp.web.jsptags.Options</tag-class>
<body-content>empty</body-content>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>jsonset</name>
<tag-class>edu.cornell.mannlib.vitro.webapp.web.jsptags.JsonSet</tag-class>
<body-content>scriptless</body-content>
<attribute>
<name>var</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>value</name>
<display-name>value for a Form Field</display-name>
<description>
If there is a value in a edit submission object that matches the name,
Then output that value. otherwise, output nothing
</description>
<tag-class>edu.cornell.mannlib.vitro.webapp.web.jsptags.Value</tag-class>
<body-content>empty</body-content>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>errorMessage</name>
<display-name>errorMessage value for a Form Field</display-name>
<description>
If there is a value in a edit submission.validation object that matches the name,
Then output that value. otherwise, output nothing
</description>
<tag-class>edu.cornell.mannlib.vitro.webapp.web.jsptags.ErrorMessage</tag-class>
<body-content>empty</body-content>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>input</name>
<display-name>Input Element Formatting</display-name>
<description>
Format a form input element of a specified element type
</description>
<tag-class>edu.cornell.mannlib.vitro.webapp.web.jsptags.InputElementFormattingTag</tag-class>
<body-content>empty</body-content>
<attribute>
<name>type</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>id</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>label</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>labelClass</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>cssClass</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>error</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>size</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>rows</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>cols</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>multiple</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>listMarkup</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>cancel</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>cancelLabel</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>cancelUrl</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>disabled</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,89 @@
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.Controllers" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.modelaccess.ModelAccess"%>
<%@ page import="edu.cornell.mannlib.vitro.webapp.modelaccess.ModelNames"%>
<%@taglib prefix="vitro" uri="/WEB-INF/tlds/VitroUtils.tld" %>
<%@page import="edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission" %>
<% request.setAttribute("requestedActions", SimplePermission.USE_MISCELLANEOUS_CURATOR_PAGES.ACTION); %>
<vitro:confirmAuthorization />
<%
String conceptIdStr = request.getParameter("conceptId");
if (conceptIdStr != null) {
String describeQueryStr =
"PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#> \n\n" +
"DESCRIBE ?bnode \n" +
"WHERE { \n" +
" FILTER(afn:bnode(?bnode) = \"" + conceptIdStr + "\")\n" +
"}";
OntModel ontModel = ModelAccess.on(getServletContext()).getOntModel(ModelNames.FULL_ASSERTIONS);
Model conceptDescription = ModelFactory.createDefaultModel();
try {
ontModel.enterCriticalSection(Lock.READ);
Query describeQuery = QueryFactory.create(describeQueryStr, Syntax.syntaxARQ);
QueryExecution qe = QueryExecutionFactory.create(describeQuery, ontModel);
qe.execDescribe(conceptDescription);
conceptDescription.add(ontModel.listStatements((Resource) null, (Property) null, ontModel.createResource(new AnonId(conceptIdStr))));
} finally {
ontModel.leaveCriticalSection();
}
List<String> actionStrList = (request.getParameterValues("action") != null)
? Arrays.asList(request.getParameterValues("action"))
: new ArrayList<String>();
if (actionStrList.contains("remove")) {
try {
ontModel.enterCriticalSection(Lock.WRITE);
ontModel.remove(conceptDescription);
} finally {
ontModel.leaveCriticalSection();
}
}
if (actionStrList.contains("describe")) {
conceptDescription.write(response.getOutputStream(), "TTL");
return;
}
}
%>
<%@page import="com.hp.hpl.jena.ontology.OntModel"%>
<%@page import="com.hp.hpl.jena.shared.Lock"%>
<%@page import="com.hp.hpl.jena.query.Syntax"%>
<%@page import="com.hp.hpl.jena.query.Query"%>
<%@page import="com.hp.hpl.jena.query.QueryFactory"%>
<%@page import="com.hp.hpl.jena.query.QueryExecutionFactory"%>
<%@page import="com.hp.hpl.jena.rdf.model.ModelFactory"%>
<%@page import="com.hp.hpl.jena.rdf.model.Model"%>
<%@page import="com.hp.hpl.jena.query.QueryExecution"%>
<%@page import="java.util.Arrays"%>
<%@page import="java.util.List"%>
<%@page import="java.util.ArrayList"%>
<%@page import="com.hp.hpl.jena.rdf.model.Resource"%>
<%@page import="com.hp.hpl.jena.rdf.model.Property"%>
<%@page import="com.hp.hpl.jena.rdf.model.AnonId"%><html>
<head>
<title>Anonymous Concept Repair Tools</title>
</head>
<body>
<h1>Concept Repair</h1>
<form action="" method="post">
<p>Concept bnode id: <input name="conceptId"/></p>
<p><input type="checkbox" name="action" value="describe"/> describe concept</p>
<p><input type="checkbox" name="action" value="remove"/> remove concept</p>
<p><input type="submit" value="Perform action"/></p>
</form>
</body></html>

View file

@ -0,0 +1,41 @@
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.Controllers" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib prefix="vitro" uri="/WEB-INF/tlds/VitroUtils.tld" %>
<%@page import="edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission" %>
<% request.setAttribute("requestedActions", SimplePermission.USE_MISCELLANEOUS_ADMIN_PAGES.ACTION); %>
<vitro:confirmAuthorization />
<%
if( request.getParameter("uri") != null ){
%> <c:redirect url="/entity"><c:param name="uri" value="${param.uri}"/></c:redirect> <%
return;
}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head> <!-- gotoIndividual.jsp -->
<link rel="stylesheet" type="text/css" href="<c:url value="/${themeDir}css/screen.css"/>" media="screen"/>
<link rel="stylesheet" type="text/css" href="<c:url value="/${themeDir}css/formedit.css" />" media="screen"/>
<title>Enter a URI</title>
</head>
<body class="formsEdit">
<div id="wrap">
<% /* BJL23 put this is in a catch block because it seems to fail ungracefully for
some clones */ %>
<form>
<input name="uri" type="text" size="200" />
<input type="submit" value="Lookup Individual for URI"/>
</form>
</div>
</body>
</html>

View file

@ -0,0 +1,135 @@
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.Controllers" %>
<%@ page import="org.apache.log4j.*" %>
<%@ page import="java.util.*" %>
<%--
This JSP will display all the log4j Logger objects, their
levels and their appenders. The levels of the Logger objects
can be changed and test messages can be sent.
Brian Cauros bdc34@cornell.edu
based on work by Volker Mentzner. --%>
<%@taglib prefix="vitro" uri="/WEB-INF/tlds/VitroUtils.tld" %>
<%@page import="edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission" %>
<% request.setAttribute("requestedActions", SimplePermission.USE_MISCELLANEOUS_ADMIN_PAGES.ACTION); %>
<vitro:confirmAuthorization />
<%
try {
String name;
Level[] levels = new Level[]
{Level.OFF, Level.FATAL, Level.ERROR, Level.WARN, Level.INFO, Level.DEBUG};
out.write("<HTML><HEAD><TITLE>log4j configuration</TITLE></HEAD>\r\n");
out.write("<BODY><H1>log4j</H1>\r\n");
// handle a request with query
if( request.getParameterMap().size() > 0){
if( request.getParameter("doTestMsg") != null){
//handle test message
Logger logger = LogManager.getLogger( request.getParameter("logger") );
Level level = (Level)Level.toLevel( request.getParameter("level"));
logger.log(level, request.getParameter("msg"));
out.write("<h3>message sent</h3>");
} else {
//handle logging level changes
Enumeration names = request.getParameterNames();
while(names.hasMoreElements()){
String catname = (String)names.nextElement();
String catval = request.getParameter(catname);
if( "root".equalsIgnoreCase(catname))
LogManager.getRootLogger().setLevel((Level)Level.toLevel(catval));
else
LogManager.getLogger(catname).setLevel((Level)Level.toLevel(catval));
}
}
}
out.write("<p>" + notes + "</p>");
// output category information in a form with a simple table
out.write("<form name=\"Formular\" ACTION=\""+request.getContextPath()+request.getServletPath()+"\" METHOD=\"POST\">");
out.write("<table cellpadding=4>\r\n");
out.write(" <tr>\r\n");
out.write(" <td><b>Logger</b></td>\r\n");
out.write(" <td><b>Level</b></td>\r\n");
out.write(" <td><b>Appender</b></td>\r\n");
out.write(" </tr>\r\n");
// output for all Loggers
List<String> logNames = new LinkedList<String>();
for(Enumeration en = LogManager.getCurrentLoggers(); en.hasMoreElements() ;){
logNames.add(((Logger)en.nextElement()).getName());
}
Collections.sort(logNames);
logNames.add(0,"root");
Logger cat;
for (String logName : logNames) {
if( "root".equalsIgnoreCase(logName))
cat = LogManager.getRootLogger();
else
cat = LogManager.getLogger(logName);
out.write(" <tr>\r\n");
out.write(" <td>" + cat.getName() + "</td>\r\n");
out.write(" <td>\r\n");
out.write(" <select size=1 name=\""+ cat.getName() +"\">");
for (int i = 0; i < levels.length; i++) {
if (cat.getEffectiveLevel().toString().equals(levels[i].toString()))
out.write("<option selected>"+levels[i].toString());
else
out.write("<option>"+levels[i].toString());
}
out.write("</select>\r\n");
out.write(" </td>\r\n");
out.write(" <td>\r\n");
for( Appender apd : getAllAppenders( cat )){
name = apd.getName();
if (name == null)
name = "<i>(no name)</i>";
out.write(name);
if (apd instanceof AppenderSkeleton) {
try {
AppenderSkeleton apskel = (AppenderSkeleton)apd;
out.write(" [" + apskel.getThreshold().toString() + "]");
} catch (Exception ex) {
}
}
out.write(" ");
}
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
}
out.write("</table>\r\n");
out.write("<input type=submit value=\"Submit changes to logging levels\">");
out.write("</form>\n");
out.write("</BODY></HTML>\r\n");
out.flush();
} catch (Exception ex) {
throw new Error( ex);
}
%>
<%!
String notes ="<p>Changing the level of a Logger on this form does not change the levels of that Logger's children."+
"<p>Example: if you change the level of the Logger edu.cornell.mannlib.utils from ERROR to DEBUG, the " +
"logging level of edu.cornell.mannlib.utils.StringUtils will not be modified." +
"<p>Loggers will write message to all of their Appenders; you cannot have a DEBUG level For Logger A, Appender A "+
" and a WARN level for a Logger A, Appender B.";
%>
<%!
private Collection<Appender> getAllAppenders(Category logger){
HashSet<Appender> appenders = new HashSet<Appender>();
Enumeration en = logger.getAllAppenders();
while( en.hasMoreElements()){
appenders.add((Appender) en.nextElement());
}
if( logger.getParent() != null )
appenders.addAll( getAllAppenders(logger.getParent()));
return appenders;
}
%>

View file

@ -0,0 +1,121 @@
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="vitro" uri="/WEB-INF/tlds/VitroUtils.tld" %>
<%@page import="edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission" %>
<%@page import="edu.cornell.mannlib.vitro.webapp.modelaccess.ModelAccess"%>
<%@page import="edu.cornell.mannlib.vitro.webapp.modelaccess.ModelNames"%>
<% request.setAttribute("requestedActions", SimplePermission.USE_MISCELLANEOUS_CURATOR_PAGES.ACTION); %>
<vitro:confirmAuthorization />
<%
if (request.getParameter("execute") != null) {
OntModel ontModel = ModelAccess.on(getServletContext()).getOntModel(ModelNames.FULL_ASSERTIONS);
int results = doRemoval(ontModel);
request.setAttribute("removalCount", results);
}
%>
<%!
private int doRemoval(OntModel ontModel) {
int removedStmts = 0;
List<String> bnodeIds = new ArrayList<String>();
ontModel.enterCriticalSection(Lock.READ);
try {
Iterator<Restriction> restIt = ontModel.listRestrictions();
while(restIt.hasNext()) {
Restriction rest = restIt.next();
if (rest.isAnon()) {
boolean bad = false;
bad |= (rest.getPropertyValue(OWL.onProperty) == null);
bad |= ( !(
(rest.getPropertyValue(OWL.someValuesFrom) != null) ||
(rest.getPropertyValue(OWL.allValuesFrom) != null) ||
(rest.getPropertyValue(OWL.hasValue) != null) ||
(rest.getPropertyValue(OWL.cardinality) != null) ||
(rest.getPropertyValue(OWL.minCardinality) != null) ||
(rest.getPropertyValue(OWL.maxCardinality) != null)
)
);
if (bad) {
bnodeIds.add(rest.getId().toString());
}
}
}
} finally {
ontModel.leaveCriticalSection();
}
for (String id : bnodeIds) {
Model toRemove = describeBnode(id);
ontModel.enterCriticalSection(Lock.WRITE);
try {
ontModel.remove(toRemove);
} finally {
ontModel.leaveCriticalSection();
}
removedStmts += toRemove.size();
}
return removedStmts;
}
private Model describeBnode(String bnodeId) {
String describeQueryStr =
"PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#> \n\n" +
"DESCRIBE ?bnode \n" +
"WHERE { \n" +
" FILTER(afn:bnode(?bnode) = \"" + bnodeId + "\")\n" +
"}";
OntModel ontModel = ModelAccess.on(getServletContext()).getOntModel(ModelNames.FULL_ASSERTIONS);
Model conceptDescription = ModelFactory.createDefaultModel();
try {
ontModel.enterCriticalSection(Lock.READ);
Query describeQuery = QueryFactory.create(describeQueryStr, Syntax.syntaxARQ);
QueryExecution qe = QueryExecutionFactory.create(describeQuery, ontModel);
qe.execDescribe(conceptDescription);
conceptDescription.add(ontModel.listStatements((Resource) null, (Property) null, ontModel.createResource(new AnonId(bnodeId))));
return conceptDescription;
} finally {
ontModel.leaveCriticalSection();
}
}
%>
<%@page import="com.hp.hpl.jena.ontology.OntModel"%>
<%@page import="com.hp.hpl.jena.shared.Lock"%>
<%@page import="com.hp.hpl.jena.query.Syntax"%>
<%@page import="com.hp.hpl.jena.query.Query"%>
<%@page import="com.hp.hpl.jena.query.QueryFactory"%>
<%@page import="com.hp.hpl.jena.query.QueryExecutionFactory"%>
<%@page import="com.hp.hpl.jena.rdf.model.ModelFactory"%>
<%@page import="com.hp.hpl.jena.rdf.model.Model"%>
<%@page import="com.hp.hpl.jena.query.QueryExecution"%>
<%@page import="java.util.Arrays"%>
<%@page import="java.util.List"%>
<%@page import="java.util.ArrayList"%>
<%@page import="com.hp.hpl.jena.rdf.model.Resource"%>
<%@page import="com.hp.hpl.jena.rdf.model.Property"%>
<%@page import="com.hp.hpl.jena.rdf.model.AnonId"%>
<%@page import="edu.cornell.mannlib.vitro.webapp.dao.jena.JenaBaseDao"%>
<%@page import="java.util.Iterator"%>
<%@page import="com.hp.hpl.jena.ontology.Restriction"%>
<%@page import="com.hp.hpl.jena.vocabulary.OWL"%><html>
<head>
<title>Remove Bad Restrictions</title>
</head>
<body>
<c:if test="${!empty requestScope.removalCount}">
<p>${removalCount} statements removed</p>
</c:if>
<h1>Remove Bad Restrictions</h1>
<form action="" method="post">
<p><input name="execute" type="submit" value="Remove now"/></p>
</form>
</body></html>

View file

@ -0,0 +1,85 @@
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.Controllers" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="vitro" uri="/WEB-INF/tlds/VitroUtils.tld" %>
<%@page import="edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission" %>
<%@page import="edu.cornell.mannlib.vitro.webapp.modelaccess.ModelAccess"%>
<%@page import="edu.cornell.mannlib.vitro.webapp.modelaccess.ModelNames"%>
<% request.setAttribute("requestedActions", SimplePermission.USE_MISCELLANEOUS_CURATOR_PAGES.ACTION); %>
<vitro:confirmAuthorization />
<%
String resourceURIStr = request.getParameter("resourceURI");
if (resourceURIStr != null) {
String describeQueryStr =
"DESCRIBE <" + resourceURIStr + ">";
OntModel ontModel = ModelAccess.on(getServletContext()).getOntModel(ModelNames.FULL_ASSERTIONS);
Model resourceDescription = ModelFactory.createDefaultModel();
try {
ontModel.enterCriticalSection(Lock.READ);
Query describeQuery = QueryFactory.create(describeQueryStr, Syntax.syntaxARQ);
QueryExecution qe = QueryExecutionFactory.create(describeQuery, ontModel);
qe.execDescribe(resourceDescription);
resourceDescription.add(ontModel.listStatements((Resource) null, (Property) null, ontModel.getResource(resourceURIStr)));
} finally {
ontModel.leaveCriticalSection();
}
List<String> actionStrList = (request.getParameterValues("action") != null)
? Arrays.asList(request.getParameterValues("action"))
: new ArrayList<String>();
if (actionStrList.contains("remove")) {
try {
ontModel.enterCriticalSection(Lock.WRITE);
ontModel.remove(resourceDescription);
} finally {
ontModel.leaveCriticalSection();
}
}
if (actionStrList.contains("describe")) {
resourceDescription.write(response.getOutputStream(), "TTL");
return;
}
}
%>
<%@page import="com.hp.hpl.jena.ontology.OntModel"%>
<%@page import="com.hp.hpl.jena.shared.Lock"%>
<%@page import="com.hp.hpl.jena.query.Syntax"%>
<%@page import="com.hp.hpl.jena.query.Query"%>
<%@page import="com.hp.hpl.jena.query.QueryFactory"%>
<%@page import="com.hp.hpl.jena.query.QueryExecutionFactory"%>
<%@page import="com.hp.hpl.jena.rdf.model.ModelFactory"%>
<%@page import="com.hp.hpl.jena.rdf.model.Model"%>
<%@page import="com.hp.hpl.jena.query.QueryExecution"%>
<%@page import="java.util.Arrays"%>
<%@page import="java.util.List"%>
<%@page import="java.util.ArrayList"%>
<%@page import="com.hp.hpl.jena.rdf.model.Resource"%>
<%@page import="com.hp.hpl.jena.rdf.model.Property"%>
<%@page import="com.hp.hpl.jena.rdf.model.AnonId"%><html>
<head>
<title>Anonymous Concept Repair Tools</title>
</head>
<body>
<h1>Remove resource using DESCRIBE</h1>
<form action="" method="post">
<p>Resource URI: <input name="resourceURI"/></p>
<p><input type="checkbox" name="action" value="describe"/> describe resource</p>
<p><input type="checkbox" name="action" value="remove"/> remove resource</p>
<p><input type="submit" value="Perform action"/></p>
</form>
</body></html>

View file

@ -0,0 +1,150 @@
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<%@page import="com.hp.hpl.jena.vocabulary.OWL"%>
<%@page import="com.hp.hpl.jena.rdf.model.ModelMaker"%>
<%@ page import="edu.cornell.mannlib.vitro.webapp.modelaccess.ModelAccess"%>
<%@ page import="edu.cornell.mannlib.vitro.webapp.modelaccess.ModelAccess.WhichService"%>
<%@page import="java.util.Iterator"%>
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.List"%>
<%@taglib prefix="vitro" uri="/WEB-INF/tlds/VitroUtils.tld" %>
<%@page import="edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission" %>
<% request.setAttribute("requestedActions", SimplePermission.USE_ADVANCED_DATA_TOOLS_PAGES.ACTION); %>
<vitro:confirmAuthorization />
<script type="text/javascript" src="../js/sparql/prototype.js">
</script>
<script type="text/javascript" src="../js/sparql/sparql.js">
</script>
<style type="text/css">
td {
vertical-align: top;
border: 1px solid #b2b2b2;
}
</style>
<BODY onload="init()">
<div id="content" class="sparqlform"
style="width: 900px; margin: 0 auto;">
<h2>
SPARQL Query Builder
</h2>
<table id="builder" width="100%">
<tr>
<td width="33%">
Subject
</td>
<td width="33%">
Predicate
</td>
<td width="34%">
Object
</td>
</tr>
<tr id="clazz(0)">
<td id="subject(0)" width="33%">
<select id="subject(0,0)">
<option value="<%=OWL.Thing.getURI()%>">
Thing
</option>
</select>
</td>
<td id="predicate(0)">
</td>
<td id="object(0)" width="34%">
</td>
</tr>
</table>
<div>
<input type="button" class="submit" value="Generate Query" onclick="genQuery();" />
</div>
<div id="sparqlquery" style="visibility: hidden;">
<form action="sparqlquery">
<div>
<textarea id="query" name="query" rows="20" cols="111" class="maxWidth">
</textarea>
</div>
<p>
<h3>
Format for SELECT query results:
</h3>
<input id='RS_XML_BUTTON' type='radio' name='resultFormat'
value='application/sparql-results+xml'>
<label for='RS_XML_BUTTON'>
RS_XML
</label>
<input id='RS_TEXT_BUTTON' type='radio' name='resultFormat'
value='text/plain' checked='checked'>
<label for='RS_TEXT_BUTTON'>
RS_TEXT
</label>
<input id='RS_CSV_BUTTON' type='radio' name='resultFormat'
value='text/csv'>
<label for='RS_CSV_BUTTON'>
CSV
</label>
<input id='RS_JSON_BUTTON' type='radio' name='resultFormat'
value='application/sparql-results+json'>
<label for='RS_JSON_BUTTON'>
RS_JSON
</label>
</p>
<p>
<h3>
Format for CONSTRUCT and DESCRIBE query results:
</h3>
<input id='RR_RDFXML_BUTTON' type='radio' name='rdfResultFormat'
value='application/rdf+xml'>
<label for='RR_RDFXML_BUTTON'>
RDF/XML
</label>
<input id='RR_N3_BUTTON' type='radio' name='rdfResultFormat'
value='text/n3'>
<label for='RR_N3_BUTTON'>
N3
</label>
<input id='RR_NTRIPLE_BUTTON' type='radio' name='rdfResultFormat'
value='text/plain'>
<label for='RR_NTRIPLE_BUTTON'>
N-Triples
</label>
<input id='RR_TURTLE_BUTTON' type='radio' name='rdfResultFormat'
value='text/turtle'>
<label for='RR_TURTLE_BUTTON'>
Turtle
</label>
</p>
<div>
<ul class="clean">
<%
try {
ModelMaker maker = ModelAccess.on(application).getModelMaker(WhichService.CONFIGURATION);
for (Iterator it = maker.listModels(); it.hasNext();) {
String modelName = (String) it.next();
%>
<li>
<input type="checkbox" name="sourceModelName"
value="<%=modelName%>" /><%=modelName%></li>
<%
}
} catch (Exception ex) {
%><li>
could not find named models in ModelMaker
</li>
<%
}
%>
</ul>
</div>
<input type="submit" value="Run Query" class="submit">
</form>
</div>
</div>
</BODY>
</HTML>

View file

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<!-- VIVO-specific default list view config file for object properties
See guidelines at https://wiki.duraspace.org/x/eYXVAw -->
<list-view-config>
<query-select>
SELECT ?value
WHERE {
?subject ?property ?value
FILTER isLiteral(?value)
} ORDER BY ?value
</query-select>
<query-construct>
CONSTRUCT {
?subject ?property ?value
} WHERE {
?subject ?property ?value
}
</query-construct>
<template>propStatement-dataDefault.ftl</template>
</list-view-config>

View file

@ -0,0 +1,65 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<!-- Default list view config file for object properties
See guidelines at https://wiki.duraspace.org/x/eYXVAw -->
<list-view-config>
<query-select>
PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
SELECT <collated> ?subclass </collated>
?object
?label
?localName WHERE {
?subject ?property ?object
LET (?localName := afn:localname(?object))
OPTIONAL { ?object rdfs:label ?label }
<collated>
OPTIONAL {
?object a ?subclass.
# Require the subclasses retrieved to be in a classgroup, since others are not generally
# for display. See vivo-dev-all thread titled "Internal Entity and mostSpecificType,"
# Aug 9-10, 2011.
# ?subclass vitro:inClassGroup ?classgroup
}
FILTER ( afn:namespace(?subclass) != "http://vitro.mannlib.cornell.edu/ns/vitro/0.7#" )
</collated>
} ORDER BY <collated> ?subclass </collated> ASC( ?label ) ASC( ?label ) ASC( ?localName )
</query-select>
<query-construct>
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
CONSTRUCT {
?subject ?property ?object .
?object a ?subclass .
?subclass vitro:inClassGroup ?classgroup .
?object rdfs:label ?label .
} WHERE {
{
?subject ?property ?object
} UNION {
?subject ?property ?object .
?object a ?subclass .
} UNION {
?subject ?property ?object .
?object a ?subclass .
?subclass vitro:inClassGroup ?classgroup
} UNION {
?subject ?property ?object .
?object rdfs:label ?label .
}
}
</query-construct>
<template>propStatement-default.ftl</template>
</list-view-config>

View file

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<!-- Custom list view config file for display:hasElement property (used for menu system)
See guidelines at https://wiki.duraspace.org/x/eYXVAw -->
<list-view-config>
<query-select>
PREFIX display: &lt;http://vitro.mannlib.cornell.edu/ontologies/display/1.1#&gt;
PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt;
SELECT ?menuItem
(afn:localname(?menuItem) AS ?menuItemName)
?linkText
?menuPosition WHERE {
?subject ?property ?menuItem
OPTIONAL { ?menuItem display:linkText ?linkText }
OPTIONAL { ?menuItem display:menuPosition ?menuPosition }
} ORDER BY ?menuPosition
</query-select>
<query-construct>
CONSTRUCT {
?subject ?property ?menuItem .
?menuItem ?menuItemProp ?menuItemObj
} WHERE {
{ ?subject ?property ?menuItem }
UNION {
?subject ?property ?menuItem .
?menuItem ?menuItemProp ?menuItemObj
}
}
</query-construct>
<template>propStatement-hasElement.ftl</template>
</list-view-config>

View file

@ -0,0 +1,403 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* -------------------------------------------------> */
/* ACCOUNT PAGE ------------------------------------> */
/* -------------------------------------------------> */
.account-feedback p {
line-height: 1.5em;
border: 1px dotted #E2C822;
background-color: #FFF9D7;
padding: .5em;
margin-bottom: 20px;
}
input#externalAuthChkBox {
height:18px;
width:18px;
margin-top:10px;
margin-bottom:10px;
}
#filter-roles {
float: left;
padding-bottom: 20px;
}
#search-accounts {
float: right;
height: 60px;
}
.account-alpha-browse {
width: 10px;
height: 22px;
float: right;
padding-right: 10px;
}
.sort-asc {
width: 9px;
height:10px;
padding-top: 4px;
background: url(../../images/account/sort-asc.gif) 0 4px no-repeat;
display: block;
}
.sort-desc {
width: 9px;
height:10px;
padding-bottom: 4px;
background: url(../../images/account/sort-desc.gif) 0 4px no-repeat;
display: block;
}
.accounts {
clear: left;
height: 60px;
border-top: 1px dotted #e1e5e7;
padding-top: 0;
border-bottom: 1px dotted #e1e5e7;
padding-bottom: 0;
width: 100%;
}
section.accounts .delete-account{
float: left;
margin-top: 10px;
}
.display-tools {
float: left;
font-size: .875em;
}
.accounts-per-page-form {
display: inline-block;
}
nav.alpha-browse-account {
width: 20px;
border: 1px solid green;
width: 18px;
height: 12px;
}
nav.alpha-browse-account a {
margin: 0;
padding: 0;
}
.delete-all {
margin-left: 6px;
}
/* ADD ACCOUNTS ------> */
form.customForm #reset-password {
margin-top: 20px;
margin-left: 0;
}
form.customForm p.note {
padding-bottom: 20px;
padding-top: 5px;
}
#add-account p.note,
#passwordContainer {
margin-top: 20px;
}
#search-feedback {
clear: both;
}
#search-feedback span,
#filter-roles span {
font-size: .8em;
}
/* CREATE/RESET PASSWORD ------> */
#create-password p.note,
#reset-password p.note {
margin-top: 0;
}
/* EDIT ACCOUNT ------> */
#edit-account p.note {
margin-top: 3px;
}
/* MY ACCOUNT ------> */
#my-account p.note {
padding-bottom: 10px;
}
#my-account input#email-address,
#my-account input#new-password,
#search-proxy h4 {
margin-bottom: 0;
}
section.account-feedback img {
padding-right: 5px;
}
/* ASSOCIATE PROFILE ------> */
.explanatoryText {
color:#999;
font-size:.8em;
font-style:bold;
width:280px;
margin-left:10px;
line-height:15px;
margin-top:-8px !important;
}
#associated,
#associationOptions {
float:right;
display:none;
}
#associated label {
margin-bottom: 10px;
}
#externalAuthIdInUse {
color: #f70;
display: none;
}
#alignExternalAuthId {
margin-left:8px;
}
#associateProfileBackgroundOne {
background-color:#fff;
padding:7px 0 5px 0;
margin-left:-8px;
margin-right:-8px;
width:100%;
z-index:10;
border:none;
border-right:none;
border-bottom-left-radius: 5px;
border-top-left-radius: 5px;
-moz-border-radius-bottomleft: 5px;
-moz-border-radius-topleft: 5px;
-webkit-border-bottom-left-radius: 5px;
-webkit-border-top-left-radius: 5px;
}
#associateProfileBackgroundTwo {
background-color:#f1f2ee;
padding:7px 94px 33px 0;
margin-top:-129px;
margin-right:-8px;
z-index:-100;
border:1px solid #ccc;
border-left:none;
border-top-right-radius: 5px;
-moz-border-radius-topright: 5px;
-webkit-border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
-moz-border-radius-bottomright: 5px;
-webkit-border-bottom-right-radius: 5px;
}
#associateProfileBackgroundThree {
background-color:#f1f2ee;
padding:7px 94px 26px 12px;
margin-top:-129px;
margin-left:-12px;
margin-right:-8px;
z-index:-100;
border:1px solid #ccc;
border-left:none;
border-bottom:none;
border-top-right-radius: 5px;
-moz-border-radius-topright: 5px;
-webkit-border-top-right-radius: 5px;
}
#associateProfileBackgroundFour {
background-color:#f1f2ee;
padding:0 94px 26px 13px;
margin-top:-3px;
margin-left:-12px;
margin-right:-8px;
z-index:-100;
border:1px solid #ccc;
border-top:none;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
-moz-border-radius-bottomleft: 5px;
-moz-border-radius-bottomright: 5px;
-webkit-border-bottom-left-radius: 5px;
-webkit-border-bottom-right-radius: 5px;
}
#externalAuthId {
width: 12em;
}
/* MISCELLANEOUS ------> */
form.customForm input[name="firstName"],
form.customForm input[name="lastName"],
form.customForm input[name="newPassword"],
form.customForm input[name="confirmPassword"] {
width: 10em;
}
#passwordContainer p.note {
margin-top: -10px;
padding-bottom: 5px;
}
/* PROXY MY ACCOUNT'S PROFILE ------> */
#edit-myProxy {
float: right;
padding: 2em;
padding-top: 1em;
background-color: #f7f7f4;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
width: 400px;
}
#edit-myProxy h4 {
padding-top: 0;
}
#edit-myProxy li.proxyInfoElement {
padding-top: .8em;
border-bottom: 1px dotted #E0DFDF;
padding-bottom: 2em;
padding-left: 0;
clear: both;
}
#edit-myProxy p.search-status {
margin-top: -10px;
font-size: .8em;
color: #7F8993;
padding-left: 10px;
height: 20px;
}
#edit-myProxy p.selected-editors {
padding-top: 1.2em;
border-top: 1px solid #E0DFDF;
padding-left: 0;
}
#edit-myProxy span.class-label {
color: #7F8993;
}
/* MANAGE PROXY ------> */
section.proxy-profile h4 {
padding-left: 20px;
padding-top: 20px;
}
#add-relation legend{
display: none;
}
.proxy-profile .acSelector,
#add-relation label {
margin-left: 20px;
}
#add-relation input.pos-submit {
float: right;
margin-right: 1em;
margin-bottom: 1em;
background-color: #317e95;
}
#add-relation input.pos-submit:hover {
background-color: #87b4c1;
}
.proxy-profile {
width: 930px;
/*background-color: #eaeae8;*/
background-color: #F7F7F4;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
overflow: hidden;
margin-bottom: 20px;
}
.list-proxy-profile {
background-color: #F7F7F4;
border-bottom: 1px dotted #e2e2dd;
margin-bottom: 0;
border-radius: 0;
-moz-border-radius: 0;
-webkit-border-radius: 0;
padding-top: 1.3em;
}
/*.list-proxy-profile:nth-child(2n-1) {
background-color: #F7F7F4;
}*/
.proxy {
width: 430px;
float: left;
padding-right: 10px;
}
.profile {
width: 440px;
float: right;
border-left: 1px dotted #d7d6d6;
padding-left: 30px;
padding-right: 1em;
margin-bottom: 1em;
}
#add-relation p.search-status,
#list-relation p.search-status{
margin-top: -10px;
font-size: .8em;
color: #7F8993;
padding-left: 25px;
height: 20px;
}
#list-relation label {
color: #064D68;
padding-left: 20px;
}
li.proxyInfoElement {
padding-bottom: 1em;
clear: both;
padding-left: 20px;
}
#list-relation li {
padding-bottom: 30px;
}
p.selected-editors {
padding-top: 1.2em;
border-top: 1px solid #E0DFDF;
padding-left: 1.2em;
}
img.photo-profile,
img.photo-proxy {
border: 1px solid #DDE4E3;
float: left;
}
#add-relation p.proxy-info,
#list-relation p.proxy-info,
#edit-myProxy p.proxy-info {
padding-left: 110px;
padding-top: 15px;
}
#add-relation p.proxy-info-profile,
#list-relation p.proxy-info-profile {
padding-left: 75px;
padding-top: 5px;
margin-bottom: 0;
}
span.class-label {
color: #7F8993;
}
a.remove-proxy,
a.remove-proxyUri {
font-size: .9em;
}
h4.profile-editors,
#verifyProfileLink {
margin-left: 10px;
}
#search-proxy {
border-top: 1px solid #E1E5E7;
padding: 10px;
padding-top: 20px;
}
#search-proxy p {
margin-top: .3em;
font-size: .8em;
}
.proxy-profile .submit {
clear: both;
float: left;
margin-left: 1.5em;
margin-bottom: 1em;
}
.proxy-item {
margin-left: 20px;
margin-top: 20px;
}
span[name=proxySelectorSearchStatus] {
color: red;
}
img.loading-relateEdior,
img.loading-relateProfile,
img.loading-addProfile,
img.loading-profileMyAccoount {
padding-left: 10px;
}
span.unlinkedAccount,
a.disable-delete {
padding-left:24px;
}

View file

@ -0,0 +1,57 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* Admin Dashboard */
#adminDashboard {
display: inline-block;
width: 100%;
}
#adminDashboard .pageBodyGroup {
float: left;
clear: right;
display: inline-block;
width: 45%;
margin: 1em 0;
padding: 0 1em;
}
#adminDashboard .pageBodyGroup h4,
#adminDashboard .pageBodyGroup h4 a {
margin: 0;
padding: 0;
color: #666;
}
#adminDashboard .pageBodyGroup h4 a {
font-weight: bold;
}
#adminDashboard .pageBodyGroup h3 {
background-color: #efefef;
color: #000;
padding: 5px;
}
#adminDashboard .pageBodyGroup ul {
margin: 0 0 1em 0.3em;
}
#adminDashboard .pageBodyGroup li {
list-style-type: none;
}
#adminDashboard #verbosePropertyForm {
margin-top: 3em;
}
#adminDashboard .add-action-button {
margin-top: .75em;
}
#alertIcon {
vertical-align:middle
}
/* BUBBLE ALERT FOR ADDING INDIVIDUAL CLASSES -----> */
#addClassBubble p{
width: 290px;
height: 50px;
font-size: 13px;
line-height: 1.3em;
padding: 25px 5px 5px 13px;
background: #fff url('../images/siteAdmin/addClassBubble.png') 0 0 no-repeat;
color: #797979;
padding-bottom: 0;
margin-bottom: 0;
}

View file

@ -0,0 +1,130 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* Styles used for class group browse (browse-classgroups.ftl) */
#browse {
clear: both;
width: 920px;
margin: 0 auto;
border: 1px solid #dfe6e6;
background: #f7f9f9;
overflow: hidden;
padding-bottom: 30px;
}
#browse h4 {
width: 13%;
height: 30px;
margin-bottom: 27px;
padding-left: 15px;
font-weight: normal;
line-height: 38px;
color: #fff;
background: #5e6363;
font-size: 20px;
}
/* BROWSE CLASS GROUPS ------> */
ul#browse-classgroups {
float: left;
width: 200px;
border: 1px solid #dde4e3;
border-right: none;
background: #f1f2ee;
margin-left: 34px;
padding: 0 20px 23px 20px;
margin-top: 10px;
padding-top: 10px;
}
ul#browse-classgroups li {
display: block;
border-bottom: 1px solid #dde4e3;
font-size: 18px;
width: 200px;
line-height: 1.5em;
}
ul#browse-classgroups li:last-child {
border-bottom: none
}
ul#browse-classgroups a {
display: block;
padding-left: 15px;
width: 200px;
color: #5e6363;
text-decoration: none;
padding-top: 8px;
padding-bottom: 8px;
}
ul#browse-classgroups .count-classes {
font-size: 14px
}
/* BROWSE CLASSES IN CLASS GROUP ------> */
#browse-classes {
float: left;
position: relative;
width: 610px;
border: 1px solid #dde6e5;
background: #fff;
min-height: 230px;
padding-top: 10px;
}
a.browse-superclass {
position: absolute;
right: 0.5em;
font-size: 0.9em;
top: 3px;
}
ul#classes-in-classgroup {
float: left;
width: 90%;
padding: 0 10px 0 22px;
margin-top: 20px;
margin-bottom: 10px;
}
ul#classes-in-classgroup.vis {
width: 55%;
border-right: 1px solid #DDE5E4;
}
ul#classes-in-classgroup li {
display: block;
float: left;
width: 100%;
border-bottom: 1px solid #dde4e3;
font-size: 14px;
height: 35px;
line-height: 35px;
}
ul#classes-in-classgroup li:last-child {
border-bottom: none
}
ul#classes-in-classgroup a {
display: block;
padding-left: 15px;
height: 35px;
color: #5e6363;
text-decoration: none;
}
ul#classes-in-classgroup .count-individuals {
font-size: 12px;
}
/* VISUALIZATION ------> */
#visual-graph {
float: left;
width: 235px;
}
#visual-graph h5 {
padding: 20px 0 12px 12px;
width: auto;
font-size: 18px;
font-weight: normal;
}
#pieViz {
width: 308px;
height: 308px;
}
svg text {
font-family: inherit !important;
font-size: 12px !important;
color: #5E6363 !important;
}
svg rect {
cursor: pointer;
}

View file

@ -0,0 +1,55 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* browseIndex.css contains styles used in the Index pages. */
/* INDIVIDUAL LIST ------> */
.individualList ul.individualData li {
padding-bottom: 0;
display: inline;
padding-right: .3em;
}
.pagination {
display: inline-block;
}
.pagination li {
display: inline-block;
padding-right: 2px;
}
.pagination li.selectedNavPage {
font-size: 1em;
}
.rdfLink {
padding-left: .5em;
font-size: .8em;
border-left: 1px solid #a6b1b0;
}
.individualList ul.individualData {
display: inline;
padding: 0.2em 0.4em;
font-size: 0.8em;
background: #f7f7f7;
}
.individualList ul.individualData li.last {
border: none;
}
.individualList a.externalLink {
font-weight: normal;
}
.individualList ul {
margin-left: 0;
}
.individualList li {
list-style-type: none;
margin-bottom: .5em;
}
.individualList li a {
font-weight: normal;
margin-right: .4em;
}
.individualList .display-title {
font-size: .825em;
color: #5e6363;
border-left: 1px solid #A6B1B0;
padding-left: .7em;
padding-right: .3em;
}

View file

@ -0,0 +1,96 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
table.classHierarchy {
margin-left:25px;
margin-right:25px;
margin-bottom:22px;
font-size:.8em;
min-width:900px;
max-width:900px;
background-color:#f8f8f8;
border-style: solid;
border-width: 1px;
border-color: #f0f0f0;
}
table.classHierarchy td {
padding-left:6px;
}
table.classHierarchy .classDetail,
td.classDetail {
width:90px;
color:#064D68;
white-space: nowrap;
}
table.subclassTable {
margin-left:15px;
margin-bottom:4px;
margin-top:-4px;
display:none;
}
td.subclassCell {
width:810px;
font-size:1.2em;
padding-bottom:4px;
}
section#container div {
width:925px;
background-color:#f2f2f2;
vertical-align:middle;
height:26px;
}
section#container div a {
margin-left: 6px;
font-weight: bold;
}
section#container div span {
padding-right: 10px;
float: right;
}
span.headerSpanPlus {
width: 12px;
background: url(../images/vitro_plus_sign.gif) left center no-repeat;
cursor:default;
}
span.headerSpanMinus {
width: 12px;
background: url(../images/vitro_minus_sign.gif) left center no-repeat;
cursor:default;
}
span.subclassExpandPlus {
padding-right: 14px;
background: url(../images/vitro_plus_sign.gif) left center no-repeat;
cursor:default;
}
span.subclassExpandMinus {
padding-right: 14px;
background: url(../images/vitro_minus_sign.gif) left center no-repeat;
cursor:default;
}
span#expandAll {
margin-right: 10px;
float: right;
font-size: 0.85em;
}
span.rangeClass {
color:#064D68;
padding-left:22px;
padding-right:8px;
}
div#expandLink {
margin-top:-10px;
width:100%;
margin-bottom:24px;
}
label#displayOptions {
display:inline-block;
padding-right:6px;
margin-top:20px;
}
table.innerDefinition {
margin-top:-5px;
margin-left:4px;
margin-right:4px;
margin-bottom:4px;
line-height:20px;
}

View file

@ -0,0 +1,76 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* Styles for the developer panel. */
div.developer {
background-color: #f7dd8a;
padding: 0px 10px 0px 10px;
font-variant: small-caps;
}
div.developer #developerPanelBody {
display: none;
}
#developerPanelBody * {
line-height: 1em;
font-size: small;
}
div.developer div.devleft {
width: 49%
}
div.developer div.devright {
float: right;
width: 49%
}
div.developer div.container {
border: thin groove black;
padding: 3px 10px 3px 10px;
margin: 3px 0px 3px 0px;
}
div.developer div.within {
padding-left: 1.5em;
}
div.developer input[type="text"] {
padding: 2px 10px 2px 10px;
line-height: 1em;
margin: 2px 2px 2px 2px;
}
div.developer input[type="text"]:disabled {
background-color: #f8eeae;
}
div.developer a {
margin: 3px;
}
#developerPanelBody ul.ui-tabs-nav li a {
padding: 0em 1em;
}
#developerPanelBody .ui-widget-header {
background-image: none;
background-color: #CC9900;
}
#developerPanelBody .ui-widget-content {
background-image: none;
background-color: #f7dd8a;
}
#developerPanelBody .ui-widget-header .ui-state-default {
background-image: none;
background-color: #f7cc33;
}
#developerPanelBody .ui-widget-header li.ui-state-active {
background-image: none;
background-color: #f7dd8a;
}

View file

@ -0,0 +1,36 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* Styles for Freemarker template variable dump */
.div.dump {
margin-top: 1em;
border-top: 2px solid #ccc;
padding-top: .75em;
}
.dump ul li.variable {
margin-bottom: .5em;
border-bottom: 1px solid #ccc;
padding-top: .75em;
padding-bottom: .75em;
}
.dump ul ul {
margin-left: 1.5em;
}
.dump ul li {
list-style: none;
}
.dump ul li p {
margin-bottom: .25em;
}
.dump ul li.item {
margin-bottom: 1.25em;
}
.dump ul li.item .value {
margin-left: 1.5em;
}

View file

@ -0,0 +1,339 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
label {
display: block;
margin-top: .5em;
}
label.inline,
div.sparqlform label {
display: inline;
font-weight: normal;
}
input.block {
display: block;
}
textarea,
div.sparqlform div {
margin-bottom: 1.5em;
}
form {
padding-bottom: 20px;
}
.form p {
margin-bottom: .5em;
}
form textarea {
width: 60%;
}
form a:link.cancel, form a:visited.cancel {
color: #f70;
border-color: #f70;
}
form a:hover.cancel, form a:active.cancel {
color: #fff;
background: #f70;
}
form select option {
padding-right: 5px;
}
form dl {
margin-bottom: 20px;
}
form dl dt, form dl dd {
padding-top: 15px;
}
.validationError {
font-weight: bold;
color: #cc0000;
}
.inlineForm input,
.inlineForm label {
display: inline;
}
p.submit {
clear: left;
margin-top: 2em;
}
.buttonForm {
margin-top: 0;
margin-bottom: 0;
margin-right: 0;
margin-left: 0.5em;
padding-bottom: 0.5em;
color: #444444;
line-height: 16px;
min-height: 100px;
display: inline;
}
.editingForm {
margin-top: 0;
margin-bottom: 0;
margin-right: 0;
margin-left: 0;
padding-bottom: 1em;
color: #444444;
line-height: 16px;
background-color: #fff
min-height: 100px;
font-size: 0.9em;
}
.editingForm table {
text-align: left;
border-width: 1px;
border-style: solid;
border-color: #000;
border-collapse: separate;
}
.editingForm td {
padding: 2px 2px 2px 2px;
font-size: 1em;
}
.editingForm table tr.row td:nth-child(2) a {
font-size: 1.2em;
font-weight: bold;
word-wrap: break-word;
}
td.verticalfieldlabel {
font-size: 11px;
line-height : 13px;
}
.editingForm .entryFormHead {
text-align: center;
padding: 0.2em;
background-color: #f8f8c8;
border-width: 1px;
border-style: solid;
border-color: #000;
}
.editingForm .entryFormHead h2 {
margin: 0.1em;
padding : 0em;
font-size: 1.4em;
color: #000;
}
.editingForm .entryFormHead h3 {
margin: 0.1em;
padding: 0;
font-size: 1.2em;
font-weight: 600; /* cals theme was: 650 */
color: #f00;
}
.editingForm .entryFormHead .entryFormHeadInstructions {
margin: 0em;
padding: 0em;
font-size: 0.8em;
}
.editingForm .form-item {
background-color: #FAFAD2;
border-color: #2E440C;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 10px;
border-width: 1px;
}
.editingForm .form-button {
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
margin-top: 2px;
width: auto;
overflow: visible;
}
tr.form-row-even {
background-color: #e9f0ff;
border-color: #eec;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 10px;
border-width: 1px;
margin-top: 2px;
}
tr.form-row-odd {
background-color: #e9f9ff;
border-color: #eec;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 10px;
border-width: 1px;
margin-top: 2px;
}
.form-editingRow {
background-color: #ff9;
border-color: #eec;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 10px;
border-width: 1px;
margin-top: 2px;
}
table.form-background td {
padding-left: 1em;
padding-right: 1em;
}
table.form-background td form {
padding : 0.2em;
}
.form-background {
background-color: #C8D8F8;
border-color: #CCCCFF;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 10px;
border-width: 1px;
margin-top: 2px;
}
.form-background.vclass {
background-color: #E05550;
}
.form-background.property {
background-color: #A8F0A0;
}
.form-table-head {
background-color: #ccf;
border-color: #eec;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 10px;
border-width: 1px;
margin-top: 2px;
}
.navlinkblock {
color: #000;
font-family: Verdana,Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: normal;
margin-top: 1px;
margin-bottom: 1px;
padding-top: 1px;
padding-bottom: 4px;
}
td.editformcell {
font-size: 9px;
}
td.editformcell select {
margin: 0;
}
.header,
.database_upperleftcorner,
.database_header {
background-color: #B0C4DE;
color: #000;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
font-style: normal;
text-align: left;
}
.database_upperleftcenter,
.rownumheader {
background-color: #B0C4DE;
color: #000;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
font-style: normal;
text-align: center;
}
.headercenter {
background-color: #9370DB;
color: #000;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
font-style: normal;
text-align: center;
}
.postheader,
.database_postheader {
background-color: #E6E6FA;
color: #777;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
font-style: normal;
text-align: left;
}
.postheadercenter {
background-color: #E6E6FA;
color: #4682B4;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
font-style: normal;
text-align: center;
}
.postheaderright {
background-color: #E6E6FA;
color: #4682B4;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
font-style: normal;
text-align: right;
}
.verticalfieldlabel {
background-color: #DEDEDF;
color: #000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8pt;
font-style: normal;
text-align: right;
vertical-align: top;
}
.row, .rowvert {
background-color: #F0FFFF;
color: #000;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
font-style: normal;
text-align: left;
}
.rowalternate {
background-color: #F8F8FF;
color: #000;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
font-style: normal;
text-align: left;
}
.rowbold {
background-color: #FFFAFA;
color: #000;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
font-style: normal;
font-weight: bold;
text-align: left;
}
.rownum {
background-color: #87CEFA;
color: #000;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
font-style: normal;
text-align: center;
}
span.entityRelationsSpan {
padding-top: 4px;
margin: 0 0 0 1em;
font-weight: bold;
font-size: 90%;
color: #2E440C;
text-align: center;
}
div.sparqlform .parenthetical {
font-style: italic;
margin-top: 0;
margin-bottom: .25em;
}
#objectVar {
max-width: 700px;
}
/* custom list view for mailingAddress */
div.adr {
display: inline-block;
}
/* Temporary hack to remove stuff from forms in vivoweb only */
.hideFromVivoWeb {
display: none;
height: 0;
}
.notice{
padding: .8em;
margin-bottom: 1em;
border: 1px solid #ddd;
display: block;
background: #FFF6BF;
color: #7F7034;
}
.note {
font-size: .8em;
line-height: 1.3em;
color: #7f8993;
}

View file

@ -0,0 +1,73 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
span#toggleContainer {
float:right;
padding:10px 8px 0 0;
font-size: 0.85em;
}
section.property-group {
padding-top: 15px;
border-top:none;
}
section.property-group h2 {
padding: 8px 10px 4px 12px;
}
.scroll-up {
position: absolute;
width: 21px;
height: 30px;
top: 8px; /* changed for redesign, was 0 */
right: 12px; /* changed for redesign, was -21px;*/
}
section.property-group div {
margin-top:15px;
/* display:none; */
}
section.property-group h2 {
font-size: 1.15em !important;
color: #5e6363 !important;
font-weight: normal !important;
background: #fafaf9 !important;
}
ul.propertyTabsList {
margin-left: 4px;
margin-top: 24px
}
ul.propertyTabsList li {
font-size: 1.0em;
}
ul.propertyTabsList li:first-child {
width: 7px;
}
li.nonSelectedGroupTab {
float:left;
border: 1px solid #DFE6E5;
background-color:#E4ECF3;
padding: 6px 8px 6px 8px;
cursor:pointer;
border-top-right-radius: 4px;
-moz-border-radius-topright: 4px;
-webkit-border-top-right-radius: 4px;
border-top-left-radius: 4px;
-moz-border-radius-topleft: 4px;
-webkit-border-top-left-radius: 4px;
}
li.selectedGroupTab {
float:left;
border: 1px solid #DFE6E5;
border-bottom-color:#fff;
background-color:#FFF;
padding: 6px 8px 6px 8px;
border-top-right-radius: 4px;
-moz-border-radius-topright: 4px;
-webkit-border-top-right-radius: 4px;
border-top-left-radius: 4px;
-moz-border-radius-topleft: 4px;
-webkit-border-top-left-radius: 4px;
}
li.groupTabSpacer {
float:left;border-bottom: 1px solid #DFE6E5;background-color:#fff;width:3px;height:37px
}
div.additionalItems {
margin-top: 0 !important;
}

View file

@ -0,0 +1,306 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* ADMIN PANEL------> */
#admin {
font-size: .8em;
padding-top: 0;
}
#admin h3 {
display: inline-block;
padding: 3px 6px 3px 10px;
margin-bottom: 5px;
font-size: 14px;
float: left;
}
#admin .uri-link {
padding-left: 11px;
padding-bottom: 5px;
clear: left;
}
#admin a.edit-individual {
padding-left: 0;
border-left: none;
padding-top: 8px;
}
#verbose-mode {
float: right;
padding-left: 10px;
}
#verbose-mode .small {
padding: 5px 6px 4px;
}
/* <------ INDIVIDUAL INTRO FOR ANY CLASS*/
#individual-intro {
margin-top: 15px;
margin-bottom: 0;
position: relative;
overflow: hidden;
}
#individual-intro h1 {
padding-bottom: 8px;
}
#individual-intro span.display-title {
padding-left: 10px;
margin-left: 10px;
}
#individual-info.withThumb {
width: 78%;
}
#individual-info h3 {
padding-bottom: 5px;
margin-top: 5px;
clear: left;
}
#individual-intro a.icon-rdf {
font-size: 1.125em;
}
img#uriIcon {
cursor: pointer;
}
/* <------ INDIVIDUAL INTRO - LEFT SIDE CONTENT */
#share-contact {
position: relative;
width: 166px;
float: left;
padding-right: 1.5em;
margin-bottom: 0;
}
#share-contact h3 {
margin-top: 15px;
padding-bottom: .3em;
font-size: 1em;
line-height: 1.2em;
padding-top: 0;
}
img.individual-photo {
width: 160px;
margin-left: 0;
float: left;
margin-right: 20px;
margin-bottom: 20px;
}
#mainImage {
position: absolute;
padding: 5px 5px 8px 5px;
background-color: rgba(255, 255, 255, 0.6);
top: 6px;
left: 6px;
}
h2#mainImage, #share-contact h2 {
font-size: 1em;
line-height: 1em;
padding-bottom: 0.6em
}
#photo-wrapper {
position: relative;
float: left;
}
/* <------ INDIVIDUAL INTRO - RIGHT SIDE CONTENT */
#individual-info {
padding: 0;
float: left;
width: 98%;
}
h1.fn .display-title {
padding-left: 10px;
margin-left: 10px;
}
#individual-info h2 {
padding-bottom: 6px;
padding-top: 18px;
}
#individual-info nav {
float: left;
width: 74%;
clear: left;
}
/* PROPERTY GROUP MENU------> */
#property-group-menu {
clear: both;
width: 95%;;
border: 1px solid #dfebe5;
margin: 0 0 0 4px;;
margin-bottom: 10px;
margin-top: 20px;
float: left;
}
#property-group-menu ul {
display: block;
list-style-type: none;
}
#property-group-menu li {
float: left;
padding-right: 15px;
padding-top: .6em;
padding-left: 15px;
}
#property-group-menu li:last-child {
margin-bottom: 7px;
}
#property-group-menu li:first-child {
padding-left: 10px;
}
/* PROPERTY GROUP------> */
.property-group {
position: relative;
clear: both;
width: 95%;
margin: 0 auto;
margin-bottom: 10px;
margin-bottom: 20px;
border: 1px solid #dfebe5;
}
.scroll-up {
position: absolute;
width: 21px;
height: 30px;
top: 0;
right: -21px;
}
section.property-group h2 {
padding: 20px 25px 12px 35px;
}
article.property {
width: 93%;
margin: 0 auto;
margin-bottom: 20px;
border: 1px solid #dfe6e5;
}
article.property h3 {
border-bottom: 1px solid #dfe6e5;
padding: 10px 20px 10px 20px;
}
article.property ul.property-list li.subclass h3 {
border-bottom: none;
padding: 10px 10px 10px 0;
background-color: #fff;
margin-bottom: 0;
}
article.property .data-property-statement {
padding: 10px 20px 10px 20px;
line-height: 1.2em;
margin-bottom: 0;
}
article.property ul.property-list {
background: #fff;
padding-bottom: 20px;
list-style-type: none;
}
article.property ul.property-list li {
line-height: 1.2em;
padding: 10px 20px 5px 20px;
background-color: #fff;
}
article.property ul.subclass-property-list {
margin-left: 0;
list-style-position: inside;
}
article.property ul.subclass-property-list li {
line-height: 1.2em;
padding: 0 20px 10px 20px;
}
/* EDITING DISPLAY------> */
.add-individual {
vertical-align: middle;
margin-left: 2px;
}
.edit-individual {
margin-left: 10px;
padding-left: 8px;
padding-right: 1px;
vertical-align: middle;
}
.edit-mainImage {
position: absolute;
background: rgba(255, 255, 255, 0.6);
padding: 0 6px 0 0;
top: 6px;
left: 6px;
}
a.edit-mainImage img.edit-individual {
border: 0;
padding-left: 0px;
margin-left: 8px;
}
.delete-mainImage {
position: absolute;
top: 6px;
left: 36px;
background: rgba(255, 255, 255, 0.6);
padding: 0 6px 0 8px;
}
.middle,
.delete-individual {
vertical-align: middle;
}
a.more-less {
margin-left: 1.5em;
padding: .3em .8em;
font-size: .8em;
text-decoration: none;
color: #666;
background: #eee;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
a:hover.more-less {
color: #fff;
background: #888;
}
/* VERBOSE DISPLAY------> */
section.verbosePropertyListing {
display: inline-block;
background-color: #eaebec;
padding: 10px;
}
h2#overview .verbosePropertyListing {
display: block;
}
/* URI/RDF ICON DISPLAY -------> */
.qtip-content h5 {
margin: 0;
padding: 0;
}
input#uriLink {
margin: 0;
width: 350px;
font-size: .8em;
}
.rdf-url {
display: block;
padding-top: 0.8em;
}
/* <---- Manage Prop Link, individual-properties.ftl -----*/
a.manageLinks {
display:none;
}
a#manageLabels {
margin-left:20px;
font-size:0.7em;
}
/* <---- OpenSocial -----*/
div#openSocial {
display:inline-block;
}
/* MISC */
ul.tinyMCEDisc {
list-style-type: disc;
margin-bottom: 10px;
}
ol.tinyMCENumeric {
list-style-type: decimal;
}
ul.tinyMCEDisc li,
ol.tinyMCENumeric li {
padding: 0 !important;
margin-left: 30px;
}
img.invalidFormatImg {
padding-left:8px;
vertical-align:middle;
}
.invalidFormatText {
font-size:10px;
color:#A12424;
}

View file

@ -0,0 +1,20 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* MENU ITEMS------> */
ul.menuItems {
width: 35%;
margin-bottom: 1.5em;
}
ul.menuItems li {
margin: .2em 0;
padding: .5em;
background: #f3f3f0;
}
ul.menuItems.dragNdrop li {
padding-left: 1.4em;
background: url("../../templates/freemarker/edit/forms/images/sortable_icon.png") no-repeat .4em center #f3f3f0;
cursor: move;
}
span.controls {
float: right;
}

View file

@ -0,0 +1,38 @@
/* http://keith-wood.name/realPerson.html
Real Person Form Submission for jQuery v1.0.1.
Written by Keith Wood (kwood{at}iinet.com.au) June 2009.
Dual licensed under the GPL (http://dev.jquery.com/browser/trunk/jquery/GPL-LICENSE.txt) and
MIT (http://dev.jquery.com/browser/trunk/jquery/MIT-LICENSE.txt) licenses.
Please attribute the author if you use it. */
/* Real Person jQuery plugin styles v1.0.1. */
.realperson-challenge {
display: inline-block;
background-color: #ddd;
width: 150px;
padding-top: 10px;
padding-left: 12px;
}
.realperson-text {
font-family: "Courier New",monospace;
font-size: 6px;
font-weight: bold;
letter-spacing: -1px;
line-height: 3px;
color: #000;
}
.realperson-regen {
padding-top: 4px;
padding-right: 6px;
font-size: 12px;
text-align: center;
cursor: pointer;
}
.realpersonLabel {
display: block;
}
#defaultReal {
margin-left: 20px;
vertical-align: top;
margin-top: 3px;
}

View file

@ -0,0 +1,90 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* styles for log in */
#login-form label,
#login-form input.text,
#login-form #password,
#login-form #confirmPassword,
#login-form label.label-remember-me,
#vivoAccountError {
display: block;
}
#login-form p.submit {
float: left;
margin-bottom: 0;
}
#login-form input.checkbox-remember-me {
float: left;
height: 14px;
padding: 0;
margin-top: 13px;
margin-left: 20px;
}
#newPassword {
margin-bottom: 0;
}
#login-form .label-remember-me {
display: block;
float: left;
width: 100px;
margin: 0;
padding: 0;
margin-top: 10px;
margin-right: 25px;
padding-right: 10px;
}
p.forgot-password {
clear:both;
margin-bottom: 0;
}
p.request-account {
width: 219px;
float: left;
}
#login-form p.external-auth {
margin-top: 1em;
text-align: center;
}
.or-auth {
margin-left: 135px;
width: 30px;
height: 30px;
background: #fff 0 0 url(../images/login-or.png) no-repeat;
margin-bottom: 0;
padding-left: 9px;
padding-top: 3px;
color: #fff;
font-size: .8em;
}
h3.internal-auth {
margin-left: 20px;
font-size: 1em;
margin-bottom: 0;
padding-bottom: 0;
text-decoration: none;
cursor: hand;
cursor: pointer;
text-align: center;
line-height: 1.4em;
}
.vivoAccount {
display: none;
}
.formFieldAlert {
border: 2px solid #900;
}
.red {
color: #900;
}
p.password-note {
margin: 0;
padding: 0;
font-size: 0.8em;
color: #615e5e;
padding-top: 3px;
}
.or {
display: inline;
vertical-align: middle;
}

View file

@ -0,0 +1,53 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/**Added by Huda for demonstration so feel free to edit/remove**/
/*note for mb: hide should be changed to hidden. We have a hidden class at the vitro layer vitro.css*/
.hide {
display:none;
}
#add-menu-item p,
#edit-menu-item p,
#existingContentType,
#selectContentType label {
margin-top: 15px;
}
#add-menu-item input[name="prettyUrl"],
#edit-menu-item input[name="prettyUrl"] {
margin-bottom: 0;
}
#add-menu-item p.note,
#edit-menu-item p.note {
margin-top: 5px;
}
#selectedContentTypeValue {
padding: 0.2em 0.4em;
background: #f4f4f4;
margin-right: .4em;
}
ul#selectedClasses {
list-style-type: none;
}
#add-menu-item input.submit,
#edit-menu-item input.submit {
margin-top: 20px;
}
#internal-class {
padding: 0.8em 1em;
background: #f4f4f4;
margin-right: .4em;
width: 65%;
}
#internal-class label {
color: #7F8993;
}
#internal-class p.note {
color: #595B5B;
padding-left: 25px;
}
ul#selectedClasses li {
margin-left: .4em;
}
#error-alert{
height: auto !important;
}

View file

@ -0,0 +1,311 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* VISUAL GRAPH-----> */
#menupage-intro {
clear: both;
width: 100%;
margin: 1em auto;
}
#menupage-intro h2 {
padding: 0 25px 20px 0;
}
#menupage-content {
float: left;
width: 90%;
margin-bottom: 30px;
}
#menupage-content.people {
width: 73%;
}
#menupage-content h3 {
padding: 0 25px 15px 0;
}
#menupage-content h4 {
padding: 20px 25px 12px 0;
}
ul#vgraph-classes {
float: left;
width: 265px;
margin-left: 35px;
}
ul#vgraph-classes li {
display: block;
height: 35px;
line-height: 35px;
}
ul#vgraph-classes a {
display: block;
padding-left: 15px;
width: 265px;
height: 35px;
}
#menupage-graph {
float: right;
width: 500px;
height: 283px;
padding-right: 20px;
border: 1px dotted #ccc;
}
#menupage-graph.people {
width: 300px;
height: 360px;
padding-right: 0;
border: none;
margin-top: -40px;
}
/* FIND BY ------> */
#find-by {
float: right;
margin: 0 1.1em 1.5em 0;
padding: 8px 8px 3px 5px;
}
#find-by h3 {
padding: 0 .2em .2em .8em;
border-bottom: 0;
float: left;
}
ul#find-filters {
float: right;
}
ul#find-filters li {
float: left;
padding-left: 3px;
padding-right: 15px;
border-right: 1px solid #E4EAE9;
}
ul#find-filters li:last-child {
border-bottom: 0;
border-right: none;
}
ul#find-filters a {
display: block;
padding-left: 13px;
}
/* RESEARCHERS ------> */
#researchers {
clear: both;
width: 90%;
height: 229px;
margin: 0 auto;
margin-top: 30px;
}
#researchers h3 {
float: left;
width: 150px;
padding: 20px 12px 10px 12px;
font-size: 1.25em;
color: #2485ae;
font-weight: normal;
background: url(../images/arrow.gif) 140px 27px no-repeat;
}
#researchers p {
padding: 17px 15px 15px 175px;
line-height: 1.5em;
}
#researchers-slider {
clear: both;
margin: 0 auto;
width: 887px;
height: 115px;
}
#alpha-display {
width: 100px;
height: 115px;
line-height: 115px;
float: left;
margin-right: 10px;
}
#profile-photo-display {
width: 60%;
height: 115px;
float: left;
}
#profile-photo-display li {
display: block;
width: 90px;
float: left;
padding-right: 10px;
padding-top: 10px;
}
#nav-display {
width: 100px;
height: 70px;
margin-top: 30px;
margin-right: 20px;
float: right;
}
#nav-display p {
float: left;
padding: 0;
padding-top: 7px;
width: 30px;
}
#nav-display img {
display: block;
float: right;
padding-left: 15px;
}
/* BROWSE BY ------> */
#browse-by {
clear: both;
width: 90%;
margin: 0 auto;
overflow: hidden;
}
#browse-by h2 {
width: 120px;
height: 44px;
line-height: 44px;
padding-left: 15px;
margin-bottom: 27px;
}
/* BROWSE CLASSES ------> */
ul#browse-classes {
float: left;
width: 255px;
margin-left: 15px;
margin-bottom: 20px;
margin-top: 10px;
}
ul#browse-classes li {
display: block;
width: 235px;
margin-left: 10px;
margin-right: 10px;
padding-top: 10px;
padding-bottom: 10px;
}
ul#browse-classes a {
display: block;
padding-left: 20px;
width: 225px;
}
/* ALPHA BROWSE------> */
ul#alpha-browse-individuals {
float: left;
width: 619px;
list-style: none;
}
ul#alpha-browse-individuals li {
float: left;
margin-right: 5px;
padding-top: 0px;
}
ul#alpha-browse-individuals li:first-child {
padding-left: 1px;
}
ul#alpha-browse-individuals li:last-child,
ul#vgraph-classes li:last-child,
ul#browse-classes li:last-child {
border-bottom: 0;
}
ul#alpha-browse-individuals a {
display: block;
height: 35px;
margin-left: 0;
padding-left: 8px;
}
nav#alpha-browse-container {
width: 619px;
float: left;
padding-left: 10px;
margin-left: 1px;
}
/* BROWSE INDIVIDUALS------> */
#individuals-in-class {
float: right;
width: 68%;
padding-bottom: 30px;
margin-bottom: 30px;
margin-right: 17px;
min-height: 170px;
}
h3.selected-class {
padding: .8em 0 0 0;
}
#individuals-in-class ul {
list-style: none;
}
li.individual {
width: 90%;
padding: 20px 0;
margin-left: 30px;
margin-right: 30px;
overflow: hidden;
}
li.individual img {
float: left;
margin-right: 20px;
}
li.individual h1 {
padding: 0;
line-height: 1.2em;
font-weight: bold;
}
li.individual h1.thumb {
padding-top: 30px;
}
#individuals-in-class span.title {
display: block;
margin: .8em 0 0 0;
font-size: .8em;
line-height: 1;
}
#individuals-in-class span.org,
#profile-photo-display ul {
display: block;
}
ul.mostSpecificTypes li {
float: left;
display: block;
padding: 0 10px;
border-right: 1px solid #c9c8c8;
}
ul.mostSpecificTypes li:first-child {
padding-left: 0;
}
ul.mostSpecificTypes li:last-child {
border-right: none
}
p.no-individuals {
margin: 1em 2em;
}
.pagination {
margin: .3em 0 0 1.4em;
}
.pagination h3 {
display: inline;
margin: 0 .3em 0 0;
padding: 0;
font-size: 1.1em;
color: #666;
}
.pagination ul {
display: inline;
}
.pagination li {
display: inline-block;
margin: 0;
border: none;
}
.pagination li.selected {
padding: 0 0.4em;
line-height: 1.5;
color: #333;
background: #ddd;
}
.pagination li a {
padding: 0 0.4em;
border: none;
}
.pagination li a:hover {
color: #fff;
background: #333;
border: none;
}
.pagination .round {
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}

View file

@ -0,0 +1,13 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
.menuFlag {
width:67px;
height:18px;
background: url("../../images/checkMark.png") no-repeat left center;
}
th#isMenuPage {
width: 86px;
}
th#iconColumns {
width: 90px;
}

View file

@ -0,0 +1,146 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
.pageContent {
padding-left:6px;
padding-top:2px;
}
.pageContentContainer {
background-color:#f5f5f5;
border-color:#ccc;
border-width:1px;
border-style:solid;
margin-bottom:4px;
}
.pageContentTypeLabel {
padding-left:6px;
color:#064D68;
}
.pageContentWrapper {
background-color:#f9f9f9;
padding-left:6px;
padding-top:2px;
border-top-width:1px;
border-style:solid;
border-color:#ccc;
}
.pageContentExpand {
float:right;
padding-right:5px;
}
.contentSectionContainer {
background-color:#f9f9f9;
padding-left:6px;
padding-top:2px;
border-width:1px;
border-style:solid;
border-color:#ccc;
}
.arrow {
width:13px;
height:9px;
display:block;
}
.expandArrow {
background:url(../../images/vitro_plus_sign.gif) right center no-repeat;
min-height:18px;
}
.collapseArrow {
background:url(../../images/vitro_minus_sign.gif) right center no-repeat;
min-height:18px;
}
.deleteButton {
margin-bottom:5px;
}
section#floatRight {
margin-top:0px;
float:right;
background-color:#fff;
width:580px;
margin-right:-4px;
}
select#typeSelect {
margin-top:0px;
margin-bottom:20px;
}
section#headerBar {
background-color:#f5f5f5;
border-color:#ccc;
border-width:1px;
border-style:solid;
border-bottom-width:0px;
padding-left:6px;
color:#064D68;
}
input#moreContent {
margin-top:8px;
}
section#pageDetails {
background-color:#fff;
}
p#templatePTag {
margin-top:8px;
margin-bottom:2px;
}
p#menuCheckboxPTag {
margin-top:15px;
margin-bottom:3px;
}
section.hideMenuSection {
margin-top:10px;
display:none;
}
section.showMenuSection {
margin-top:10px;
}
section#addPageOne {
margin-bottom:-12px;
margin-top:8px;
}
input.doneWithContent {
display: inline;
padding: 5px 18px 7px;
color: #fff;
text-decoration: none;
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
position: relative;
cursor: pointer;
border: 0;
margin: 0;
background-color: #398aac;
color: #fff;
font-size: 14px;
font-weight: normal;
line-height: 1;
margin-right: .6em;
margin-bottom:8px;
margin-top:0px;
}
input#contentCheckbox {
margin-left:30px;
margin-top:5px;
vertical-align:top;
padding: 0;
}
span.deleteLinkContainer {
float:left;
margin-left:170px;
margin-top:-36px;
}
form#managePage textarea {
width:98.5%;
}
#internal-class {
padding: 10px 0 2px 10px;
background: #f0f0f0;
margin-right: .4em;
margin-bottom: .8em;
width: 65%;
}

View file

@ -0,0 +1,15 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
.resultRow {
float:none;
clear:both;
}
.resultCell {
float:left;
border:1px solid #000000;
}
.resultHeading {
font-weight:bold;
}

View file

@ -0,0 +1,26 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* Styles for Freemarker template revisionInfo */
#revision-build-date {
width: 475px;
float: right;
padding-left: 35px;
height: 200px;
}
#revision-levels {
width: 375px;
float: left;
}
#revision-levels caption {
padding: 10px 0 12px 0;
margin: 0;
text-align: left;
}
#revision-levels th {
padding: 15px 20px 15px 20px;
}
#revision-levels td {
padding: 8px 20px 8px 20px;
text-align: center;
}

View file

@ -0,0 +1,90 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* Search form styles */
/* Class and subclass refinement links */
.searchTOC {
margin-bottom: 1.5em;
}
/* Search results */
.advancedSearchForm .form-button,
.searchhits li {
margin-top: 1em;
}
.searchhits li a {
margin-right: .4em;
}
p.snippet {
font-size: .8em;
line-height: 1.4em;
}
span.SearchTerm,
h1 span.SearchTerm,
a:link span.SearchTerm,
a:visited span.SearchTerm {
font-weight: bold;
color: #7D7D7D;
}
/* bPaging links */
.searchpages {
margin-top: 2em;
}
.searchpages a,
.searchpages span {
margin-left: .5em;
margin-right: .5em;
}
.searchpages a:link,
.searchpages a:visited {
text-decoration: none;
}
.searchpages a:hover,
.searchpages a:active {
text-decoration: underline;
}
.searchpages a.prev {
margin-right: 1em;
text-decoration: underline;
}
.searchpages a.next {
margin-left: 1em;
text-decoration: underline;
}
/* Search tips */
div.searchTips li {
line-height: 2em;
}
ul.searchTips {
list-style: url("../images/arrowIcon.gif");
}
ul.searchTips li {
line-height:1.375em;
padding:0 0 8px 0;
margin-left:20px;
}
/* Search results */
.display-title {
font-size: .825em;
color: #5e6363;
border-left: 1px solid #A6B1B0;
padding-left: .7em;
padding-right: .3em;
margin-right: 0;
}
.display-title:first-child {
margin-left: .5em;
}
span#searchHelp {
float:right;
margin-top:10px;
font-size:.825em;
padding-right:32px
}
img#downloadIcon {
cursor: pointer;
margin-left: 6px;
vertical-align: top;
}
.download-url {
padding: 5px 25px 5px;
}

View file

@ -0,0 +1,17 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* Styles for the search index controller. */
section#indexer table.history {
font-size: smaller;
border: 1px solid gray;
width: 100%;
}
section#indexer table.history th{
font-weight: bolder;
}
section#indexer table.history td{
padding: 2px 5px 2px 5px;
}

View file

@ -0,0 +1,22 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* Styles for Freemarker template showAuth */
#show-auth h3 {
padding: 20px 0 12px 0;
}
#show-auth h4 {
padding: 30px 0 12px 0;
margin: 0;
text-align: left;
}
#show-auth th {
padding: 4px 10px 4px 10px;
border: 1px solid black;
text-align: right;
}
#show-auth td {
padding: 4px 10px 4px 10px;
text-align: left;
border: 1px solid black;
}

View file

@ -0,0 +1,21 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* Styles for Freemarker template admin/showSources */
#show-sources pre {
font-family: monospace;
line-height: 1.1em;
}
#show-sources table {
width: 100%;
border: solid black;
}
#show-sources th {
background-color: #EEEEEE;
}
#show-sources td {
border: 1px solid gray;
}

View file

@ -0,0 +1,32 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* Styles for Freemarker template startupStatus-display */
#startup-trace {
width: 100%;
}
#startup-trace h4 {
padding: .5em;
margin-bottom: 0;
padding-bottom: .5em;
padding-top: 1em;
}
#startup-trace ul.item-spec {
margin-bottom: 1em;
}
#startup-trace ul.item-spec li{
padding-left: .5em;
padding-bottom: .4em;
}
#startup-trace li.error {
background-color: #FFDDDD;
}
#startup-trace li.warning{
background-color: #FFFFDD;
}
#startup-trace li.info {
background-color: #DDFFDD;
}
#startup-trace li.not_executed {
background-color: #F3F3F0;
}

View file

@ -0,0 +1,87 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* <------ UPLOAD PICTURE*/
#photoUpload {
margin-left: 0;
height: 280px;
background: #fff;
padding: 15px;
}
#photoUploadDefaultImage {
width: 130px;
float: left;
}
#photoUploadDefaultImage img {
margin-bottom: 10px;
}
#photoUploadForm {
width: 400px;
float: left;
padding-left: 25px;
margin-left: 1.2em;
margin-top: 30px;
padding-top: 15px;
padding-bottom: 25px;
}
#photoUploadForm label {
display: block;
padding-bottom: 10px;
}
#photoUploadForm label span {
font-size: .7em;
}
#photoUploadForm input {
margin-bottom: 10px;
}
/* <------ CROP PICTURE*/
#photoCropping {
margin-left: 0;
height: 450px;
background: #fff;
padding: 15px 0 15px 15px;
margin-right: 0;
}
#photoCroppingPreview {
width: 180px;
float: left;
}
.photoCroppingNote {
margin-top: 15px;
font-size: .8em;
}
#photoCropping {
width: 400px;
float: left;
padding-top: 30px;
padding-left: 15px;
margin-left: 0;
margin-right: 0;
}
.photoCroppedPreview {
width: 115px;
height: 115px;
overflow: hidden;
}
/* <------ DELETE PICTURE*/
#photoDeletingContainer {
margin-left: 0;
width: 720px;
height: 330px;
background: #fff;
padding: 15px;
}
/* <------ ERROR ALERTS*/
#error-alert {
color: #900;
padding: 0;
margin-bottom: 5px;
height: 30px;
}
#error-alert p {
padding-left: 35px;
font-size: .9em;
line-height: 30px;
}
.or {
display: inline;
}

View file

@ -0,0 +1,522 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/****************************************
Vitro base styles
Styles declared here are intended for
application-wide use.
Original version
2011-01-12 UI Team
Last updated
2011-01-13
*****************************************/
/* <------ MISCELLANEOUS*/
.clear {
clear: both;
}
.hidden {
display: none !important;
}
.disabledSubmit {
cursor:default ! important;
}
/* <------ USER FEEDBACK*/
#error-alert {
color: #900;
padding: 10px;
margin-bottom: 5px;
height: auto;
}
#error-alert img,
#confirmation-alert img {
float:left;
margin: 0;
padding: 0;
vertical-align: middle;
}
#error-alert p,
#confirmation-alert p {
padding-left: 30px;
font-size: .9em;
line-height: 30px;
}
#error-alert p.login-alert {
padding-top: 0;
}
#confirmation-alert {
color: #169f43;
padding: 0;
margin-bottom: 5px;
height: 30px;
}
#flash-message {
background-color: #7285a0;
padding: .5em;
margin-bottom: 10px;
}
.contentNote {
float: right;
padding: .6em;
background: #ffc;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
}
.contentNote h4,
.contentNote p {
margin: 0;
padding: 0;
}
.contentNote p {
font-size: .8em;
}
/* <------ INDEX PAGE*/
.siteMap h2 {
padding-bottom: 0;
}
.class-group {
margin-right:25px;
}
#isotope-container {
overflow:visible !important;
}
#isotope-container li {
width:290px;
}
/* <------ SEARCH RESULTS PAGE*/
.searchTOC {
margin-bottom: 1.5em;
float:right;
margin-right:35px;
margin-left:45px;
width:182px;
text-align:center;
/* border: 1px solid #dde4e3;*/
padding-top:4px;
color: #fff;
background: #5e6363;
}
.searchTOC h4 {
color: #fff;
padding: .2em 0 .2em 0;
}
.searchTOC ul {
width: 180px;
border: 1px solid #dde4e3;
background: #f1f2ee;
padding: 0;
margin-top: 4px;
text-align: left;
}
.searchTOC ul li {
border-bottom: 1px solid #dde4e3;
display: block;
font-size: 14px;
margin-left: 20px;
padding-top: .5em;
padding-bottom: .5em;
width: 150px;
}
.searchTOC ul li:hover {
background-color:#f7f9f9;
}
.searchTOC ul li:last-child {
border-bottom: none
}
.searchTOC ul a {
display: inline;
}
.searchTOC ul span {
float:right;
padding-right: 10px;
color:gray;
font-size:smaller;
}
.contentsBrowseGroup {
clear:both;
padding-top: 5px;
}
.searchResultsHeader {
width: 675px;
float:left;
}
a.close {
float: right;
margin-right: .3em;
font-size: .8em;
}
/* -------------------------------------------------> */
/* DROP DOWN USER MENU ----------------------------> */
/* -------------------------------------------------> */
/* LEVEL ONE */
ul.dropdown {
position: relative;
}
ul.dropdown li,
ul.language-dropdown li {
float: left;
zoom: 1;
padding: 0 !important;
}
ul.dropdown li a,
ul.language-dropdown li a {
display: block;
font-size: 1.4em;
}
ul.dropdown li#user-menu {
background: url(../images/arrowDownOverAccount.gif) right 9px no-repeat;
min-width:110px;
position: relative;
}
ul.dropdown li#user-menu a {
margin-right: 28px;
margin-left:10px;
}
ul.dropdown li#user-menu.hover,
ul.dropdown li#user-menu:hover,
ul.language-dropdown li#language-menu.hover,
ul.language-dropdown li#language-menu:hover {
color: #000 !important;
position: relative;
background: #fff url(../images/arrowDownAccount.gif) right 9px no-repeat;
border-bottom: 1px solid #cdcfcf;
}
ul.dropdown li.hover a,
ul.dropdown li:hover a,
ul.language-dropdown li.hover a,
ul.language-dropdown li:hover a {
color: #000 !important;
margin-left:10px;
}
/* LEVEL TWO */
ul.dropdown ul.sub_menu {
background-color: #fff;
font-size: 1.4em;
visibility: hidden;
position: absolute;
top: 100%;
right: 0;
z-index: 999;
color: #000;
}
ul.dropdown ul.sub_menu li {
float: none;
clear: both;
padding-left: 14px !important;
width: 96px;
border-right: none !important;
border-bottom: 1px solid #cdcfcf;
background: #fff url(../images/arrowMenuAccount.gif) 7px 8px no-repeat;
}
ul.dropdown ul.sub_menu li:last-child {
width: 96px;
}
/* IE 6 & 7 Needs Inline Block */
/* ADD IN IE6.css and IE7.css*/
ul.dropdown ul.sub_menu li a {
width: 90%;
display: inline-block;
color: #000 !important;
background-color: #fff;
padding: 0;
padding-left: 0px;
height: 24px;
}
ul.dropdown ul.sub_menu li.inactive {
color: #aab0ae !important;
font-size: 1em !important;
padding-left: 22px !important;
width: 88px;
}
ul.dropdown ul.sub_menu li a:hover,
ul.dropdown ul.sub_menu li a.hover {
color: #999 !important;
}
/* LEVEL THREE */
ul.dropdown ul ul {
left: 100%; top: 0;
}
ul.dropdown li:hover > ul {
visibility: visible;
}
/* -------------------------------------------------> */
/* DROP DOWN LANGUAGE MENU ------------------------> */
/* -------------------------------------------------> */
ul.language-dropdown {
position: relative;
}
ul.language-dropdown li#language-menu {
background: url(../images/arrowDownOverAccount.gif) right 9px no-repeat;
min-width:110px;
position: relative;
margin-right: -10px !important;
}
ul.language-dropdown li#language-menu a {
margin-right: 28px;
margin-left:10px;
}
/* LEVEL TWO */
ul.language-dropdown ul.sub_menu {
font-size: 1.4em;
visibility: hidden;
position: absolute;
top: 100%;
right: 0;
z-index: 999;
color: #000;
width: 100%;
}
ul.language-dropdown ul.sub_menu li {
float: none;
clear: both;
padding-left: 14px !important;
width: 100%;
border-right: none !important;
border-bottom: 1px solid #cdcfcf;
background: #fff url('../images/arrowMenuAccount.gif') no-repeat scroll 7px 8px ;
}
/* IE 6 & 7 Needs Inline Block */
/* ADD IN IE6.css and IE7.css*/
ul.language-dropdown ul.sub_menu li a {
width: 90%;
display: inline-block;
color: #000 !important;
background-color: #fff url('../images/arrowMenuAccount.gif') no-repeat scroll 7px 8px ;
padding: 0;
padding-left: 0;
height: 24px;
}
ul.language-dropdown ul.sub_menu li.inactive {
color: #aab0ae !important;
font-size: 1em !important;
width: 88px; */
}
ul.language-dropdown ul.sub_menu li a:hover,
ul.language-dropdown ul.sub_menu li a.hover {
color: #999 !important;
opacity: 0.6;
filter: alpha(opacity=60); /* For IE8 and earlier */
}
/* ------ MANAGE LABELS ------ */
section#rdfsLabels {
margin-left:20px;
}
section#rdfsLabels li:first-child {
margin-top:20px;
}
section#rdfsLabels li {
margin-bottom:15px;
}
section#rdfsLabels li label {
font-size:1em;
padding-left:5px;
}
section#rdfsLabels a.cancel {
color:#F70;
}
p#mngLabelsText {
margin-left:25px;
margin-bottom:12px;
}
/* SEARCH HOME------> */
#search-home {
margin-top: 2em;
width: 570px;
}
#search-home h3 {
padding-left: 24px;
}
#search-homepage {
position: relative;
padding-left: 24px;
}
#search-home-field {
width: 530px;
height: 44px;
}
#search-home-field input.search {
text-decoration: none;
font-size: 18px;
border: none;
padding-left: 13px;
padding-top: 8px;
cursor: pointer;
}
span.search-filter-selected {
display: none;
}
input.search-homepage {
float: left;
height: 20px;
border: 0;
font-size: 18px;
margin-left: 4px;
margin-top: 2px;
margin-right: 40px;
margin-top: 2px;
width: 351px;
background-position: right;
}
a.filter-search {
position: absolute;
vertical-align: middle;
display: inline-block;
width: 39px;
height: 43px;
z-index: 9999;
top: 0;
right: 135px;
z-index: 9999;
}
.filter-default {
}
.filter-active {
}
#filter-search-nav {
position: absolute;
width: 184px;
top: 0;
right: 135px;
z-index: 9998;
display: none;
list-style-type: none;
}
#filter-search-nav li {
padding-left: 0;
margin-left: 0;
list-style-type: none;
background-image: none;
}
#filter-search-nav {
z-index: 9998;
}
#filter-search-nav a.active {
}
#filter-search-nav a {
font-size: 17px;
display: block;
margin-left: 15px;
margin-right: 15px;
padding-top: 8px;
padding-bottom: 8px;
text-decoration: none;
}
/* HOME STATS-----> */
#home-stats {
margin-top: 1em;
width: 921px;
height: 213px;
clear: both;
}
.home-sections h4 {
margin-top: 0;
height: 34px;
font-size: 18px;
text-align: center;
margin-left: 35px;
padding: 0;
line-height: 35px;
}
#home-stats h4 {
display: inline;
padding: 3px 10px;
}
#stats {
margin: 0 auto;
width: 875px;
}
#stats li {
float: left;
width: 108px;
height: 102px;
margin-top: 35px;
margin-right: 25px;
}
#stats p {
}
#stats li a {
text-decoration: none;
}
#stats li a:hover {
}
#stats li:first-child {
margin-left: 50px;
}
#stats .stats-count {
text-align: center;
font-size: 42px;
margin: 0;
padding-top: 30px;
}
#stats .stats-count span {
font-size: 18px;
padding-left: 2px;
}
#stats .stats-type {
font-size: 13px;
text-align: center;
margin: 0;
margin-top: 13px;
}
/* contact form security field */
div .realperson-challenge {
width: 250px;
margin-right: 20px;
}
div .realperson-text {
text-align: center;
}
/* TABLE STYLES USED IN ACCOUNTS AND PAGE MANAGEMENT */
table#table-listing {
border-collapse: collapse;
caption-side: top;
empty-cells: show;
margin: 0 auto;
margin: 20px 0 20px 0;
table-layout: auto;
text-align: left;
width: 930px;
}
table#table-listing tr:nth-child(2n) {
background-color: rgba(200, 200, 180,.25);
}
table#table-listing caption {
display: none;
}
table#table-listing th {
background-color: #F7F9F9;
border-bottom: none;
border: 1px solid #d9e4ea;
color: #064D68;
font-size: .9em;
height: 40px;
padding-left: 6px;
padding-top: 7px;
text-align: left;
}
table#table-listing td {
border: 1px solid #d9e4ea;
font-size: .825em;
padding: .5em;
vertical-align: top;
}
table#table-listing td a {
word-wrap: break-word;
}

5593
webapp/src/main/webapp/dojo.js vendored Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,66 @@
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page isErrorPage="true" %>
<%@ page import="com.oreilly.servlet.ServletUtils,edu.cornell.mannlib.vitro.webapp.web.*" %>
<%@page import="edu.cornell.mannlib.vitro.webapp.controller.VitroRequest"%>
<%@page import="edu.cornell.mannlib.vitro.webapp.beans.ApplicationBean"%>
<%@page import="org.apache.commons.logging.Log"%>
<%@page import="org.apache.commons.logging.LogFactory"%>
<%
// We have seen that this page can throw its own error.
// Before it does so, be sure that we have written the original error to the log.
Object c = request.getAttribute("javax.servlet.jsp.jspException");
if (c instanceof Throwable) {
Throwable cause = (Throwable) c;
Log log = LogFactory.getLog(this.getClass());
log.error("Error: ", cause);
}
VitroRequest vreq = new VitroRequest(request);
ApplicationBean appBean = vreq.getAppBean();
String themeDir = appBean.getThemeDir();
request.setAttribute("bodyJsp", "/errorbody.jsp");
request.setAttribute("title", "Error");
request.setAttribute("css", "");
request.setAttribute("themeDir", themeDir);
%>
<jsp:include page="/templates/page/doctype.jsp"/>
<head>
<jsp:include page="/templates/page/headContent.jsp"/>
</head>
<body> <!-- generated by error.jsp -->
<div id="wrap">
<jsp:include page="/templates/page/freemarkerTransition/identity.jsp" flush="true"/>
<div id="contentwrap">
<jsp:include page="/templates/page/freemarkerTransition/menu.jsp" flush="true"/>
<p>There was an error in the system; please try again later.</p>
<div>
<h3>Exception: </h3><%= exception %>
</div>
<div>
<% try{ %>
<h3>Trace:</h3><pre><%= ServletUtils.getStackTraceAsString(exception) %></pre>
<% }catch (Exception e){ %>
No trace is available.
<% } %>
</div>
<div>
<% try{ %>
<h3>Request Info:</h3><%= MiscWebUtils.getReqInfo(request) %>
<% }catch (Exception e){ %>
No request information is available.
<% } %>
</div>
</div> <!-- contentwrap -->
<jsp:include page="/templates/page/freemarkerTransition/footer.jsp" flush="true"/>
</div> <!-- wrap -->
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -0,0 +1,24 @@
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%/* this is used by the FedoraDatastreamController and not by the N3 editing system.*/%>
<h2>Upload a replacement for ${fileName}</h2>
<form action="<c:url value="/fedoraDatastreamController"/>"
enctype="multipart/form-data" method="POST">
<p>File <input type="file" id="fileRes" name="fileRes" /></p>
<%/* <p><input type="radio" name="useNewName" value="false" checked/>
use existing file name</p>
<p><input type="radio" name="useNewName" value="true"/>
rename file to name of file being uploaded</p> */%>
<input type="hidden" name="fileUri" value="${fileUri}"/>
<input type="hidden" name="pid" value="${pid}"/>
<input type="hidden" name="dsid" value="${dsid}"/>
<!--Adding use new name set to true so that it is overwritten correctly-->
<input type="hidden" name="useNewName" value="true"/>
<input type="submit" class="submit" value="submit" />
</form>

View file

@ -0,0 +1,16 @@
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div>The file ${orginalFileName} was updated. The file received from you had the MD5 checksum ${checksum}.</div>
<c:if test="${useNewName}">
<div>The name of the file was also changed to ${newFileName}.</div>
</c:if>
<c:url value="/individual" var="url">
<c:param name="uri" value="${fileUri}"/>
</c:url>
<div>Goto <a href="${url}">${newFileName}</a></div>

View file

@ -0,0 +1,11 @@
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div>${checksum} "${fileName}"</div>
<c:url value="/individual" var="url">
<c:param name="uri" value="${uri}"/>
</c:url>
<div>return to <a href="${url}">${name}</a></div>

View file

@ -0,0 +1,912 @@
#
# Text strings for the controllers and templates
#
# Default (English)
#
save_changes=Save changes
save_entry=Save entry
select_existing=Select existing
select_an_existing=Select an existing
add_an_entry_to=Add an entry of type
change_entry_for=Change entry for:
add_new_entry_for=Add new entry for:
change_text_for=Change text for:
cancel_link = Cancel
cancel_title = cancel
required_fields = required fields
or = or
alt_error_alert = Error alert icon
alt_confirmation = Confirmation icon
for=for
email_address = Email address
first_name = First name
last_name = Last name
roles = Roles
status = Status
ascending_order = ascending order
descending_order = descending order
select_one = Select one
type_more_characters = type more characters
no_match = no match
request_failed = Request failed. Please contact your system administrator.
#
# Image upload pages
#
upload_page_title = Upload image
upload_page_title_with_name = Upload image for {0}
upload_heading = Photo Upload
replace_page_title = Replace image
replace_page_title_with_name = Replace image for {0}
crop_page_title = Crop image
crop_page_title_with_name = Crop image for {0}
current_photo = Current Photo
upload_photo = Upload a photo
replace_photo = Replace Photo
photo_types = (JPEG, GIF or PNG)
maximum_file_size = Maximum file size: {0} megabytes
minimum_image_dimensions = Minimum image dimensions: {0} x {1} pixels
cropping_caption = Your profile photo will look like the image below.
cropping_note = To make adjustments, you can drag around and resize the photo to the right. \
When you are happy with your photo click the "Save Photo" button.
alt_thumbnail_photo = Individual photo
alt_image_to_crop = Image to be cropped
alt_preview_crop = Preview of photo cropped
delete_link = Delete photo
submit_upload = Upload photo
submit_save = Save photo
confirm_delete = Are you sure you want to delete this photo?
imageUpload.errorNoURI = No entity URI was provided
imageUpload.errorUnrecognizedURI = This URI is not recognized as belonging to anyone: ''{0}''
imageUpload.errorNoImageForCropping = There is no image file to be cropped.
imageUpload.errorImageTooSmall = The uploaded image should be at least {0} pixels high and {1} pixels wide.
imageUpload.errorUnknown = Sorry, we were unable to process the photo you provided. Please try another photo.
imageUpload.errorFileTooBig = Please upload an image smaller than {0} megabytes.
imageUpload.errorUnrecognizedFileType = ''{0}'' is not a recognized image file type. Please upload JPEG, GIF, or PNG files only.
imageUpload.errorNoPhotoSelected = Please browse and select a photo.
imageUpload.errorBadMultipartRequest = Failed to parse the multi-part request for uploading an image.
imageUpload.errorFormFieldMissing = The form did not contain a ''{0}'' field."
#
# User Accounts pages
#
account_management = Account Management
user_accounts_link = User accounts
user_accounts_title = user accounts
login_count = Login count
last_login = Last Login
add_new_account = Add new account
edit_account = Edit account
external_auth_only = Externally Authenticated Only
reset_password = Reset password
reset_password_note = Note: Instructions for resetting the password will \
be emailed to the address entered above. The password will not \
be reset until the user follows the link provided in this email.
new_password = New password
confirm_password = Confirm new password
minimum_password_length = Minimum of {0} characters in length; maximum of {1}.
leave_password_unchanged = Leaving this blank means that the password will not be changed.
confirm_initial_password = Confirm initial password
new_account_1 = A new account for
new_account_2 = was successfully created.
new_account_title = new account
new_account_notification = A notification email has been sent to {0} \
with instructions for activating the account and creating a password.
updated_account_1 = The account for
updated_account_2 = has been updated.
updated_account_title = updated account
updated_account_notification = A confirmation email has been sent to {0} \
with instructions for resetting a password. \
The password will not be reset until the user follows the link provided in this email.
deleted_accounts = Deleted {0} {0, choice, 0#accounts|1#account|1<accounts}.
enter_new_password = Please enter your new password for {0}
error_no_email_address = Please enter your email address.
error_no_password = Please enter your password.
error_incorrect_credentials = The email or password you entered is incorrect.
logins_disabled_for_maintenance = User logins are temporarily disabled while the system is being maintained.
error_no_new_password = Please enter your new password.
error_passwords_dont_match = The passwords entered do not match.
error_password_length = Please enter a password between {0} and {1} characters in length.
error_previous_password = Your new password cannot match the current one.
search_accounts_button = Search accounts
accounts_search_results = Search results for
select_account_to_delete = select this account to delete it
click_to_view_account = click to view account details
filter_by_roles = Filter by roles
view_all_accounts = View all accounts
view_all_accounts_title = view all accounts
new_account_note = Note: An email will be sent to the address entered above \
notifying that an account has been created. \
It will include instructions for activating the account and creating a password.
initial_password = Initial password
submit_add_new_account = Add new account
account_created = Your {0} account has been created.
account_created_subject = Your {0} account has been created.
confirm_delete_account_singular = Are you sure you want to delete this account?
confirm_delete_account_plural = Are you sure you want to delete these accounts?
verify_this_match = verify this match
verify_this_match_title = verify this match
change_profile = change profile
change_profile_title = change profile
auth_matching_id_label = External Auth. ID / Matching ID
auth_id_label = External Authentication ID
auth_id_in_use = This Identifier is already in use.
auth_id_explanation = Can be used to associate the account with the user's profile via the matching property.
associated_profile_label = Associated profile:
select_associated_profile = Select the associated profile
create_associated_profile = Create the associated profile
email_changed_subject = Your {0} email account has been changed.
create_your_password = Create your Password
password_created_subject = Your {0} password has successfully been created.
password_reset_pending_subject = {0} reset password request
password_reset_complete_subject = Your {0} password changed.
reset_your_password = Reset your Password
first_time_login = First time log in
create_account = Create account
cant_activate_while_logged_in = You may not activate the account for {0} while you are logged in as {1}. \
Please log out and try again.
account_already_activated = The account for {0} has already been activated.
cant_change_password_while_logged_in = You may not reset the password for {0} while you are logged in as {1}. \
Please log out and try again.
password_change_not_pending = The password for {0} has already been reset.
password_changed_subject = Password changed.
account_no_longer_exists = The account you are trying to set a password on is no longer available. \
Please contact your system administrator if you think this is an error.
password_saved = Your password has been saved.
password_saved_please_login = Your password has been saved. Please log in.
please_provide_contact_information = Please provide your contact information to finish creating your account.
first_time_login_note = Note: An email will be sent to the address entered above notifying \
that an account has been created.
myAccount_heading = My account
myAccount_confirm_changes = Your changes have been saved.
myAccount_confirm_changes_plus_note = Your changes have been saved. A confirmation email has been sent to {0}.
email_change_will_be_confirmed = Note: if email changes, a confirmation email will be sent to the new email address entered above.
#email_changed_subject = "Your VIVO email account has been changed.");
who_can_edit_profile = Who can edit my profile
add_profile_editor = Add profile editor
select_existing_last_name = Select an existing last name
selected_editors = Selected editors
remove_selection = Remove selection
remove_selection_title = remove selection
external_id_not_provided = Login failed - External ID is not found.
external_id_already_in_use = User account already exists for ''{0}''
error_no_email = You must supply an email address.
error_email_already_exists = An account with that email address already exists.
error_invalid_email = ''{0}'' is not a valid email address.
error_external_auth_already_exists = An account with that external authorization ID already exists.
error_no_first_name = You must supply a first name.
error_no_last_name = You must supply a last name.
error_no_role = You must select a role.
error_password_mismatch = Passwords do not match.
logged_in_but_no_profile = You have logged in, but the system contains no profile for you.
unknown_user_name = friend
login_welcome_message = Welcome{1, choice, 1# |1< back}, {0}
external_login_failed = External login failed
logged_out = You have logged out.
insufficient_authorization = We're sorry, but you are not authorized to view the page you requested. If you think this is an error, please contact us and we'll be happy to help.
#
# "partial" individual templates ( /templates/freemarker/body/partials/individual )
#
manage_publications_link = manage publications
manage_grants_and_projects_link = manage grants & projects
manage_affiliated_people_link = manage affiliated people
group_name = group name
scroll_to_menus = scroll to property group menus
properties_capitalized = Properties
properties = properties
view_all_capitalized = View All
name = name
admin_panel = Admin Panel
edit_this_individual = Edit this individual
verbose_status_on = on
verbose_status_off = off
verbose_property_status = Verbose property display is
verbose_control = verbose control
verbose_turn_on = Turn on
verbose_turn_off = Turn off
resource_uri = Resource URI
individual_not_found = Individual not found
entity_to_query_for = This id is the id of the entity to query for. netid also works.
menu_ordering = Menu Ordering
refresh_page_after_reordering = Refresh page after reordering menu items
display_has_element_error = There was an error in the system. The display:hasElement property could not be retrieved.
return_to = return to {0}
other = other
#
# admin templates ( /templates/freemarker/body/admin )
#
logins_already_restricted = Logins are already restricted.
logins_not_already_restricted = Logins are already not restricted.
logins_restricted = Logins are now restricted.
logins_not_restricted = Logins are no longer restricted.
logins_are_open = Logins are open to all.
logins_are_restricted = Logins are restricted.
remove_restrictions = Remove Restrictions
restrict_logins = Restrict Logins
error_alert_icon = Error alert icon
current_user = Current user
external_auth_id = External Auth ID
user_role = Role
not_logged_in = Not logged in
identifiers = Identifiers
associated_individuals = Associated Individuals
match_by = match by {0}
matching_prop_not_defined = matching property is not defined
may_edit = May edit
may_not_edit = May not edit
none = none
identifier_factories = Identifier factories
policies = Policies
authenticator = Authenticator
background_threads = Background Threads
name_capitalized = Name
work_level = Work level
since = Since
flags = Flags
search_index_status = Search Index Status
search_index_not_connected = The search index is not connected.
failed = failed
check_startup_status = Check startup status page and/or Tomcat logs for more information.
search_indexer_idle = The search indexer is idle.
most_recent_update = The most recent update was at
rebuild_button = Rebuild
reset_search_index = Reset the search index and re-populate it.
preparing_to_rebuild_index = Preparing to rebuild the search index.
since_elapsed_time = since {0}, elapsed time {1}
current_task = {0} the search index
since_elapsed_time_est_total = since {0}, elapsed time {1}, estimated total time {2}
index_recs_completed = Completed {0} out of {1} index records.
fatal_error = Fatal Error
fatal_error_detected = {0} detected a fatal error during startup.
warning = Warning
warnings_issued = {0} issued warnings during startup.
startup_trace = Startup trace
full_list_startup = The full list of startup events and messages.
startup_status = Startup status
continue = Continue
#
# contact form templates ( /templates/freemarker/body/contactForm )
#
rejected_spam = REJECTED - SPAM
feedback_thanks_heading = Thank you for your feedback
feedback_thanks_text = Thank you for contacting our curation and development team. We will respond to your inquiry as soon as possible.
return_to_the = Return to the
home_page = home page
from_capitalized = From
ip_address = IP address
viewing_page = Likely viewing page
comments = Comments
interest_thanks = Thank you for your interest in {0}. Please submit this form with questions, comments, or feedback about the content of this site.
full_name = Full name
comments_questions = Comments, questions, or suggestions
enter_in_security_field = Please enter the letters displayed below into the security field
send_mail = Send Mail
#
# display edit template ( /templates/freemarker/body/displayEdit )
#
display_admin_header = Display Admin and Configuration
#
# error templates ( /templates/freemarker/body/error )
#
we_have_an_error = There was an error in the system.
error_was_reported = This error has been reported to the site administrator.
error_message = Error message
stack_trace = Stack trace
trace_available = full trace available in the vivo log
caused_by = Caused by
requested_url = Requested url
error_occurred = An error occurred on the VIVO site
error_occurred_at = An error occurred on your VIVO site at {0}.
#
# login templates ( /templates/freemarker/body/login )
#
internal_login = Internal Login
no_email_supplied = No email supplied.
no_password_supplied = No password supplied.
logins_temporarily_disabled = User logins are temporarily disabled while the system is being maintained.
incorrect_email_password = Email or Password was incorrect.
password_length = Password must be between {0} and {1} characters.
password_mismatch = Passwords do not match.
new_pwd_matches_existing = Your new password must be different from your existing password.
enter_email_password = Enter the email address and password for your internal Vitro account.
change_password = You must change your password to log in.
email_capitalized = Email
password_capitalized = Password
login_button = Log in
fake_external_auth = Fake External Authentication
enter_id_to_login = Enter the userID that you want to sign in as, or click Cancel.
username = Username
submit_button = Submit
#
# body templates ( /templates/freemarker/body )
#
class_name = class name
continued = cont'd
expecting_content = Expecting content?
try_rebuilding_index = Try rebuilding the search index
please = Please
login_to_manage_site = log in to manage this site
log_in = log in
to_manage_content = to manage content.
no_content_in_system = There is currently no {0} content in the system
you_can = You can
add_content_manage_site = add content and manage this site
from_site_admin_page = from the Site Administration page.
view_list_in_rdf = View the {0} list in RDF format
rdf = RDF
pages = pages
menu_management = Menu Management
setup_navigation_menu = Setup the primary navigation menu for your website
save_button = Save
page_select_permission = Select page permissions
page_select_permission_option = Select permission
page_admin_permission_option = Only admins can view this page
page_curator_permission_option = Curators and above can view this page
page_editor_permission_option = Editors and above can view this page
page_loggedin_permission_option = Logged in individuals can view this page
page_public_permission_option = Anyone can view this page
recompute_inferences = Recompute Inferences
revision_info = Revision Information
levels = Levels
release = release
revision = revision
build_date = Build date
dates = Dates
current_date_time = Current date & time:
current_date = Current date:
current_time = Current time:
formatted_date_time = Formatted date-time
apples = Apples
fruit = Fruit
animal = Animal:
book_title = Book Title:
zoo_one = Zoo 1
zoo_two = Zoo 2
berries = Berries:
raw_string_literals = Raw String Literals
containers_do_not_pick_up_changes = Containers do not pick up changes to the value of their elements
list_elements_of = List elements of
contains_no_pears = contains no pears
numbers = Numbers
undo_camelcasing = Uncamelcasing
run_sdb_setup = Run SDB Setup
unrecognized_user = Unrecognized user
no_individual_associated_with_id = For some reason, there is no individual in VIVO that is associated with your Net ID. Perhaps you should contact your VIVO administrator.
#
# site admin templates ( /templates/freemarker/body/siteAdmin )
#
advanced_data_tools = Advanced Data Tools
add_remove_rdf = Add/Remove RDF data
ingest_tools = Ingest tools
rdf_export = RDF export
sparql_query = SPARQL query
sparql_query_builder = SPARQL query builder
dump_restore = Dump/Restore application
display_options = Display Options
asserted_class_hierarchy = Asserted Class Hierarchy
inferred_class_hierarchy = Inferred Class Hierarchy
all_classes = All Classes
classes_by_classgroup = Classes by Class Group
add_new_classes = Add New Class
add_new_group = Add New Group
hide_show_subclasses = hide/show subclasses
hide_subclasses = hide subclasses
expand_all = expand all
data_input = Data Input
add_individual_of_class = Add individual of this class
create_classgroup = Create a class group
please_create = Please create
a_classgroup = a class group
associate_classes_with_group = and associate classes with the group created.
site_maintenance = Site Maintenance
rebuild_search_index = Rebuild search index
rebuild_vis_cache = Rebuild visualization cache
recompute_inferences_mixed_caps = Recompute inferences
site_administration = Site Administration
add_property_group = Add new property group
hide_show_properties = hide/show properties
hide_properties = hide properties
property_hierarchy = Property Hierarchy
all_x_properties = All {0} Properties
property_groups = Property groups
add_new = Add new
object = object
data = data
property = property
ontology_editor = Ontology Editor
cause = Cause:
ontology_list = Ontology list
class_management = Class Management
class_hierarchy = Class hierarchy
class_groups = Class groups
property_management = Property Management
object_property_hierarchy = Object property hierarchy
data_property_hierarchy = Data property hierarchy
site_config = Site Configuration
internal_class_i_capped = Institutional internal class
manage_profile_editing = Manage profile editing
page_management = Page management
menu_ordering_mixed_caps = Menu ordering
restrict_logins_mixed_caps = Restrict logins
site_information = Site information
user_accounts = User accounts
activate_developer_panel = Activate developer panel
activate_developer_panel_mixed_caps = Activate developer panel
#
# search controller ( PagedSearchController.java )
#
error_in_search_request = The search request contained errors.
enter_search_term = Please enter a search term.
invalid_search_term = Search term was invalid
paging_link_more = more...
no_matching_results = No matching results.
search_failed = Search failed.
search_term_error_near = The search term had an error near
search_for = Search for ''{0}''
#
# search templates ( /templates/freemarker/body/search )
#
search_results_for = Search results for
limited_to_type = limited to type
search_help = search help
not_expected_results = Not the results you expected?
display_only = Display Only
class_group_link = class group link
limit = Limit
limit_to = Limit to
class_link = class link
previous = Previous
page_link = page link
next_capitalized = Next
#
# shortview templates ( /templates/freemarker/body/partials/shortview )
#
view_profile_page_for = View the profile page for
#
# menupage templates ( /templates/freemarker/body/partials/menupage )
#
browse_page_javascript_one = This browse page requires javascript, but your browser is set to disable javascript. Either enable javascript or use the
browse_page_javascript_two = to browse for information.
index_page = index page
browse_all_in_class = Browse all individuals in this class
select_all = select all
all = all
browse_all_starts_with = Browse all individuals whose name starts with {0}
browse_all_public_content = You can browse all of the public content currently in the system using the
browse_all_content = browse all content
#
# partial templates ( /templates/freemarker/body/partials )
#
no_content_create_groups_classes = There is currently no content in the system, or you need to create class groups and assign your classes to them.
browse_capitalized = Browse
browse_by = Browse by
#
# partial account templates ( /templates/freemarker/body/partials/accounts )
#
delete_button = Delete
accounts = accounts
accounts_per_page = accounts per page
update_button = Update
#
# pagemanagement templates ( /templates/freemarker/body/pagemanagement )
#
title_capitalized = Title
type_capitalized = Type
uri_not_defined = URI for page not defined
page_uri = page URI
no_pages_defined = There are no pages defined yet.
add_page = Add Page
custom_template = Custom Template
menu_page = Menu Page
controls = Controls
listed_page_title = listed page title
untitled = -untitled-
delete_page = delete this page
view_profile_for_page = view the individual profile for this page
menu_orering = Menu Ordering
use_capitalized = Use
to_order_menu_items = to set the order of menu items.
#
# menupage templates ( /templates/freemarker/body/menupage )
#
page_not_configured = This page is not yet configured.
implement_capitalized = Implement
a_link = a link
configure_page_if_permissable = to configure this page if the user has permission.
no_html_specified = No HTML specified.
page_text = page text
sparql_query_results = Sparql Query Results
no_results_returned = No results were returned.
search_individual_results = Search Class Individuals
select_vclass_uri = Select VClass
#
# manage proxies templates ( /templates/freemarker/body/manageproxies )
#
operation_successful = The operation was successful.
operation_unsuccessful = The operation was unsuccessful. Full details can be found in the system log.
relate_editors_profiles = Relate profile editors and profiles
info_icon = info icon
profile_editing_title = The editors you select on the left hand side will have the ability to edit the VIVO profiles you select on the right hand side. You can select multiple editors and multiple profiles, but you must select a minimum of 1 each.
select_editors = Select editors
select_last_name = Select an existing last name
processing_indicator = processing time indicator
type_more_chars = type more character
select_profiles = Select profiles
profile_editors = Profile editors
search_button = Search
view_profile_editors = View all profile editors
delete_profile_editor = Delete profile editor
add_profile = Add profile
selected_profiles = Selected profiles
save_profile_changes = Save changes to profiles
#
# page partials templates ( /templates/freemarker/page/partials )
#
copyright = copyright
all_rights_reserved = All Rights Reserved.
terms_of_use = Terms of Use
site_name = site name
end_your_Session = End your session
log_out = Log out
manage_site = Manage this site
site_admin = Site Admin
more_details_about_site = More details about this site
about = About
contact_us = Contact Us
send_feedback_questions = Send us your feedback or ask a question
visit_project_website = Visit the national project web site
support = Support
view_content_index = View an outline of the content in this site
index = Index
search_form = Search form
select_locale = select locale
language_selection_failed = There was a problem in the system. Your language choice was rejected.
menu_item = menu item
version = Version
#
# widget templates ( /templates/freemarker/widgets )
#
individual_name = individual name
vclassAlpha_not_implemented = vclassAlpha is not yet implemented.
test_for_logged_in_users = This is the test widget for logged-in users.
test_for_nonlogged_in_users = This is the test widget for non-logged-in users.
login_status = Login status:
alert_icon = Alert Icon
javascript_require_to_edit = In order to edit content, you'll need to enable JavaScript.
javascript_instructions = java script instructions
to_enable_javascript = Here are the instructions for enabling JavaScript in your web browser
external_auth_name = external authentication name
external_login_text = Log in using BearCat Shibboleth
account = account
change_password_to_login = Change Password to Log in
new_password_capitalized = New Password
confirm_password_capitalized = Confirm Password
already_logged_in = You are already logged in.
#
# lib templates ( /templates/freemarker/lib )
#
statistics = Statistics
manage_list_of = Manage list of
manage = manage
add = add
entry = entry
edit_entry = edit this entry
delete_entry = delete this entry
click_to_view_larger = click to view larger image
photo = Photo
no_image = no image
placeholder_image = placeholder image
manage_labels = manage labels
manage_list_of_labels = manage list of labels
view_list_of_labels = view list of labels
view = view
add_label = Add Label
add_label_for_language = Language
unsupported_ie_version = This form is not supported in versions of Internet Explorer below version 8. Please upgrade your browser, or switch to another browser, such as FireFox.
#
# edit templates ( /templates/freemarker/edit and edit/forms )
#
edit_capitalized = Edit
add_capitalized = Add
create_entry = Create Entry
select_existing_collaborator = Select an existing Collaborator for {0}
selected = Selected
change_selection = change selection
there_are_no_entries_for_selection = There are no entries in the system from which to select.
the_range_class_does_not_exist= The range class for this property does not exist in the system.
editing_prohibited = This property is currently configured to prohibit editing.
confirm_entry_deletion_from = Are you sure you want to delete the following entry from
edit_date_time_value = Edit Date/Time Value
create_date_time_value = Create Date/Time Value
date_time_value_for = date time value for
start_interval_must_precede_end_earlier = The Start interval must be earlier than the End interval.
end_interval_must_follow_start_interval = The End interval must be later than the Start interval.
start_capitalized = Start
end_capitalized = End
create_capitalized = Create
delete_entry_capitalized = Delete this entry?
add_new_of_type = Add a new item of this type
create_new_entry = Please create a new entry.
no_appropriate_entry = If you don't find the appropriate entry on the selection list above
return_to_individual = Return to Individual Page
remove_menu_item = Remove menu item
confirm_menu_item_delete = Are you sure you want to remove
remove_capitalized = Remove
pretty_url = Pretty URL
start_with_leading_slash = Must begin with a leading forward slash: / (e.g., /people)
default = Default
custom_template_mixed_caps = Custom template
change_content_type = Change content type
select_page_content_type = Select content type for the associated page
select_content_display = Select content to display
all_capitalized = All
template_capitalized = Template
selected_page_content_type = Selected content type for the associated page
create_new = Create a new
enter_value_name_field = Please enter a value in the name field.
class_group_all_caps = Class Group
save_this_content = Save this content
enter_fixed_html_here = Enter fixed HTML here
query_model = Query Model
variable_name_all_caps = Variable Name
enter_sparql_query_here = Enter SPARQL query here
add_new_page = Add New Page
save_new_page = Save new page
edit_page = Edit {0} Page
content_type = Content Type
select_type = Select a type
browse_class_group = Browse Class Group
fixed_html = Fixed HTML
add_types = Add one or more types
begin_with_slash_no_example = Must begin with a leading forward slash: /
slash_example = (e.g., /people)
custom_template_requiring_content = Custom template requiring content
custom_template_containing_content = Custom template containing all content
a_menu_page = This is a menu page
menu_item_name = Menu Item Name
if_blank_page_title_used = If left blank, the page title will be used.
multiple_content_default_template_error = With multiple content types, you must specify a custom template.
label = label
no_classes_to_select = There are no Classes in the system from which to select.
#
# vitro theme templates ( /themes/vitro/templates )
#
powered_by = Powered by
javascript_ie_alert_text = This site uses HTML elements that are not recognized by Internet Explorer 8 and below in the absence of JavaScript. As a result, the site will not be rendered appropriately. To correct this, please either enable JavaScript, upgrade to Internet Explorer 9, or use another browser.
what_is_vitro = What is VITRO?
vitro_description = Vitro is a general-purpose web-based ontology and instance editor with customizable public browsing. Vitro is a Java web application that runs in a Tomcat servlet container.
with_vitro = With Vitro, you can:
vitro_bullet_one = Create or load ontologies in OWL format
vitro_bullet_two = Edit instances and relationships
vitro_bullet_three = Build a public web site to display your data
vitro_bullet_four = Search your data
search_vitro = Search VITRO
filter_search = filter search
#
# custom form javascript variables ( /templates/freemarker/edit/js)
#
select_an_existing = Select an existing
or_create_new_one = or create a new one.
sunday = Sunday
monday = Monday
tuesday = Tuesday
wednesday = Wednesday
thursday = Thursday
friday = Friday
saturday = Saturday
january = January
february = February
march = March
april = April
may = May
june = June
july = July
august = August
september = September
october = October
november = November
december = December
#
# miscellaneous javascript variables ( webapp/web/js)
#
select_editor_and_profile = You must select a minimum of 1 editor and profile.
display_more_ellipsis = ... more
show_more_content = show more content
display_less = less
browse_all = Browse all
content = content
please_format_email = Please format your e-mail address as:
or_enter_valid_address = or enter another complete and valid email address.
share_profile_uri = share the URI for this profile
view_profile_in_rdf = view profile in RDF format
close = close
error_processing_labels = Error processing request: the unchecked labels could not be deleted.
drag_drop_to_reorder_menus = Drag and drop to reorder menu items
reordering_menus_failed = Reordering of menu items failed.
page = page
view_page = View page
of_the_results = of the results
there_are_no = There are no
individuals_names_starting_with = individuals whose name starts with
try_another_letter = Please try another letter or browse all.
individuals_in_system = individuals in the system.
select_another_class = Please select another class from the list.
supply_name = You must supply a title
supply_url = You must supply a pretty URL
start_url_with_slash = The pretty URL must begin with a leading forward slash
supply_template = You must supply a template
supply_content_type = You must supply a content type
select_content_type = You must select content to be included on the page
delete = delete
map_processor_error = An error has occurred and the map of processors for this content is missing. Please contact the administrator
code_processing_error = An error has occurred and the code for processing this content is missing a component. Please contact the administrator.
supply_class_group = You must supply a class group.
select_classes_to_display = You must select the classes to display.
select_class_for_search = You must select a class to display its individuals.
supply_variable_name = You must supply a variable to save HTML content.
apostrophe_not_allowed = The variable name should not have an apostrophe.
double_quote_note_allowed = The variable name should not have a double quote.
supply_html = You must supply some HTML or text.
supply_query_variable = You must supply a variable to save query results.
supply_sparql_query = You must supply a Sparql query.
confirm_page_deletion = Are you sure you wish to delete this page:
show_subclasses = show subclasses
ontology_capitalized = Ontology
subclasses_capitalized = Subclasses
collapse_all = collapse all
classes_capitalized = Classes
display_rank = Display Rank
show_properties = show properties
local_name = Local Name
group_capitalized = Group
domain_class = Domain Class
range_class = Range Class
range_data_type = Range Data Type
sub_properties = Subproperties
subproperty = subproperty
manage_labels_for = Manage Labels for
manage_labels_capitalized = Manage Labels
manage_labels_intro = In the case where multiple labels exist in the same language, please use the remove link to delete the labels you do not want displayed on the profile page for a given language.
processing_icon = processing
selection_in_process = Your selection is being processed.
view_labels_capitalized = View Labels
view_labels_for = View Labels for
select_an_existing_document = Select an existing document
datetime_year_required = Date/time intervals must begin with a year. Enter either a Start Year, an End Year or both.
select_a_language = Select a language
base_property_capitalized = Base Property
faux_property_capitalized = Faux Property
faux_property_listing = Faux Property Listing
faux_property_by_base = faux properties by base property
faux_property_alpha = faux properties alphabetically
no_class_restrictions=There are no classes with a restriction on this property.
invalid_format=Invalid format
four_digit_year=Invalid entry. Please enter a 4-digit Year.
year_numeric=Invalid entry. The Year must be numeric.
year_month_day=Invalid entry. Please enter a Year, Month and Day.
minimum_ymd=Invalid entry. Please enter at least a Year, Month and Day.
minimum_hour=Invalid entry. Please specify at least an Hour.
year_month=Invalid entry. Please enter a Year and Month.
decimal_only=Invalid entry. A decimal point is allowed, but thousands-separators are not.
whole_number=Invalid entry. Enter a whole number with no decimal point or thousands-separators.

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 470 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 996 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 515 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 830 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 383 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 442 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 431 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 604 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 481 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 B

Some files were not shown because too many files have changed in this diff Show more