changed locale to lang
git-svn-id: http://yolanda.mister-muffin.de/svn@325 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
parent
564050c7e6
commit
0a696bd130
18 changed files with 130 additions and 130 deletions
|
@ -28,8 +28,8 @@ sub get_page_array
|
||||||
|
|
||||||
my $page = XML::LibXML::Element->new( "page" );
|
my $page = XML::LibXML::Element->new( "page" );
|
||||||
|
|
||||||
my ($locale) = $query->http('HTTP_ACCEPT_LANGUAGE') =~ /^([^,]+),.*$/;
|
my ($lang) = $query->http('HTTP_ACCEPT_LANGUAGE') =~ /^[^,]+,([^;]*);/;
|
||||||
$page->setAttribute( "locale", $locale ? $locale : "en_us" );
|
$page->setAttribute( "lang", $lang ? $lang : "en" );
|
||||||
|
|
||||||
$page->setAttribute( "username", $userinfo->{'username'} );
|
$page->setAttribute( "username", $userinfo->{'username'} );
|
||||||
$page->setNamespace("http://www.w3.org/1999/xhtml", "xhtml", 0);
|
$page->setNamespace("http://www.w3.org/1999/xhtml", "xhtml", 0);
|
||||||
|
|
|
@ -15,17 +15,17 @@
|
||||||
omit-xml-declaration="no"
|
omit-xml-declaration="no"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<xsl:variable name="locale">
|
<xsl:variable name="lang">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="document(concat('../locale/', //@locale, '.xml'))">
|
<xsl:when test="document(concat('../lang/', //@lang, '.xml'))">
|
||||||
<xsl:value-of select="//@locale" />
|
<xsl:value-of select="//@lang" />
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>en-us</xsl:otherwise>
|
<xsl:otherwise>en</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
|
|
||||||
<xsl:variable name="site_strings" select="document('../config/frontend.xml')//strings/string" />
|
<xsl:variable name="site_strings" select="document('../config/frontend.xml')//strings/string" />
|
||||||
<xsl:variable name="locale_strings" select="document(concat('../locale/', $locale, '.xml'))//strings/string" />
|
<xsl:variable name="lang_strings" select="document(concat('../lang/', $lang, '.xml'))//strings/string" />
|
||||||
|
|
||||||
<!-- kill xml, opensearch is the same everywhere -->
|
<!-- kill xml, opensearch is the same everywhere -->
|
||||||
<xsl:template match="/">
|
<xsl:template match="/">
|
||||||
|
|
|
@ -15,17 +15,17 @@
|
||||||
omit-xml-declaration="no"
|
omit-xml-declaration="no"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<xsl:variable name="locale">
|
<xsl:variable name="lang">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="document(concat('../locale/', //@locale, '.xml'))">
|
<xsl:when test="document(concat('../lang/', //@lang, '.xml'))">
|
||||||
<xsl:value-of select="//@locale" />
|
<xsl:value-of select="//@lang" />
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>en-us</xsl:otherwise>
|
<xsl:otherwise>en</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
|
|
||||||
<xsl:variable name="site_strings" select="document('../config/frontend.xml')//strings/string" />
|
<xsl:variable name="site_strings" select="document('../config/frontend.xml')//strings/string" />
|
||||||
<xsl:variable name="locale_strings" select="document(concat('../locale/', $locale, '.xml'))//strings/string" />
|
<xsl:variable name="lang_strings" select="document(concat('../lang/', $lang, '.xml'))//strings/string" />
|
||||||
|
|
||||||
<xsl:template match="/">
|
<xsl:template match="/">
|
||||||
<xsl:apply-templates />
|
<xsl:apply-templates />
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<title>
|
<title>
|
||||||
<xsl:value-of select="$site_strings[@id='site_name']" />
|
<xsl:value-of select="$site_strings[@id='site_name']" />
|
||||||
<xsl:value-of select="$locale_strings[@id='rss_separator']" />
|
<xsl:value-of select="$lang_strings[@id='rss_separator']" />
|
||||||
<xsl:value-of select="//results/@query" />
|
<xsl:value-of select="//results/@query" />
|
||||||
</title>
|
</title>
|
||||||
<link>
|
<link>
|
||||||
|
@ -52,9 +52,9 @@
|
||||||
<xsl:value-of select="//results/@query" />&
|
<xsl:value-of select="//results/@query" />&
|
||||||
</link>
|
</link>
|
||||||
<description>
|
<description>
|
||||||
<xsl:value-of select="$locale_strings[@id='rss_description_1']" />
|
<xsl:value-of select="$lang_strings[@id='rss_description_1']" />
|
||||||
<xsl:value-of select="//results/@query" />
|
<xsl:value-of select="//results/@query" />
|
||||||
<xsl:value-of select="$locale_strings[@id='rss_description_2']" />
|
<xsl:value-of select="$lang_strings[@id='rss_description_2']" />
|
||||||
</description>
|
</description>
|
||||||
</channel>
|
</channel>
|
||||||
|
|
||||||
|
|
|
@ -38,18 +38,18 @@
|
||||||
<xsl:include href="./xhtml/xhtml-head.xsl" />
|
<xsl:include href="./xhtml/xhtml-head.xsl" />
|
||||||
|
|
||||||
|
|
||||||
<xsl:variable name="locale">
|
<xsl:variable name="lang">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="document(concat('../locale/', //@locale, '.xml'))">
|
<xsl:when test="document(concat('../lang/', //@lang, '.xml'))">
|
||||||
<xsl:value-of select="//@locale" />
|
<xsl:value-of select="//@lang" />
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>en-us</xsl:otherwise>
|
<xsl:otherwise>en</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
|
|
||||||
<xsl:variable name="site_strings" select="document('../config/frontend.xml')//strings/string" />
|
<xsl:variable name="site_strings" select="document('../config/frontend.xml')//strings/string" />
|
||||||
<xsl:variable name="locale_strings" select="document(concat('../locale/', $locale, '.xml'))//strings/string" />
|
<xsl:variable name="lang_strings" select="document(concat('../lang/', $lang, '.xml'))//strings/string" />
|
||||||
<xsl:variable name="language_strings" select="document('../locale/languages.xml')//languages/lang" />
|
<xsl:variable name="language_strings" select="document('../lang/languages.xml')//languages/lang" />
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
this kills 99% of the processed XML
|
this kills 99% of the processed XML
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of select="//video/rdf:RDF/cc:Work/dc:identifier" />
|
<xsl:value-of select="//video/rdf:RDF/cc:Work/dc:identifier" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:value-of select="$locale_strings[@id='backlink']" />
|
<xsl:value-of select="$lang_strings[@id='backlink']" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of select="$site_strings[@id='path_license']" />
|
<xsl:value-of select="$site_strings[@id='path_license']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:value-of select="$locale_strings[@id='footer_license']" />
|
<xsl:value-of select="$lang_strings[@id='footer_license']" />
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of select="$site_strings[@id='path_source-code']" />
|
<xsl:value-of select="$site_strings[@id='path_source-code']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:value-of select="$locale_strings[@id='footer_source_code']" />
|
<xsl:value-of select="$lang_strings[@id='footer_source_code']" />
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of select="$site_strings[@id='path_report_bug']" />
|
<xsl:value-of select="$site_strings[@id='path_report_bug']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:value-of select="$locale_strings[@id='footer_report_bug']" />
|
<xsl:value-of select="$lang_strings[@id='footer_report_bug']" />
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
@ -42,11 +42,11 @@
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
<br />
|
<br />
|
||||||
<xsl:value-of select="$locale_strings[@id='footer_copyright']" />
|
<xsl:value-of select="$lang_strings[@id='footer_copyright']" />
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<span class="protip">
|
<span class="protip">
|
||||||
<xsl:value-of select="$locale_strings[@id='footer_warranty']" />
|
<xsl:value-of select="$lang_strings[@id='footer_warranty']" />
|
||||||
</span>
|
</span>
|
||||||
<br />
|
<br />
|
||||||
<img alt="AGPL 3 Free Software">
|
<img alt="AGPL 3 Free Software">
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of select="$site_strings[@id='path_register']" />
|
<xsl:value-of select="$site_strings[@id='path_register']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:value-of select="$locale_strings[@id='register']" />
|
<xsl:value-of select="$lang_strings[@id='register']" />
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
<xsl:value-of select="$site_strings[@id='path_login']" />
|
<xsl:value-of select="$site_strings[@id='path_login']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
|
|
||||||
<xsl:value-of select="$locale_strings[@id='login']" />
|
<xsl:value-of select="$lang_strings[@id='login']" />
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
@ -56,12 +56,12 @@
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of select="$site_strings[@id='path_settings']" />
|
<xsl:value-of select="$site_strings[@id='path_settings']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:value-of select="$locale_strings[@id='settings_details']" />
|
<xsl:value-of select="$lang_strings[@id='settings_details']" />
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
<xsl:value-of select="$locale_strings[@id='logged_in_as']" />
|
<xsl:value-of select="$lang_strings[@id='logged_in_as']" />
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a>
|
<a>
|
||||||
|
@ -78,7 +78,7 @@
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of select="$site_strings[@id='path_upload']" />
|
<xsl:value-of select="$site_strings[@id='path_upload']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:value-of select="$locale_strings[@id='header_upload-video']" />
|
<xsl:value-of select="$lang_strings[@id='header_upload-video']" />
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of select="$site_strings[@id='path_settings']" />
|
<xsl:value-of select="$site_strings[@id='path_settings']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:value-of select="$locale_strings[@id='settings_details']" />
|
<xsl:value-of select="$lang_strings[@id='settings_details']" />
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
-->
|
-->
|
||||||
|
@ -98,7 +98,7 @@
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of select="$site_strings[@id='path_logout']" />
|
<xsl:value-of select="$site_strings[@id='path_logout']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:value-of select="$locale_strings[@id='logout']" />
|
<xsl:value-of select="$lang_strings[@id='logout']" />
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
|
@ -20,21 +20,21 @@
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
|
||||||
<label for="user">
|
<label for="user">
|
||||||
<xsl:value-of select="$locale_strings[@id='username_or_openid']" />:
|
<xsl:value-of select="$lang_strings[@id='username_or_openid']" />:
|
||||||
</label>
|
</label>
|
||||||
<br />
|
<br />
|
||||||
<input id="username" name="user" onkeyup="check_openid();" type="text" />
|
<input id="username" name="user" onkeyup="check_openid();" type="text" />
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<label for="pass">
|
<label for="pass">
|
||||||
<xsl:value-of select="$locale_strings[@id='password']" />:
|
<xsl:value-of select="$lang_strings[@id='password']" />:
|
||||||
</label>
|
</label>
|
||||||
<br />
|
<br />
|
||||||
<input id="password" name="pass" type="password" />
|
<input id="password" name="pass" type="password" />
|
||||||
|
|
||||||
<input type="submit" name="login" >
|
<input type="submit" name="login" >
|
||||||
<xsl:attribute name="value">
|
<xsl:attribute name="value">
|
||||||
<xsl:value-of select="$locale_strings[@id='button_login']" />
|
<xsl:value-of select="$lang_strings[@id='button_login']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</input>
|
</input>
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@
|
||||||
{
|
{
|
||||||
password.disabled = true;
|
password.disabled = true;
|
||||||
password.type = 'input';
|
password.type = 'input';
|
||||||
password.value = ']]></xsl:text><xsl:value-of select="$locale_strings[@id='input_password_not_required']" /><xsl:text disable-output-escaping="yes"><![CDATA[';
|
password.value = ']]></xsl:text><xsl:value-of select="$lang_strings[@id='input_password_not_required']" /><xsl:text disable-output-escaping="yes"><![CDATA[';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -91,17 +91,17 @@
|
||||||
<xsl:value-of select="$site_strings[@id='path_login']" />
|
<xsl:value-of select="$site_strings[@id='path_login']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<xsl:value-of select="$locale_strings[@id='username']" />:
|
<xsl:value-of select="$lang_strings[@id='username']" />:
|
||||||
<br />
|
<br />
|
||||||
<input name="user" type="text" size="30" maxlength="30" />
|
<input name="user" type="text" size="30" maxlength="30" />
|
||||||
<br />
|
<br />
|
||||||
<xsl:value-of select="$locale_strings[@id='password']" />:
|
<xsl:value-of select="$lang_strings[@id='password']" />:
|
||||||
<br />
|
<br />
|
||||||
<input name="pass" type="password" size="30" maxlength="30" />
|
<input name="pass" type="password" size="30" maxlength="30" />
|
||||||
<br />
|
<br />
|
||||||
<input type="submit" name="login" >
|
<input type="submit" name="login" >
|
||||||
<xsl:attribute name="value">
|
<xsl:attribute name="value">
|
||||||
<xsl:value-of select="$locale_strings[@id='button_login']" />
|
<xsl:value-of select="$lang_strings[@id='button_login']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</input>
|
</input>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
<span class="message">
|
<span class="message">
|
||||||
<xsl:variable name="messagetext" select="/page/message/@text" />
|
<xsl:variable name="messagetext" select="/page/message/@text" />
|
||||||
<xsl:value-of select="$locale_strings[@id=$messagetext]" />
|
<xsl:value-of select="$lang_strings[@id=$messagetext]" />
|
||||||
|
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
|
|
||||||
|
|
|
@ -15,21 +15,21 @@
|
||||||
<xsl:value-of select="$site_strings[@id='path_register']" />
|
<xsl:value-of select="$site_strings[@id='path_register']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<xsl:value-of select="$locale_strings[@id='username']" />:
|
<xsl:value-of select="$lang_strings[@id='username']" />:
|
||||||
<br />
|
<br />
|
||||||
<input name="user" type="text" size="30" maxlength="30" />
|
<input name="user" type="text" size="30" maxlength="30" />
|
||||||
<br />
|
<br />
|
||||||
<xsl:value-of select="$locale_strings[@id='password']" />:
|
<xsl:value-of select="$lang_strings[@id='password']" />:
|
||||||
<br />
|
<br />
|
||||||
<input name="pass" type="password" size="30" maxlength="30" />
|
<input name="pass" type="password" size="30" maxlength="30" />
|
||||||
<br />
|
<br />
|
||||||
<xsl:value-of select="$locale_strings[@id='password_repeat']" />:
|
<xsl:value-of select="$lang_strings[@id='password_repeat']" />:
|
||||||
<br />
|
<br />
|
||||||
<input name="pass_repeat" type="password" size="30" maxlength="30" />
|
<input name="pass_repeat" type="password" size="30" maxlength="30" />
|
||||||
<br />
|
<br />
|
||||||
<input type="submit" name="register" >
|
<input type="submit" name="register" >
|
||||||
<xsl:attribute name="value">
|
<xsl:attribute name="value">
|
||||||
<xsl:value-of select="$locale_strings[@id='button_register']" />
|
<xsl:value-of select="$lang_strings[@id='button_register']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</input>
|
</input>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
|
@ -12,9 +12,9 @@
|
||||||
<xsl:for-each select="//page/results">
|
<xsl:for-each select="//page/results">
|
||||||
|
|
||||||
<h1>
|
<h1>
|
||||||
<xsl:value-of select="$locale_strings[@id='results_heading_1']" /> 
|
<xsl:value-of select="$lang_strings[@id='results_heading_1']" /> 
|
||||||
<xsl:value-of select="//results/@pagesize * (//results/@currentpage - 1) + 1" /> 
|
<xsl:value-of select="//results/@pagesize * (//results/@currentpage - 1) + 1" /> 
|
||||||
<xsl:value-of select="$locale_strings[@id='results_heading_2']" /> 
|
<xsl:value-of select="$lang_strings[@id='results_heading_2']" /> 
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="(//results/@pagesize * //results/@currentpage) < //results/@resultcount">
|
<xsl:when test="(//results/@pagesize * //results/@currentpage) < //results/@resultcount">
|
||||||
<xsl:value-of select="//results/@pagesize * //results/@currentpage" />
|
<xsl:value-of select="//results/@pagesize * //results/@currentpage" />
|
||||||
|
@ -23,9 +23,9 @@
|
||||||
<xsl:value-of select="//results/@resultcount" />
|
<xsl:value-of select="//results/@resultcount" />
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose> 
|
</xsl:choose> 
|
||||||
<xsl:value-of select="$locale_strings[@id='results_heading_3']" /> 
|
<xsl:value-of select="$lang_strings[@id='results_heading_3']" /> 
|
||||||
<xsl:value-of select="//results/@resultcount" /> 
|
<xsl:value-of select="//results/@resultcount" /> 
|
||||||
<xsl:value-of select="$locale_strings[@id='results_heading_4']" />
|
<xsl:value-of select="$lang_strings[@id='results_heading_4']" />
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<xsl:call-template name="results-listing"/>
|
<xsl:call-template name="results-listing"/>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<label for="query">
|
<label for="query">
|
||||||
<xsl:value-of select="$locale_strings[@id='search']" />:<br />
|
<xsl:value-of select="$lang_strings[@id='search']" />:<br />
|
||||||
</label>
|
</label>
|
||||||
<input type="text" name="query">
|
<input type="text" name="query">
|
||||||
<xsl:attribute name="value">
|
<xsl:attribute name="value">
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
</input>
|
</input>
|
||||||
<input type="submit">
|
<input type="submit">
|
||||||
<xsl:attribute name="value">
|
<xsl:attribute name="value">
|
||||||
<xsl:value-of select="$locale_strings[@id='button_find']" />
|
<xsl:value-of select="$lang_strings[@id='button_find']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</input>
|
</input>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of select="$site_strings[@id='path_query_custom_one']" />
|
<xsl:value-of select="$site_strings[@id='path_query_custom_one']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:value-of select="$locale_strings[@id='search_custom_one']" />
|
<xsl:value-of select="$lang_strings[@id='search_custom_one']" />
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of select="$site_strings[@id='path_query_custom_two']" />
|
<xsl:value-of select="$site_strings[@id='path_query_custom_two']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:value-of select="$locale_strings[@id='search_custom_two']" />
|
<xsl:value-of select="$lang_strings[@id='search_custom_two']" />
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of select="$site_strings[@id='path_query_custom_three']" />
|
<xsl:value-of select="$site_strings[@id='path_query_custom_three']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:value-of select="$locale_strings[@id='search_custom_three']" />
|
<xsl:value-of select="$lang_strings[@id='search_custom_three']" />
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<div class="settingsform">
|
<div class="settingsform">
|
||||||
|
|
||||||
<span class="heading">
|
<span class="heading">
|
||||||
<xsl:value-of select="$locale_strings[@id='settings_heading']" />
|
<xsl:value-of select="$lang_strings[@id='settings_heading']" />
|
||||||
<xsl:value-of select="//page/@username" />
|
<xsl:value-of select="//page/@username" />
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
<xsl:value-of select="$site_strings[@id='path_settings']" />
|
<xsl:value-of select="$site_strings[@id='path_settings']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
|
|
||||||
<xsl:value-of select="$locale_strings[@id='settings_instruction_pagesize']" />
|
<xsl:value-of select="$lang_strings[@id='settings_instruction_pagesize']" />
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<input name="pagesize" type="text" size="7">
|
<input name="pagesize" type="text" size="7">
|
||||||
|
|
|
@ -14,12 +14,12 @@
|
||||||
<xsl:when test="//uploadform/@page=1">
|
<xsl:when test="//uploadform/@page=1">
|
||||||
|
|
||||||
<h1>
|
<h1>
|
||||||
<xsl:value-of select="$locale_strings[@id='title_page_1']" />
|
<xsl:value-of select="$lang_strings[@id='title_page_1']" />
|
||||||
</h1>
|
</h1>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<span class="instruction">
|
<span class="instruction">
|
||||||
<xsl:value-of select="$locale_strings[@id='instruction_page_1']" />
|
<xsl:value-of select="$lang_strings[@id='instruction_page_1']" />
|
||||||
</span>
|
</span>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
|
||||||
<xsl:value-of select="$locale_strings[@id='instruction_title']" />
|
<xsl:value-of select="$lang_strings[@id='instruction_title']" />
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<input name="DC.Title" type="text">
|
<input name="DC.Title" type="text">
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
</input>
|
</input>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<xsl:value-of select="$locale_strings[@id='instruction_subject']" />
|
<xsl:value-of select="$lang_strings[@id='instruction_subject']" />
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<input name="DC.Subject" type="text">
|
<input name="DC.Subject" type="text">
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
</input>
|
</input>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<xsl:value-of select="$locale_strings[@id='instruction_description']" />
|
<xsl:value-of select="$lang_strings[@id='instruction_description']" />
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<textarea name="DC.Description">
|
<textarea name="DC.Description">
|
||||||
|
@ -59,12 +59,12 @@
|
||||||
</textarea>
|
</textarea>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<xsl:value-of select="$locale_strings[@id='instruction_coverage']" />
|
<xsl:value-of select="$lang_strings[@id='instruction_coverage']" />
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<select name="DC.Coverage.day"><!-- DC.Coverage.day is NOT an official qualifier -->
|
<select name="DC.Coverage.day"><!-- DC.Coverage.day is NOT an official qualifier -->
|
||||||
<option>
|
<option>
|
||||||
<xsl:value-of select="$locale_strings[@id='unit_day']" />
|
<xsl:value-of select="$lang_strings[@id='unit_day']" />
|
||||||
</option>
|
</option>
|
||||||
<xsl:call-template name="for-loop">
|
<xsl:call-template name="for-loop">
|
||||||
<xsl:with-param name="start">1</xsl:with-param>
|
<xsl:with-param name="start">1</xsl:with-param>
|
||||||
|
@ -75,7 +75,7 @@
|
||||||
|
|
||||||
<select name="DC.Coverage.month"><!-- DC.Coverage.month is NOT an official qualifier -->
|
<select name="DC.Coverage.month"><!-- DC.Coverage.month is NOT an official qualifier -->
|
||||||
<option>
|
<option>
|
||||||
<xsl:value-of select="$locale_strings[@id='unit_month']" />
|
<xsl:value-of select="$lang_strings[@id='unit_month']" />
|
||||||
</option>
|
</option>
|
||||||
<xsl:call-template name="for-loop">
|
<xsl:call-template name="for-loop">
|
||||||
<xsl:with-param name="start">1</xsl:with-param>
|
<xsl:with-param name="start">1</xsl:with-param>
|
||||||
|
@ -86,7 +86,7 @@
|
||||||
|
|
||||||
<select name="DC.Coverage.year"><!-- DC.Coverage.year is NOT an official qualifier -->
|
<select name="DC.Coverage.year"><!-- DC.Coverage.year is NOT an official qualifier -->
|
||||||
<option>
|
<option>
|
||||||
<xsl:value-of select="$locale_strings[@id='unit_year']" />
|
<xsl:value-of select="$lang_strings[@id='unit_year']" />
|
||||||
</option>
|
</option>
|
||||||
<xsl:call-template name="for-loop">
|
<xsl:call-template name="for-loop">
|
||||||
<xsl:with-param name="start">1890</xsl:with-param><!-- Monkeyshines, No. 1 -->
|
<xsl:with-param name="start">1890</xsl:with-param><!-- Monkeyshines, No. 1 -->
|
||||||
|
@ -103,7 +103,7 @@
|
||||||
</input>
|
</input>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<xsl:value-of select="$locale_strings[@id='instruction_language']" />
|
<xsl:value-of select="$lang_strings[@id='instruction_language']" />
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<!-- one cannot access DC.Language from inside the for-each... -->
|
<!-- one cannot access DC.Language from inside the for-each... -->
|
||||||
|
@ -115,7 +115,7 @@
|
||||||
<xsl:attribute name="selected">selected</xsl:attribute>
|
<xsl:attribute name="selected">selected</xsl:attribute>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<xsl:attribute name="value"></xsl:attribute>
|
<xsl:attribute name="value"></xsl:attribute>
|
||||||
<xsl:value-of select="$locale_strings[@id='instruction_language_choose']" />
|
<xsl:value-of select="$lang_strings[@id='instruction_language_choose']" />
|
||||||
</option>
|
</option>
|
||||||
-->
|
-->
|
||||||
<select name="DC.Language" size="1">
|
<select name="DC.Language" size="1">
|
||||||
|
@ -144,18 +144,18 @@
|
||||||
|
|
||||||
<button type="submit" name="2">
|
<button type="submit" name="2">
|
||||||
<xsl:attribute name="value">
|
<xsl:attribute name="value">
|
||||||
<xsl:value-of select="$locale_strings[@id='button_next_page']" />
|
<xsl:value-of select="$lang_strings[@id='button_next_page']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<img src="/images/tango/32x32/actions/go-next.png">
|
<img src="/images/tango/32x32/actions/go-next.png">
|
||||||
<xsl:attribute name="alt">
|
<xsl:attribute name="alt">
|
||||||
<xsl:value-of select="$locale_strings[@id='button_next_page']" />
|
<xsl:value-of select="$lang_strings[@id='button_next_page']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</img>
|
</img>
|
||||||
</button>
|
</button>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<span class="protip">
|
<span class="protip">
|
||||||
<xsl:value-of select="$locale_strings[@id='this_is_page_1']" />
|
<xsl:value-of select="$lang_strings[@id='this_is_page_1']" />
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
@ -171,12 +171,12 @@
|
||||||
<xsl:when test="//uploadform/@page=2">
|
<xsl:when test="//uploadform/@page=2">
|
||||||
|
|
||||||
<span class="heading">
|
<span class="heading">
|
||||||
<xsl:value-of select="$locale_strings[@id='title_page_2']" />
|
<xsl:value-of select="$lang_strings[@id='title_page_2']" />
|
||||||
</span>
|
</span>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<span class="instruction">
|
<span class="instruction">
|
||||||
<xsl:value-of select="$locale_strings[@id='instruction_page_2']" />
|
<xsl:value-of select="$lang_strings[@id='instruction_page_2']" />
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<form method="post">
|
<form method="post">
|
||||||
|
@ -189,13 +189,13 @@
|
||||||
|
|
||||||
<input type="submit" name="3">
|
<input type="submit" name="3">
|
||||||
<xsl:attribute name="value">
|
<xsl:attribute name="value">
|
||||||
<xsl:value-of select="$locale_strings[@id='button_next_page']" />
|
<xsl:value-of select="$lang_strings[@id='button_next_page']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</input>
|
</input>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<span class="protip">
|
<span class="protip">
|
||||||
<xsl:value-of select="$locale_strings[@id='this_is_page_2']" />
|
<xsl:value-of select="$lang_strings[@id='this_is_page_2']" />
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
@ -208,12 +208,12 @@
|
||||||
<xsl:when test="//uploadform/@page=3">
|
<xsl:when test="//uploadform/@page=3">
|
||||||
|
|
||||||
<span class="heading">
|
<span class="heading">
|
||||||
<xsl:value-of select="$locale_strings[@id='title_page_3']" />
|
<xsl:value-of select="$lang_strings[@id='title_page_3']" />
|
||||||
</span>
|
</span>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<span class="instruction">
|
<span class="instruction">
|
||||||
<xsl:value-of select="$locale_strings[@id='instruction_page_3']" />
|
<xsl:value-of select="$lang_strings[@id='instruction_page_3']" />
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<form method="post">
|
<form method="post">
|
||||||
|
@ -224,7 +224,7 @@
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
|
||||||
<xsl:value-of select="$locale_strings[@id='instruction_creator']" />
|
<xsl:value-of select="$lang_strings[@id='instruction_creator']" />
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<input name="DC.Creator" type="text" size="30">
|
<input name="DC.Creator" type="text" size="30">
|
||||||
|
@ -234,7 +234,7 @@
|
||||||
</input>
|
</input>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<xsl:value-of select="$locale_strings[@id='instruction_source']" />
|
<xsl:value-of select="$lang_strings[@id='instruction_source']" />
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<input name="DC.Source" type="text" size="30">
|
<input name="DC.Source" type="text" size="30">
|
||||||
|
@ -246,12 +246,12 @@
|
||||||
|
|
||||||
<input type="submit" name="4">
|
<input type="submit" name="4">
|
||||||
<xsl:attribute name="value">
|
<xsl:attribute name="value">
|
||||||
<xsl:value-of select="$locale_strings[@id='button_next_page']" />
|
<xsl:value-of select="$lang_strings[@id='button_next_page']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</input>
|
</input>
|
||||||
<br />
|
<br />
|
||||||
<span class="protip">
|
<span class="protip">
|
||||||
<xsl:value-of select="$locale_strings[@id='this_is_page_3']" />
|
<xsl:value-of select="$lang_strings[@id='this_is_page_3']" />
|
||||||
</span>
|
</span>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
@ -259,11 +259,11 @@
|
||||||
|
|
||||||
<xsl:when test="//uploadform/@page=4">
|
<xsl:when test="//uploadform/@page=4">
|
||||||
<span class="heading">
|
<span class="heading">
|
||||||
<xsl:value-of select="$locale_strings[@id='title_page_4']" />
|
<xsl:value-of select="$lang_strings[@id='title_page_4']" />
|
||||||
</span>
|
</span>
|
||||||
<br />
|
<br />
|
||||||
<span class="instruction">
|
<span class="instruction">
|
||||||
<xsl:value-of select="$locale_strings[@id='instruction_page_4']" />
|
<xsl:value-of select="$lang_strings[@id='instruction_page_4']" />
|
||||||
</span>
|
</span>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<xsl:attribute name="action">
|
<xsl:attribute name="action">
|
||||||
|
@ -271,7 +271,7 @@
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<xsl:value-of select="$locale_strings[@id='instruction_rights']" />
|
<xsl:value-of select="$lang_strings[@id='instruction_rights']" />
|
||||||
<br />
|
<br />
|
||||||
<input name="DC.Rights" type="text" size="30">
|
<input name="DC.Rights" type="text" size="30">
|
||||||
<xsl:attribute name="value">
|
<xsl:attribute name="value">
|
||||||
|
@ -279,7 +279,7 @@
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</input>
|
</input>
|
||||||
<br />
|
<br />
|
||||||
<xsl:value-of select="$locale_strings[@id='instruction_license']" />
|
<xsl:value-of select="$lang_strings[@id='instruction_license']" />
|
||||||
<br />
|
<br />
|
||||||
<input name="DC.License" type="text" size="30">
|
<input name="DC.License" type="text" size="30">
|
||||||
<xsl:attribute name="value">
|
<xsl:attribute name="value">
|
||||||
|
@ -287,7 +287,7 @@
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</input>
|
</input>
|
||||||
<br />
|
<br />
|
||||||
<xsl:value-of select="$locale_strings[@id='instruction_license_cc']" />
|
<xsl:value-of select="$lang_strings[@id='instruction_license_cc']" />
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<div class="cc-license-chooser">
|
<div class="cc-license-chooser">
|
||||||
|
@ -302,7 +302,7 @@
|
||||||
</input>
|
</input>
|
||||||
<br />
|
<br />
|
||||||
<span class="protip">
|
<span class="protip">
|
||||||
<xsl:value-of select="$locale_strings[@id='instruction_license_cc_remix']" />
|
<xsl:value-of select="$lang_strings[@id='instruction_license_cc_remix']" />
|
||||||
</span>
|
</span>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
|
@ -316,7 +316,7 @@
|
||||||
</input>
|
</input>
|
||||||
<br />
|
<br />
|
||||||
<span class="protip">
|
<span class="protip">
|
||||||
<xsl:value-of select="$locale_strings[@id='instruction_license_cc_sharealike']" />
|
<xsl:value-of select="$lang_strings[@id='instruction_license_cc_sharealike']" />
|
||||||
</span>
|
</span>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
|
@ -330,7 +330,7 @@
|
||||||
</input>
|
</input>
|
||||||
<br />
|
<br />
|
||||||
<span class="protip">
|
<span class="protip">
|
||||||
<xsl:value-of select="$locale_strings[@id='instruction_license_cc_noderivatives']" />
|
<xsl:value-of select="$lang_strings[@id='instruction_license_cc_noderivatives']" />
|
||||||
</span>
|
</span>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
|
@ -344,19 +344,19 @@
|
||||||
</input>
|
</input>
|
||||||
<br />
|
<br />
|
||||||
<span class="protip">
|
<span class="protip">
|
||||||
<xsl:value-of select="$locale_strings[@id='instruction_license_cc_noncommercial']" />
|
<xsl:value-of select="$lang_strings[@id='instruction_license_cc_noncommercial']" />
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<input type="submit" name="5">
|
<input type="submit" name="5">
|
||||||
<xsl:attribute name="value">
|
<xsl:attribute name="value">
|
||||||
<xsl:value-of select="$locale_strings[@id='button_next_page']" />
|
<xsl:value-of select="$lang_strings[@id='button_next_page']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</input>
|
</input>
|
||||||
<br />
|
<br />
|
||||||
<span class="protip">
|
<span class="protip">
|
||||||
<xsl:value-of select="$locale_strings[@id='this_is_page_4']" />
|
<xsl:value-of select="$lang_strings[@id='this_is_page_4']" />
|
||||||
</span>
|
</span>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
@ -364,11 +364,11 @@
|
||||||
|
|
||||||
<xsl:when test="//uploadform/@page=5">
|
<xsl:when test="//uploadform/@page=5">
|
||||||
<span class="heading">
|
<span class="heading">
|
||||||
<xsl:value-of select="$locale_strings[@id='title_page_5']" />
|
<xsl:value-of select="$lang_strings[@id='title_page_5']" />
|
||||||
</span>
|
</span>
|
||||||
<br />
|
<br />
|
||||||
<span class="instruction">
|
<span class="instruction">
|
||||||
<xsl:value-of select="$locale_strings[@id='instruction_page_5']" />
|
<xsl:value-of select="$lang_strings[@id='instruction_page_5']" />
|
||||||
</span>
|
</span>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<xsl:attribute name="action">
|
<xsl:attribute name="action">
|
||||||
|
@ -380,7 +380,7 @@
|
||||||
<table class="metadata-upload">
|
<table class="metadata-upload">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="metadata-title">
|
<td class="metadata-title">
|
||||||
<xsl:value-of select="$locale_strings[@id='DC.Title']" />:
|
<xsl:value-of select="$lang_strings[@id='DC.Title']" />:
|
||||||
</td>
|
</td>
|
||||||
<td class="metadata-content">
|
<td class="metadata-content">
|
||||||
<xsl:value-of select="//uploadform/@DC.Title" />
|
<xsl:value-of select="//uploadform/@DC.Title" />
|
||||||
|
@ -388,7 +388,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="metadata-title">
|
<td class="metadata-title">
|
||||||
<xsl:value-of select="$locale_strings[@id='DC.Subject']" />:
|
<xsl:value-of select="$lang_strings[@id='DC.Subject']" />:
|
||||||
</td>
|
</td>
|
||||||
<td class="metadata-content">
|
<td class="metadata-content">
|
||||||
<xsl:value-of select="//uploadform/@DC.Subject" />
|
<xsl:value-of select="//uploadform/@DC.Subject" />
|
||||||
|
@ -396,7 +396,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="metadata-title">
|
<td class="metadata-title">
|
||||||
<xsl:value-of select="$locale_strings[@id='DC.Description']" />:
|
<xsl:value-of select="$lang_strings[@id='DC.Description']" />:
|
||||||
</td>
|
</td>
|
||||||
<td class="metadata-content">
|
<td class="metadata-content">
|
||||||
<xsl:value-of select="//uploadform/@DC.Description" />
|
<xsl:value-of select="//uploadform/@DC.Description" />
|
||||||
|
@ -406,14 +406,14 @@
|
||||||
|
|
||||||
<input type="submit" name="1">
|
<input type="submit" name="1">
|
||||||
<xsl:attribute name="value">
|
<xsl:attribute name="value">
|
||||||
<xsl:value-of select="$locale_strings[@id='button_page_1']" />
|
<xsl:value-of select="$lang_strings[@id='button_page_1']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</input>
|
</input>
|
||||||
|
|
||||||
<table class="metadata-upload">
|
<table class="metadata-upload">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="metadata-title">
|
<td class="metadata-title">
|
||||||
<xsl:value-of select="$locale_strings[@id='DC.Creator']" />:
|
<xsl:value-of select="$lang_strings[@id='DC.Creator']" />:
|
||||||
</td>
|
</td>
|
||||||
<td class="metadata-content">
|
<td class="metadata-content">
|
||||||
<xsl:value-of select="//uploadform/@DC.Creator" />
|
<xsl:value-of select="//uploadform/@DC.Creator" />
|
||||||
|
@ -421,7 +421,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="metadata-title">
|
<td class="metadata-title">
|
||||||
<xsl:value-of select="$locale_strings[@id='DC.Source']" />:
|
<xsl:value-of select="$lang_strings[@id='DC.Source']" />:
|
||||||
</td>
|
</td>
|
||||||
<td class="metadata-content">
|
<td class="metadata-content">
|
||||||
<xsl:value-of select="//uploadform/@DC.Source" />
|
<xsl:value-of select="//uploadform/@DC.Source" />
|
||||||
|
@ -429,7 +429,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="metadata-title">
|
<td class="metadata-title">
|
||||||
<xsl:value-of select="$locale_strings[@id='DC.Language']" />:
|
<xsl:value-of select="$lang_strings[@id='DC.Language']" />:
|
||||||
</td>
|
</td>
|
||||||
<td class="metadata-content">
|
<td class="metadata-content">
|
||||||
<xsl:value-of select="//uploadform/@DC.Language" />
|
<xsl:value-of select="//uploadform/@DC.Language" />
|
||||||
|
@ -437,7 +437,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="metadata-title">
|
<td class="metadata-title">
|
||||||
<xsl:value-of select="$locale_strings[@id='DC.Coverage']" />:
|
<xsl:value-of select="$lang_strings[@id='DC.Coverage']" />:
|
||||||
</td>
|
</td>
|
||||||
<td class="metadata-content">
|
<td class="metadata-content">
|
||||||
<xsl:value-of select="//uploadform/@DC.Coverage" />
|
<xsl:value-of select="//uploadform/@DC.Coverage" />
|
||||||
|
@ -447,14 +447,14 @@
|
||||||
|
|
||||||
<input type="submit" name="3">
|
<input type="submit" name="3">
|
||||||
<xsl:attribute name="value">
|
<xsl:attribute name="value">
|
||||||
<xsl:value-of select="$locale_strings[@id='button_page_3']" />
|
<xsl:value-of select="$lang_strings[@id='button_page_3']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</input>
|
</input>
|
||||||
|
|
||||||
<table class="metadata-upload">
|
<table class="metadata-upload">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="metadata-title">
|
<td class="metadata-title">
|
||||||
<xsl:value-of select="$locale_strings[@id='DC.Rights']" />:
|
<xsl:value-of select="$lang_strings[@id='DC.Rights']" />:
|
||||||
</td>
|
</td>
|
||||||
<td class="metadata-content">
|
<td class="metadata-content">
|
||||||
<xsl:value-of select="//uploadform/@DC.Rights" />
|
<xsl:value-of select="//uploadform/@DC.Rights" />
|
||||||
|
@ -462,7 +462,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="metadata-title">
|
<td class="metadata-title">
|
||||||
<xsl:value-of select="$locale_strings[@id='DC.License']" />:
|
<xsl:value-of select="$lang_strings[@id='DC.License']" />:
|
||||||
</td>
|
</td>
|
||||||
<td class="metadata-content">
|
<td class="metadata-content">
|
||||||
<xsl:value-of select="//uploadform/@DC.License" />
|
<xsl:value-of select="//uploadform/@DC.License" />
|
||||||
|
@ -472,7 +472,7 @@
|
||||||
|
|
||||||
<input type="submit" name="4">
|
<input type="submit" name="4">
|
||||||
<xsl:attribute name="value">
|
<xsl:attribute name="value">
|
||||||
<xsl:value-of select="$locale_strings[@id='button_page_4']" />
|
<xsl:value-of select="$lang_strings[@id='button_page_4']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</input>
|
</input>
|
||||||
|
|
||||||
|
@ -484,18 +484,18 @@
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<xsl:value-of select="$locale_strings[@id='instruction_file']" />
|
<xsl:value-of select="$lang_strings[@id='instruction_file']" />
|
||||||
<br />
|
<br />
|
||||||
<input name="file" type="file" size="13" />
|
<input name="file" type="file" size="13" />
|
||||||
<br />
|
<br />
|
||||||
<input type="submit">
|
<input type="submit">
|
||||||
<xsl:attribute name="value">
|
<xsl:attribute name="value">
|
||||||
<xsl:value-of select="$locale_strings[@id='button_upload']" />
|
<xsl:value-of select="$lang_strings[@id='button_upload']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</input>
|
</input>
|
||||||
<br />
|
<br />
|
||||||
<span class="protip">
|
<span class="protip">
|
||||||
<xsl:value-of select="$locale_strings[@id='this_is_page_5']" />
|
<xsl:value-of select="$lang_strings[@id='this_is_page_5']" />
|
||||||
</span>
|
</span>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -76,7 +76,7 @@
|
||||||
<xsl:call-template name="video-object" />
|
<xsl:call-template name="video-object" />
|
||||||
|
|
||||||
<div class="protip-embed">
|
<div class="protip-embed">
|
||||||
<xsl:value-of select="$locale_strings[@id='protip_embed']" />
|
<xsl:value-of select="$lang_strings[@id='protip_embed']" />
|
||||||
<br />
|
<br />
|
||||||
<code>
|
<code>
|
||||||
<object data="<xsl:value-of select="concat(//rdf:RDF/cc:Work/dc:identifier, 'embed=true')" />"
|
<object data="<xsl:value-of select="concat(//rdf:RDF/cc:Work/dc:identifier, 'embed=true')" />"
|
||||||
|
@ -132,7 +132,7 @@
|
||||||
<br />
|
<br />
|
||||||
<input type="submit" name="send">
|
<input type="submit" name="send">
|
||||||
<xsl:attribute name="value">
|
<xsl:attribute name="value">
|
||||||
<xsl:value-of select="$locale_strings[@id='comment_post']" />
|
<xsl:value-of select="$lang_strings[@id='comment_post']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</input>
|
</input>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
@ -142,7 +142,7 @@
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<div class="commentform">
|
<div class="commentform">
|
||||||
<span class="protip">
|
<span class="protip">
|
||||||
<xsl:value-of select="$locale_strings[@id='login_to_comment']" />
|
<xsl:value-of select="$lang_strings[@id='login_to_comment']" />
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
|
@ -161,7 +161,7 @@
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of select="//video/rdf:RDF/cc:License/@rdf:about" />
|
<xsl:value-of select="//video/rdf:RDF/cc:License/@rdf:about" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:value-of select="$locale_strings[@id='license_conditions']" />:
|
<xsl:value-of select="$lang_strings[@id='license_conditions']" />:
|
||||||
</a>
|
</a>
|
||||||
<br />
|
<br />
|
||||||
-->
|
-->
|
||||||
|
@ -234,10 +234,10 @@
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of select="//video/rdf:RDF/cc:Work/@rdf:about" />
|
<xsl:value-of select="//video/rdf:RDF/cc:Work/@rdf:about" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:value-of select="$locale_strings[@id='video_download']" />
|
<xsl:value-of select="$lang_strings[@id='video_download']" />
|
||||||
</a>
|
</a>
|
||||||
<br />
|
<br />
|
||||||
(<xsl:value-of select="format-number(number(round(//video/@filesize) div 1048576), '0.0#')" /> <xsl:value-of select="$locale_strings[@id='unit_megabytes']" />)
|
(<xsl:value-of select="format-number(number(round(//video/@filesize) div 1048576), '0.0#')" /> <xsl:value-of select="$lang_strings[@id='unit_megabytes']" />)
|
||||||
</div>
|
</div>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
-->
|
-->
|
||||||
|
@ -274,7 +274,7 @@
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="metadata-title">
|
<td class="metadata-title">
|
||||||
<xsl:value-of select="$locale_strings[@id='DC.Creator']" />:
|
<xsl:value-of select="$lang_strings[@id='DC.Creator']" />:
|
||||||
</td>
|
</td>
|
||||||
<td class="metadata-content">
|
<td class="metadata-content">
|
||||||
<xsl:value-of select="//video/rdf:RDF/cc:Work/dc:creator" />
|
<xsl:value-of select="//video/rdf:RDF/cc:Work/dc:creator" />
|
||||||
|
@ -286,7 +286,7 @@
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="metadata-title">
|
<td class="metadata-title">
|
||||||
<xsl:value-of select="$locale_strings[@id='DC.Contributor']" />:
|
<xsl:value-of select="$lang_strings[@id='DC.Contributor']" />:
|
||||||
</td>
|
</td>
|
||||||
<td class="metadata-content">
|
<td class="metadata-content">
|
||||||
<xsl:value-of select="//video/rdf:RDF/cc:Work/dc:contributor" />
|
<xsl:value-of select="//video/rdf:RDF/cc:Work/dc:contributor" />
|
||||||
|
@ -296,7 +296,7 @@
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="metadata-title">
|
<td class="metadata-title">
|
||||||
<xsl:value-of select="$locale_strings[@id='DC.Coverage']" />:
|
<xsl:value-of select="$lang_strings[@id='DC.Coverage']" />:
|
||||||
</td>
|
</td>
|
||||||
<td class="metadata-content">
|
<td class="metadata-content">
|
||||||
<xsl:value-of select="//video/rdf:RDF/cc:Work/dc:coverage" />
|
<xsl:value-of select="//video/rdf:RDF/cc:Work/dc:coverage" />
|
||||||
|
@ -305,7 +305,7 @@
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="metadata-title">
|
<td class="metadata-title">
|
||||||
<xsl:value-of select="$locale_strings[@id='DC.Rights']" />:
|
<xsl:value-of select="$lang_strings[@id='DC.Rights']" />:
|
||||||
</td>
|
</td>
|
||||||
<td class="metadata-content">
|
<td class="metadata-content">
|
||||||
<xsl:value-of select="//video/rdf:RDF/cc:Work/dc:rights" />
|
<xsl:value-of select="//video/rdf:RDF/cc:Work/dc:rights" />
|
||||||
|
@ -315,7 +315,7 @@
|
||||||
<!--
|
<!--
|
||||||
<tr>
|
<tr>
|
||||||
<td class="metadata-title">
|
<td class="metadata-title">
|
||||||
<xsl:value-of select="$locale_strings[@id='DC.Publisher']" />:
|
<xsl:value-of select="$lang_strings[@id='DC.Publisher']" />:
|
||||||
</td>
|
</td>
|
||||||
<td class="metadata-content">
|
<td class="metadata-content">
|
||||||
<xsl:value-of select="//video/rdf:RDF/cc:Work/dc:publisher" />
|
<xsl:value-of select="//video/rdf:RDF/cc:Work/dc:publisher" />
|
||||||
|
@ -324,7 +324,7 @@
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="metadata-title">
|
<td class="metadata-title">
|
||||||
<xsl:value-of select="$locale_strings[@id='DC.Date']" />:
|
<xsl:value-of select="$lang_strings[@id='DC.Date']" />:
|
||||||
</td>
|
</td>
|
||||||
<td class="metadata-content">
|
<td class="metadata-content">
|
||||||
<xsl:value-of select="//video/rdf:RDF/cc:Work/dc:date" />
|
<xsl:value-of select="//video/rdf:RDF/cc:Work/dc:date" />
|
||||||
|
@ -334,7 +334,7 @@
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="metadata-title">
|
<td class="metadata-title">
|
||||||
<xsl:value-of select="$locale_strings[@id='DC.Source']" />:
|
<xsl:value-of select="$lang_strings[@id='DC.Source']" />:
|
||||||
</td>
|
</td>
|
||||||
<td class="metadata-content">
|
<td class="metadata-content">
|
||||||
<xsl:value-of select="//video/rdf:RDF/cc:Work/dc:source" />
|
<xsl:value-of select="//video/rdf:RDF/cc:Work/dc:source" />
|
||||||
|
@ -363,7 +363,7 @@
|
||||||
|
|
||||||
<div class="messagebox" id="error">
|
<div class="messagebox" id="error">
|
||||||
<span class="message">
|
<span class="message">
|
||||||
<xsl:value-of select="$locale_strings[@id='error_no_ogg_plugin']" />
|
<xsl:value-of select="$lang_strings[@id='error_no_ogg_plugin']" />
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -398,11 +398,11 @@
|
||||||
onclick="show_movie()"
|
onclick="show_movie()"
|
||||||
>
|
>
|
||||||
<xsl:attribute name="value">
|
<xsl:attribute name="value">
|
||||||
<xsl:value-of select="$locale_strings[@id='video_playback']" />
|
<xsl:value-of select="$lang_strings[@id='video_playback']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<img src="/images/tango/128x128/player_play.png">
|
<img src="/images/tango/128x128/player_play.png">
|
||||||
<xsl:attribute name="alt">
|
<xsl:attribute name="alt">
|
||||||
<xsl:value-of select="$locale_strings[@id='video_playback']" />
|
<xsl:value-of select="$lang_strings[@id='video_playback']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</img>
|
</img>
|
||||||
</button>
|
</button>
|
||||||
|
@ -411,11 +411,11 @@
|
||||||
type="submit"
|
type="submit"
|
||||||
>
|
>
|
||||||
<xsl:attribute name="value">
|
<xsl:attribute name="value">
|
||||||
<xsl:value-of select="$locale_strings[@id='video_download']" />
|
<xsl:value-of select="$lang_strings[@id='video_download']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<img src="/images/tango/128x128/document-save.png">
|
<img src="/images/tango/128x128/document-save.png">
|
||||||
<xsl:attribute name="alt">
|
<xsl:attribute name="alt">
|
||||||
<xsl:value-of select="$locale_strings[@id='video_download']" />
|
<xsl:value-of select="$lang_strings[@id='video_download']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</img>
|
</img>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
type="application/rss+xml"
|
type="application/rss+xml"
|
||||||
>
|
>
|
||||||
<xsl:attribute name="title">
|
<xsl:attribute name="title">
|
||||||
<xsl:value-of select="$locale_strings[@id='rss_title_results_this_page']" />
|
<xsl:value-of select="$lang_strings[@id='rss_title_results_this_page']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of select="$site_strings[@id='path_root']" />
|
<xsl:value-of select="$site_strings[@id='path_root']" />
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
type="application/rss+xml"
|
type="application/rss+xml"
|
||||||
>
|
>
|
||||||
<xsl:attribute name="title">
|
<xsl:attribute name="title">
|
||||||
<xsl:value-of select="$locale_strings[@id='rss_title_results_all_pages']" />
|
<xsl:value-of select="$lang_strings[@id='rss_title_results_all_pages']" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of select="$site_strings[@id='path_root']" />
|
<xsl:value-of select="$site_strings[@id='path_root']" />
|
||||||
|
@ -103,7 +103,7 @@
|
||||||
<title>
|
<title>
|
||||||
<xsl:value-of select="$site_strings[@id='site_name']" />
|
<xsl:value-of select="$site_strings[@id='site_name']" />
|
||||||
-
|
-
|
||||||
<xsl:value-of select="$locale_strings[@id='results_for_query']" />
|
<xsl:value-of select="$lang_strings[@id='results_for_query']" />
|
||||||
"<xsl:value-of select="//page/results/@query" />"
|
"<xsl:value-of select="//page/results/@query" />"
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue