2007-11-22 05:21:17 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<xsl:stylesheet version="1.0"
|
2008-02-14 22:23:25 +00:00
|
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
|
|
xmlns:cc="http://web.resource.org/cc/"
|
2008-04-29 13:29:53 +00:00
|
|
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
2008-02-14 22:23:25 +00:00
|
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
2008-04-29 13:29:53 +00:00
|
|
|
xmlns:xforms="http://www.w3.org/2002/xforms"
|
|
|
|
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2007-11-22 05:21:17 +00:00
|
|
|
>
|
|
|
|
<xsl:template name="uploadform">
|
2008-02-14 22:23:25 +00:00
|
|
|
<div class="uploadform">
|
|
|
|
|
2008-04-29 13:29:53 +00:00
|
|
|
<form method="post">
|
|
|
|
<xsl:for-each select="/page/xforms:instance/*/*">
|
|
|
|
<xsl:choose>
|
|
|
|
|
|
|
|
<xsl:when test="@xsi:type='xsd:normalizedString'">
|
|
|
|
<input type="text">
|
|
|
|
<xsl:attribute name="value">
|
|
|
|
<xsl:value-of select="name()"/>
|
|
|
|
</xsl:attribute>
|
|
|
|
</input>
|
|
|
|
</xsl:when>
|
|
|
|
|
|
|
|
<xsl:when test="@xsi:type='xsd:string'">
|
|
|
|
<textarea>
|
|
|
|
<xsl:value-of select="name()"/>
|
|
|
|
</textarea>
|
|
|
|
</xsl:when>
|
|
|
|
|
|
|
|
<xsl:when test="@xsi:type='xsd:gDay'">
|
|
|
|
<select>
|
|
|
|
<option>
|
|
|
|
<xsl:value-of select="name()"/>
|
|
|
|
</option>
|
|
|
|
<xsl:call-template name="for-loop">
|
|
|
|
<xsl:with-param name="start">1</xsl:with-param>
|
|
|
|
<xsl:with-param name="end">31</xsl:with-param>
|
|
|
|
<xsl:with-param name="element">option</xsl:with-param>
|
|
|
|
</xsl:call-template>
|
|
|
|
</select>
|
|
|
|
</xsl:when>
|
|
|
|
|
|
|
|
<xsl:when test="@xsi:type='xsd:gMonth'">
|
|
|
|
<select>
|
|
|
|
<option>
|
|
|
|
<xsl:value-of select="name()"/>
|
|
|
|
</option>
|
|
|
|
<xsl:call-template name="for-loop">
|
|
|
|
<xsl:with-param name="start">1</xsl:with-param>
|
|
|
|
<xsl:with-param name="end">12</xsl:with-param>
|
|
|
|
<xsl:with-param name="element">option</xsl:with-param>
|
|
|
|
</xsl:call-template>
|
|
|
|
</select>
|
|
|
|
</xsl:when>
|
|
|
|
|
|
|
|
<xsl:when test="@xsi:type='xsd:gYear'">
|
|
|
|
<select>
|
|
|
|
<option>
|
|
|
|
<xsl:value-of select="name()"/>
|
|
|
|
</option>
|
|
|
|
<xsl:call-template name="for-loop">
|
|
|
|
<xsl:with-param name="start">1890</xsl:with-param>
|
|
|
|
<xsl:with-param name="end">2008</xsl:with-param>
|
|
|
|
<xsl:with-param name="element">option</xsl:with-param>
|
|
|
|
</xsl:call-template>
|
|
|
|
</select>
|
|
|
|
</xsl:when>
|
|
|
|
|
|
|
|
<xsl:when test="@xsi:type='xsd:language'">
|
|
|
|
<select>
|
|
|
|
<option>
|
|
|
|
<xsl:value-of select="name()"/>
|
|
|
|
</option>
|
|
|
|
|
|
|
|
<xsl:variable name="language" select="//@locale" />
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:for-each select="$language_strings">
|
|
|
|
|
|
|
|
<option>
|
|
|
|
|
|
|
|
<xsl:attribute name="value">
|
|
|
|
<xsl:value-of select="short" />
|
|
|
|
</xsl:attribute>
|
|
|
|
<!--
|
|
|
|
<xsl:if test="$short=$language">
|
|
|
|
<xsl:attribute name="selected">selected</xsl:attribute>
|
|
|
|
</xsl:if>
|
|
|
|
-->
|
|
|
|
<xsl:value-of select="name[@lang='en']" /><!-- language hardcoded to en - this will be solved through simple if/else -->
|
|
|
|
<xsl:value-of select="name[@lang=$language]" />
|
|
|
|
<xsl:value-of select="$language" /><!-- debug debug debug -->
|
|
|
|
</option>
|
|
|
|
|
|
|
|
</xsl:for-each>
|
|
|
|
|
|
|
|
</select>
|
|
|
|
</xsl:when>
|
|
|
|
|
|
|
|
</xsl:choose>
|
|
|
|
<br />
|
|
|
|
</xsl:for-each>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
information below this line won't match anything anytime soon.
|
|
|
|
this code will be removed in furute revisions but is kept for reference reasons.
|
|
|
|
-->
|
|
|
|
|
2008-02-14 22:23:25 +00:00
|
|
|
<xsl:choose>
|
|
|
|
|
|
|
|
<xsl:when test="//uploadform/@page=1">
|
|
|
|
|
2008-04-20 00:37:59 +00:00
|
|
|
<h1>
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='title_page_1']" />
|
2008-04-20 00:37:59 +00:00
|
|
|
</h1>
|
2008-02-14 22:23:25 +00:00
|
|
|
<br />
|
|
|
|
|
|
|
|
<span class="instruction">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='instruction_page_1']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</span>
|
|
|
|
<br />
|
|
|
|
|
|
|
|
<form method="post">
|
|
|
|
|
|
|
|
<xsl:attribute name="action">
|
|
|
|
<xsl:value-of select="$site_strings[@id='path_upload']" />
|
|
|
|
</xsl:attribute>
|
|
|
|
|
|
|
|
<fieldset>
|
|
|
|
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='instruction_title']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
<br />
|
|
|
|
|
2008-04-20 23:08:07 +00:00
|
|
|
<input name="DC.Title" type="text">
|
2008-02-14 22:23:25 +00:00
|
|
|
<xsl:attribute name="value">
|
|
|
|
<xsl:value-of select="//uploadform/@DC.Title" />
|
|
|
|
</xsl:attribute>
|
|
|
|
</input>
|
|
|
|
<br />
|
|
|
|
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='instruction_subject']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
<br />
|
|
|
|
|
2008-04-20 23:08:07 +00:00
|
|
|
<input name="DC.Subject" type="text">
|
2008-02-14 22:23:25 +00:00
|
|
|
<xsl:attribute name="value">
|
|
|
|
<xsl:value-of select="//uploadform/@DC.Subject" />
|
|
|
|
</xsl:attribute>
|
|
|
|
</input>
|
|
|
|
<br />
|
|
|
|
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='instruction_description']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
<br />
|
|
|
|
|
2008-04-20 23:08:07 +00:00
|
|
|
<textarea name="DC.Description">
|
2008-02-14 22:23:25 +00:00
|
|
|
<xsl:value-of select="//uploadform/@DC.Description" />
|
|
|
|
</textarea>
|
|
|
|
<br />
|
|
|
|
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='instruction_coverage']" />
|
2008-04-20 23:08:07 +00:00
|
|
|
<br />
|
|
|
|
|
|
|
|
<select name="DC.Coverage.day"><!-- DC.Coverage.day is NOT an official qualifier -->
|
|
|
|
<option>
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='unit_day']" />
|
2008-04-20 23:08:07 +00:00
|
|
|
</option>
|
|
|
|
<xsl:call-template name="for-loop">
|
|
|
|
<xsl:with-param name="start">1</xsl:with-param>
|
|
|
|
<xsl:with-param name="end">32</xsl:with-param>
|
|
|
|
<xsl:with-param name="element">option</xsl:with-param>
|
|
|
|
</xsl:call-template>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<select name="DC.Coverage.month"><!-- DC.Coverage.month is NOT an official qualifier -->
|
|
|
|
<option>
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='unit_month']" />
|
2008-04-20 23:08:07 +00:00
|
|
|
</option>
|
|
|
|
<xsl:call-template name="for-loop">
|
|
|
|
<xsl:with-param name="start">1</xsl:with-param>
|
|
|
|
<xsl:with-param name="end">12</xsl:with-param>
|
|
|
|
<xsl:with-param name="element">option</xsl:with-param>
|
|
|
|
</xsl:call-template>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<select name="DC.Coverage.year"><!-- DC.Coverage.year is NOT an official qualifier -->
|
|
|
|
<option>
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='unit_year']" />
|
2008-04-20 23:08:07 +00:00
|
|
|
</option>
|
|
|
|
<xsl:call-template name="for-loop">
|
|
|
|
<xsl:with-param name="start">1890</xsl:with-param><!-- Monkeyshines, No. 1 -->
|
|
|
|
<xsl:with-param name="end">2008</xsl:with-param><!-- present day, present time -->
|
|
|
|
<xsl:with-param name="element">option</xsl:with-param>
|
|
|
|
</xsl:call-template>
|
|
|
|
</select>
|
|
|
|
<br />
|
|
|
|
|
|
|
|
<input name="DC.Coverage.placeName" type="text" size="30">
|
|
|
|
<xsl:attribute name="value">
|
|
|
|
<xsl:value-of select="//uploadform/@DC.Coverage.placeName" />
|
|
|
|
</xsl:attribute>
|
|
|
|
</input>
|
|
|
|
<br />
|
|
|
|
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='instruction_language']" />
|
2008-04-20 23:08:07 +00:00
|
|
|
<br />
|
|
|
|
|
|
|
|
<!-- one cannot access DC.Language from inside the for-each... -->
|
2008-04-20 00:37:59 +00:00
|
|
|
<xsl:variable name="language" select="//@locale" />
|
|
|
|
<!--
|
|
|
|
<xsl:variable name="language" select="//uploadform/@DC.Language" />
|
|
|
|
<option>
|
|
|
|
<xsl:if test="not($language)">
|
|
|
|
<xsl:attribute name="selected">selected</xsl:attribute>
|
|
|
|
</xsl:if>
|
|
|
|
<xsl:attribute name="value"></xsl:attribute>
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='instruction_language_choose']" />
|
2008-04-20 00:37:59 +00:00
|
|
|
</option>
|
|
|
|
-->
|
|
|
|
<select name="DC.Language" size="1">
|
|
|
|
|
|
|
|
<xsl:for-each select="$language_strings">
|
|
|
|
|
|
|
|
<option>
|
|
|
|
|
|
|
|
<xsl:attribute name="value">
|
|
|
|
<xsl:value-of select="short" />
|
|
|
|
</xsl:attribute>
|
|
|
|
<!--
|
|
|
|
<xsl:if test="$short=$language">
|
|
|
|
<xsl:attribute name="selected">selected</xsl:attribute>
|
|
|
|
</xsl:if>
|
|
|
|
-->
|
|
|
|
<xsl:value-of select="name[@lang='en']" /><!-- language hardcoded to en - this will be solved through simple if/else -->
|
|
|
|
<xsl:value-of select="name[@lang=$language]" />
|
|
|
|
<xsl:value-of select="$language" /><!-- debug debug debug -->
|
|
|
|
</option>
|
|
|
|
|
|
|
|
</xsl:for-each>
|
|
|
|
|
|
|
|
</select>
|
|
|
|
<br />
|
|
|
|
|
2008-04-20 23:08:07 +00:00
|
|
|
<button type="submit" name="2">
|
2008-02-14 22:23:25 +00:00
|
|
|
<xsl:attribute name="value">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='button_next_page']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</xsl:attribute>
|
2008-04-20 23:08:07 +00:00
|
|
|
<img src="/images/tango/32x32/actions/go-next.png">
|
|
|
|
<xsl:attribute name="alt">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='button_next_page']" />
|
2008-04-20 23:08:07 +00:00
|
|
|
</xsl:attribute>
|
|
|
|
</img>
|
|
|
|
</button>
|
2008-02-14 22:23:25 +00:00
|
|
|
<br />
|
|
|
|
|
|
|
|
<span class="protip">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='this_is_page_1']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</span>
|
|
|
|
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</xsl:when>
|
2008-04-20 00:37:59 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
visual blockade between section that is being worked on (↑↑) and those that isn't (↓↓)
|
|
|
|
-->
|
|
|
|
|
2008-02-14 22:23:25 +00:00
|
|
|
<xsl:when test="//uploadform/@page=2">
|
|
|
|
|
|
|
|
<span class="heading">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='title_page_2']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</span>
|
|
|
|
<br />
|
|
|
|
|
|
|
|
<span class="instruction">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='instruction_page_2']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</span>
|
|
|
|
|
|
|
|
<form method="post">
|
|
|
|
|
|
|
|
<xsl:attribute name="action">
|
|
|
|
<xsl:value-of select="$site_strings[@id='path_upload']" />
|
|
|
|
</xsl:attribute>
|
|
|
|
|
|
|
|
<fieldset>
|
|
|
|
|
|
|
|
<input type="submit" name="3">
|
|
|
|
<xsl:attribute name="value">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='button_next_page']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</xsl:attribute>
|
|
|
|
</input>
|
|
|
|
<br />
|
|
|
|
|
|
|
|
<span class="protip">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='this_is_page_2']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</span>
|
|
|
|
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
|
2008-03-24 16:04:46 +00:00
|
|
|
<xsl:call-template name="results-listing"/>
|
2008-02-14 22:23:25 +00:00
|
|
|
|
|
|
|
</xsl:when>
|
|
|
|
|
|
|
|
<xsl:when test="//uploadform/@page=3">
|
|
|
|
|
|
|
|
<span class="heading">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='title_page_3']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</span>
|
|
|
|
<br />
|
|
|
|
|
|
|
|
<span class="instruction">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='instruction_page_3']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</span>
|
|
|
|
|
|
|
|
<form method="post">
|
|
|
|
|
|
|
|
<xsl:attribute name="action">
|
|
|
|
<xsl:value-of select="$site_strings[@id='path_upload']" />
|
|
|
|
</xsl:attribute>
|
|
|
|
|
|
|
|
<fieldset>
|
|
|
|
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='instruction_creator']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
<br />
|
|
|
|
|
|
|
|
<input name="DC.Creator" type="text" size="30">
|
|
|
|
<xsl:attribute name="value">
|
|
|
|
<xsl:value-of select="//uploadform/@DC.Creator" />
|
|
|
|
</xsl:attribute>
|
|
|
|
</input>
|
|
|
|
<br />
|
|
|
|
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='instruction_source']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
<br />
|
|
|
|
|
|
|
|
<input name="DC.Source" type="text" size="30">
|
|
|
|
<xsl:attribute name="value">
|
|
|
|
<xsl:value-of select="//uploadform/@DC.Source" />
|
|
|
|
</xsl:attribute>
|
|
|
|
</input>
|
|
|
|
<br />
|
|
|
|
|
|
|
|
<input type="submit" name="4">
|
|
|
|
<xsl:attribute name="value">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='button_next_page']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</xsl:attribute>
|
|
|
|
</input>
|
|
|
|
<br />
|
|
|
|
<span class="protip">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='this_is_page_3']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</span>
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
</xsl:when>
|
|
|
|
|
|
|
|
<xsl:when test="//uploadform/@page=4">
|
|
|
|
<span class="heading">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='title_page_4']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</span>
|
|
|
|
<br />
|
|
|
|
<span class="instruction">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='instruction_page_4']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</span>
|
|
|
|
<form method="post">
|
|
|
|
<xsl:attribute name="action">
|
|
|
|
<xsl:value-of select="$site_strings[@id='path_upload']" />
|
|
|
|
</xsl:attribute>
|
2008-04-20 23:08:07 +00:00
|
|
|
|
2008-02-14 22:23:25 +00:00
|
|
|
<fieldset>
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='instruction_rights']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
<br />
|
|
|
|
<input name="DC.Rights" type="text" size="30">
|
|
|
|
<xsl:attribute name="value">
|
|
|
|
<xsl:value-of select="//uploadform/@DC.Rights" />
|
|
|
|
</xsl:attribute>
|
|
|
|
</input>
|
|
|
|
<br />
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='instruction_license']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
<br />
|
|
|
|
<input name="DC.License" type="text" size="30">
|
|
|
|
<xsl:attribute name="value">
|
|
|
|
<xsl:value-of select="//uploadform/@DC.License" />
|
|
|
|
</xsl:attribute>
|
|
|
|
</input>
|
|
|
|
<br />
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='instruction_license_cc']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
<br />
|
|
|
|
|
|
|
|
<div class="cc-license-chooser">
|
|
|
|
|
|
|
|
<img src="./images/cc/cc-remix.png" />
|
|
|
|
<input type="radio" name="modification" value="remix">
|
|
|
|
<xsl:if test="//uploadform/@remix='true'">
|
|
|
|
<xsl:attribute name="checked">
|
|
|
|
checked
|
|
|
|
</xsl:attribute>
|
|
|
|
</xsl:if>
|
|
|
|
</input>
|
|
|
|
<br />
|
|
|
|
<span class="protip">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='instruction_license_cc_remix']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</span>
|
|
|
|
<br />
|
|
|
|
|
|
|
|
<img src="./images/cc/cc-sharealike.png" />
|
|
|
|
<input type="radio" name="modification" value="sharealike">
|
|
|
|
<xsl:if test="//uploadform/@sharealike='true'">
|
|
|
|
<xsl:attribute name="checked">
|
|
|
|
checked
|
|
|
|
</xsl:attribute>
|
|
|
|
</xsl:if>
|
|
|
|
</input>
|
|
|
|
<br />
|
|
|
|
<span class="protip">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='instruction_license_cc_sharealike']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</span>
|
|
|
|
<br />
|
|
|
|
|
|
|
|
<img src="./images/cc/cc-noderivatives.png" />
|
|
|
|
<input type="radio" name="modification" value="noderivatives">
|
|
|
|
<xsl:if test="//uploadform/@noderivatives='true'">
|
|
|
|
<xsl:attribute name="checked">
|
|
|
|
checked
|
|
|
|
</xsl:attribute>
|
|
|
|
</xsl:if>
|
|
|
|
</input>
|
|
|
|
<br />
|
|
|
|
<span class="protip">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='instruction_license_cc_noderivatives']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</span>
|
|
|
|
<br />
|
|
|
|
|
|
|
|
<img src="./images/cc/cc-noncommercial.png" />
|
|
|
|
<input type="checkbox" name="noncommercial" value="CommercialUse">
|
|
|
|
<xsl:if test="//uploadform/@noncommercial='true'">
|
|
|
|
<xsl:attribute name="checked">
|
|
|
|
checked
|
|
|
|
</xsl:attribute>
|
|
|
|
</xsl:if>
|
|
|
|
</input>
|
|
|
|
<br />
|
|
|
|
<span class="protip">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='instruction_license_cc_noncommercial']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<input type="submit" name="5">
|
|
|
|
<xsl:attribute name="value">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='button_next_page']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</xsl:attribute>
|
|
|
|
</input>
|
|
|
|
<br />
|
|
|
|
<span class="protip">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='this_is_page_4']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</span>
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
</xsl:when>
|
|
|
|
|
|
|
|
<xsl:when test="//uploadform/@page=5">
|
|
|
|
<span class="heading">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='title_page_5']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</span>
|
|
|
|
<br />
|
|
|
|
<span class="instruction">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='instruction_page_5']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</span>
|
|
|
|
<form method="post">
|
|
|
|
<xsl:attribute name="action">
|
|
|
|
<xsl:value-of select="$site_strings[@id='path_upload']" />
|
|
|
|
</xsl:attribute>
|
2008-04-20 23:08:07 +00:00
|
|
|
|
2008-02-14 22:23:25 +00:00
|
|
|
<fieldset>
|
|
|
|
|
|
|
|
<table class="metadata-upload">
|
|
|
|
<tr>
|
|
|
|
<td class="metadata-title">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='DC.Title']" />:
|
2008-02-14 22:23:25 +00:00
|
|
|
</td>
|
|
|
|
<td class="metadata-content">
|
|
|
|
<xsl:value-of select="//uploadform/@DC.Title" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="metadata-title">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='DC.Subject']" />:
|
2008-02-14 22:23:25 +00:00
|
|
|
</td>
|
|
|
|
<td class="metadata-content">
|
|
|
|
<xsl:value-of select="//uploadform/@DC.Subject" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="metadata-title">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='DC.Description']" />:
|
2008-02-14 22:23:25 +00:00
|
|
|
</td>
|
|
|
|
<td class="metadata-content">
|
|
|
|
<xsl:value-of select="//uploadform/@DC.Description" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<input type="submit" name="1">
|
|
|
|
<xsl:attribute name="value">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='button_page_1']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</xsl:attribute>
|
|
|
|
</input>
|
|
|
|
|
|
|
|
<table class="metadata-upload">
|
|
|
|
<tr>
|
|
|
|
<td class="metadata-title">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='DC.Creator']" />:
|
2008-02-14 22:23:25 +00:00
|
|
|
</td>
|
|
|
|
<td class="metadata-content">
|
|
|
|
<xsl:value-of select="//uploadform/@DC.Creator" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="metadata-title">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='DC.Source']" />:
|
2008-02-14 22:23:25 +00:00
|
|
|
</td>
|
|
|
|
<td class="metadata-content">
|
|
|
|
<xsl:value-of select="//uploadform/@DC.Source" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="metadata-title">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='DC.Language']" />:
|
2008-02-14 22:23:25 +00:00
|
|
|
</td>
|
|
|
|
<td class="metadata-content">
|
|
|
|
<xsl:value-of select="//uploadform/@DC.Language" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="metadata-title">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='DC.Coverage']" />:
|
2008-02-14 22:23:25 +00:00
|
|
|
</td>
|
|
|
|
<td class="metadata-content">
|
|
|
|
<xsl:value-of select="//uploadform/@DC.Coverage" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<input type="submit" name="3">
|
|
|
|
<xsl:attribute name="value">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='button_page_3']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</xsl:attribute>
|
|
|
|
</input>
|
|
|
|
|
|
|
|
<table class="metadata-upload">
|
|
|
|
<tr>
|
|
|
|
<td class="metadata-title">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='DC.Rights']" />:
|
2008-02-14 22:23:25 +00:00
|
|
|
</td>
|
|
|
|
<td class="metadata-content">
|
|
|
|
<xsl:value-of select="//uploadform/@DC.Rights" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="metadata-title">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='DC.License']" />:
|
2008-02-14 22:23:25 +00:00
|
|
|
</td>
|
|
|
|
<td class="metadata-content">
|
|
|
|
<xsl:value-of select="//uploadform/@DC.License" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<input type="submit" name="4">
|
|
|
|
<xsl:attribute name="value">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='button_page_4']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</xsl:attribute>
|
|
|
|
</input>
|
|
|
|
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
<form method="post" enctype="multipart/form-data">
|
|
|
|
<xsl:attribute name="action">
|
|
|
|
<xsl:value-of select="$site_strings[@id='path_uploader']" />
|
|
|
|
</xsl:attribute>
|
2008-04-20 23:08:07 +00:00
|
|
|
|
2008-02-14 22:23:25 +00:00
|
|
|
<fieldset>
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='instruction_file']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
<br />
|
|
|
|
<input name="file" type="file" size="13" />
|
|
|
|
<br />
|
|
|
|
<input type="submit">
|
|
|
|
<xsl:attribute name="value">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='button_upload']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</xsl:attribute>
|
|
|
|
</input>
|
|
|
|
<br />
|
|
|
|
<span class="protip">
|
2008-04-27 16:53:38 +00:00
|
|
|
<xsl:value-of select="$lang_strings[@id='this_is_page_5']" />
|
2008-02-14 22:23:25 +00:00
|
|
|
</span>
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
</xsl:when>
|
|
|
|
|
|
|
|
</xsl:choose>
|
|
|
|
</div>
|
2007-11-22 05:21:17 +00:00
|
|
|
|
|
|
|
</xsl:template>
|
|
|
|
|
2008-04-20 23:08:07 +00:00
|
|
|
<xsl:template name="for-loop">
|
|
|
|
<!--
|
|
|
|
this is some nasty recursive shit.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<xsl:param name="start" />
|
|
|
|
<xsl:param name="end" />
|
|
|
|
<xsl:param name="element" />
|
|
|
|
|
|
|
|
<xsl:if test="$start <= $end">
|
|
|
|
<xsl:element name="{$element}">
|
|
|
|
<xsl:value-of select="$start" />
|
|
|
|
</xsl:element>
|
|
|
|
</xsl:if>
|
|
|
|
|
|
|
|
<xsl:if test="$start <= $end">
|
|
|
|
|
|
|
|
<xsl:call-template name="for-loop">
|
2008-04-25 11:42:50 +00:00
|
|
|
|
2008-04-20 23:08:07 +00:00
|
|
|
<xsl:with-param name="start">
|
|
|
|
<xsl:value-of select="$start + 1"/>
|
|
|
|
</xsl:with-param>
|
|
|
|
|
|
|
|
<xsl:with-param name="end">
|
|
|
|
<xsl:value-of select="$end"/>
|
|
|
|
</xsl:with-param>
|
|
|
|
|
|
|
|
<xsl:with-param name="element">
|
|
|
|
<xsl:value-of select="$element"/>
|
|
|
|
</xsl:with-param>
|
|
|
|
|
|
|
|
</xsl:call-template>
|
|
|
|
|
|
|
|
</xsl:if>
|
|
|
|
|
|
|
|
</xsl:template>
|
|
|
|
|
2007-12-11 15:05:33 +00:00
|
|
|
</xsl:stylesheet>
|