some small fixes
git-svn-id: http://yolanda.mister-muffin.de/svn@303 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
parent
ced190b5c9
commit
2b2f4a64d5
4 changed files with 13 additions and 10 deletions
|
@ -71,6 +71,8 @@
|
||||||
<string id="error_upload_duplicate">Video has already been uploaded</string>
|
<string id="error_upload_duplicate">Video has already been uploaded</string>
|
||||||
<string id="error_upload_file_too_small">The filesize of the video you uploaded is too small</string>
|
<string id="error_upload_file_too_small">The filesize of the video you uploaded is too small</string>
|
||||||
<string id="error_upload_file_too_big">The filesize of the video you uploaded is too big</string>
|
<string id="error_upload_file_too_big">The filesize of the video you uploaded is too big</string>
|
||||||
|
<string id="error_upload_video_width_too_small">The width of the video you uploaded is too small</string>
|
||||||
|
<string id="error_upload_video_height_too_small">The height of the video you uploaded is too small</string>
|
||||||
<string id=""></string>
|
<string id=""></string>
|
||||||
|
|
||||||
<!-- information -->
|
<!-- information -->
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||||
<languages>
|
<languages>
|
||||||
|
<lang>
|
||||||
|
<short></short>
|
||||||
|
<name lang="en">Undefined</name>
|
||||||
|
</lang>
|
||||||
<lang>
|
<lang>
|
||||||
<short>aa</short>
|
<short>aa</short>
|
||||||
<name lang="en">Afar</name>
|
<name lang="en">Afar</name>
|
||||||
|
|
|
@ -28,7 +28,7 @@ if($userinfo->{'username'})
|
||||||
@unique{ @subject } = ();
|
@unique{ @subject } = ();
|
||||||
foreach $tag (keys %unique)
|
foreach $tag (keys %unique)
|
||||||
{
|
{
|
||||||
if(length($tag) >= 3)
|
if(length($tag) >= $config->{"page_tag_lenght_min"})
|
||||||
{
|
{
|
||||||
$subject.=$tag." ";
|
$subject.=$tag." ";
|
||||||
}
|
}
|
||||||
|
|
|
@ -273,20 +273,17 @@
|
||||||
|
|
||||||
<xsl:value-of select="$locale_strings[@id='instruction_language']" />
|
<xsl:value-of select="$locale_strings[@id='instruction_language']" />
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
|
<!-- somehow one cannot access DC.Language from inside the for-each... -->
|
||||||
|
<xsl:variable name="language" select="//uploadform/@DC.Language" />
|
||||||
<select name="DC.Language" size="1">
|
<select name="DC.Language" size="1">
|
||||||
<xsl:for-each select="$language_strings">
|
<xsl:for-each select="$language_strings">
|
||||||
<option>
|
<option>
|
||||||
<xsl:variable name="short" select="short" />
|
<xsl:variable name="short" select="short" />
|
||||||
<xsl:if test="//uploadform/@DC.Language=short">
|
<xsl:if test="$short=$language">
|
||||||
<!-- never executed, plz fix -->
|
<xsl:attribute name="selected">selected</xsl:attribute>
|
||||||
<xsl:attribute name="selected">
|
|
||||||
selected
|
|
||||||
</xsl:attribute>
|
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<xsl:attribute name="value">
|
<xsl:attribute name="value"><xsl:value-of select="$short" /></xsl:attribute>
|
||||||
<xsl:value-of select="$short" />
|
|
||||||
</xsl:attribute>
|
|
||||||
<xsl:value-of select="name[@lang='en']" /><!-- language hardcoded to en - plz fix this -->
|
<xsl:value-of select="name[@lang='en']" /><!-- language hardcoded to en - plz fix this -->
|
||||||
(<xsl:value-of select="name[@lang=$short]" />)
|
(<xsl:value-of select="name[@lang=$short]" />)
|
||||||
</option>
|
</option>
|
||||||
|
|
Loading…
Reference in a new issue