minor xsl + css stuff

git-svn-id: http://yolanda.mister-muffin.de/svn@179 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
erlehmann 2007-11-19 17:57:18 +00:00
parent ed4a3d910d
commit 4bf2e31b59
3 changed files with 21 additions and 15 deletions

View file

@ -59,9 +59,9 @@
<str id="information_logged_out">You are now logged out.</str> <str id="information_logged_out">You are now logged out.</str>
<str id="information_metainformation_needed">To put the video into context, additional metainformation is needed.</str> <str id="information_metainformation_needed">To put the video into context, additional metainformation is needed.</str>
<str id="information_metainformation_rights"></str> <str id="information_metainformation_rights"></str>
<str id="information_comment_created">Your comment has been created.</str> <str id="information_comment_created">Your comment has been submitted.</str>
<str id="information_registered">You successfully created yourself an account</str> <str id="information_registered">Your account has been created.</str>
<str id="information_uploaded">You succcessfully uploaded your file</str> <str id="information_uploaded">Your file has been uploaded.</str>
<!-- warnings --> <!-- warnings -->
@ -113,10 +113,10 @@
<str id="button_page_4">Page 4</str> <str id="button_page_4">Page 4</str>
<!-- video page --> <!-- video page -->
<str id="download_video">download video</str> <str id="download_video">Download</str>
<str id="license_conditions">license conditions</str> <str id="license_conditions">License Conditions</str>
<str id="comment_on_video">Flamewar area below. Proceed with Caution.</str> <str id="comment_on_video">Flamewar area below. Proceed with caution.</str>
<str id="comment_post">post comment</str> <str id="comment_post">Post</str>
<!-- dublin core entities --> <!-- dublin core entities -->
<str id="DC.Title">title</str> <str id="DC.Title">title</str>

View file

@ -96,7 +96,7 @@ div
div.search-small div.search-small
{ {
clear: none; clear: both;
float: right; float: right;
text-align: right; text-align: right;
padding-top: 1em; padding-top: 1em;
@ -154,8 +154,6 @@ img
img.logo-small img.logo-small
{ {
display: inline-block;
float: left;
} }
span.protip span.protip

View file

@ -157,10 +157,14 @@
<hr /> <hr />
<xsl:if test="not(//frontpage)"> <xsl:if test="//search">
<xsl:call-template name="searchbar"/> <xsl:call-template name="searchbar"/>
</xsl:if> </xsl:if>
<xsl:if test="not(//frontpage)">
<xsl:call-template name="logo-small"/>
</xsl:if>
<xsl:if test="//message"> <xsl:if test="//message">
<xsl:call-template name="message"/> <xsl:call-template name="message"/>
</xsl:if> </xsl:if>
@ -277,12 +281,16 @@
<xsl:call-template name="results"/> <xsl:call-template name="results"/>
</xsl:template> </xsl:template>
<xsl:template name="searchbar"> <xsl:template name="logo-small">
<a href="/"> <a href="/">
<img class="logo-small" src="/images/logo-small.png" alt="Yolanda logo top (160x25)" /> <img class="logo-small" src="/images/logo-small.png" alt="Yolanda logo top (160x25)" />
</a> </a>
</xsl:template>
<xsl:template name="searchbar">
<div class="search-small"> <div class="search-small">
<form method="get" enctype="text/plain"> <form method="get" enctype="text/plain">
<xsl:attribute name="action"> <xsl:attribute name="action">
@ -290,7 +298,7 @@
</xsl:attribute> </xsl:attribute>
<fieldset> <fieldset>
<xsl:value-of select="$locale_strings[@id='search']" />: <xsl:value-of select="$locale_strings[@id='search']" />:
<input type="text" name="query" size="30"> <input type="text" name="query" size="20">
<xsl:attribute name="value"> <xsl:attribute name="value">
<xsl:value-of select="//results/@value" /> <xsl:value-of select="//results/@value" />
</xsl:attribute> </xsl:attribute>