lalala
git-svn-id: http://yolanda.mister-muffin.de/svn@65 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
parent
eff8e1bcbb
commit
3e22f0fa08
4 changed files with 42 additions and 3 deletions
|
@ -44,8 +44,13 @@
|
||||||
<str id="button_register">register</str>
|
<str id="button_register">register</str>
|
||||||
<str id="button_login">login</str>
|
<str id="button_login">login</str>
|
||||||
|
|
||||||
|
<!-- upload page -->
|
||||||
|
<str id="file">file</str>
|
||||||
|
<str id="button_upload">upload</str>
|
||||||
|
|
||||||
<!-- dublin core entities -->
|
<!-- dublin core entities -->
|
||||||
<str id="DC.title">title</str>
|
<str id="DC.title">title</str>
|
||||||
|
<str id="DC.description">description</str>
|
||||||
<str id="DC.creator">author</str>
|
<str id="DC.creator">author</str>
|
||||||
<str id="DC.publisher">uploader</str>
|
<str id="DC.publisher">uploader</str>
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
<str id="page_register">register.pl</str>
|
<str id="page_register">register.pl</str>
|
||||||
<str id="page_results">search.pl?query=</str>
|
<str id="page_results">search.pl?query=</str>
|
||||||
<str id="page_upload">upload.pl</str>
|
<str id="page_upload">upload.pl</str>
|
||||||
|
<str id="page_uploader">uploader.pl</str>
|
||||||
|
|
||||||
</strings>
|
</strings>
|
||||||
|
|
||||||
|
|
|
@ -61,13 +61,13 @@ div
|
||||||
vertical-align: text-top;
|
vertical-align: text-top;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.loginform, div.registerform
|
div.loginform, div.registerform, div.uploadform
|
||||||
{
|
{
|
||||||
padding: 1.5em;
|
padding: 1.5em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.loginform form, div.registerform form
|
div.loginform form, div.registerform form, div.uploadform form
|
||||||
{
|
{
|
||||||
margin: 1.5em;
|
margin: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
|
@ -290,7 +290,7 @@
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
</xsl:template>v
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="registerform">
|
<xsl:template match="registerform">
|
||||||
|
|
||||||
|
@ -351,4 +351,37 @@
|
||||||
|
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="uploadform">
|
||||||
|
|
||||||
|
<div class="uploadform">
|
||||||
|
|
||||||
|
<form method="post" enctype="multipart/from-data">
|
||||||
|
<xsl:attribute name="action">
|
||||||
|
<xsl:value-of select="$site_strings/str[@id='page_uploader']" />
|
||||||
|
</xsl:attribute>
|
||||||
|
<fieldset>
|
||||||
|
<xsl:value-of select="$locale_strings/str[@id='file']" />:
|
||||||
|
<br />
|
||||||
|
<input name="file" type="file" size="15" />
|
||||||
|
<br />
|
||||||
|
<xsl:value-of select="$locale_strings/str[@id='DC.title']" />:
|
||||||
|
<br />
|
||||||
|
<input name="title" type="text" size="30" />
|
||||||
|
<br />
|
||||||
|
<xsl:value-of select="$locale_strings/str[@id='DC.description']" />:
|
||||||
|
<br />
|
||||||
|
<input name="caption" type="text" size="30" />
|
||||||
|
<br />
|
||||||
|
<input type="submit" name="submit" >
|
||||||
|
<xsl:attribute name="value">
|
||||||
|
<xsl:value-of select="$locale_strings/str[@id='button_upload']" />
|
||||||
|
</xsl:attribute>
|
||||||
|
</input>
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
|
|
Loading…
Reference in a new issue