login badly fscked up, but it looks nice
git-svn-id: http://yolanda.mister-muffin.de/svn@59 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
parent
670989df53
commit
ba465eef17
3 changed files with 47 additions and 8 deletions
|
@ -38,8 +38,11 @@
|
|||
<!-- search bar-->
|
||||
<str id="search">search</str>
|
||||
|
||||
<!-- -->
|
||||
<str id=""></str>
|
||||
<!-- login / register page -->
|
||||
<str id="username">username</str>
|
||||
<str id="password">password</str>
|
||||
<str id="button_register">register</str>
|
||||
<str id="button_login">login</str>
|
||||
|
||||
<!-- dublin core entities -->
|
||||
<str id="DC.title">title</str>
|
||||
|
|
|
@ -61,6 +61,17 @@ div
|
|||
vertical-align: text-top;
|
||||
}
|
||||
|
||||
div.loginform, div.registerform
|
||||
{
|
||||
padding: 1.5em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div.loginform form, div.registerform form
|
||||
{
|
||||
margin: 1.5em;
|
||||
}
|
||||
|
||||
div.logo-big
|
||||
{
|
||||
padding-top: 1.5em;
|
||||
|
|
|
@ -290,17 +290,30 @@
|
|||
</xsl:for-each>
|
||||
</table>
|
||||
|
||||
</xsl:template>
|
||||
</xsl:template>v
|
||||
|
||||
<xsl:template match="registerform">
|
||||
|
||||
<div class="registerform">
|
||||
|
||||
<form action="register.pl" method="post">
|
||||
<form method="post">
|
||||
<xsl:attribute name="action">
|
||||
<xsl:value-of select="$site_strings/str[@id='page_register']" />
|
||||
</xsl:attribute>
|
||||
<fieldset>
|
||||
<xsl:value-of select="$locale_strings/str[@id='username']" />:
|
||||
<br />
|
||||
<input name="user" type="text" size="30" maxlength="30" />
|
||||
<br />
|
||||
<xsl:value-of select="$locale_strings/str[@id='password']" />:
|
||||
<br />
|
||||
<input name="pass" type="password" size="30" maxlength="30" />
|
||||
<input type="submit" name="register" value=" register " />
|
||||
<br />
|
||||
<input type="submit" name="register" >
|
||||
<xsl:attribute name="value">
|
||||
<xsl:value-of select="$locale_strings/str[@id='button_register']" />
|
||||
</xsl:attribute>
|
||||
</input>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
|
@ -312,12 +325,24 @@
|
|||
|
||||
<div class="loginform">
|
||||
|
||||
<form action="login.pl" method="POST">
|
||||
<form method="post">
|
||||
<xsl:attribute name="action">
|
||||
<xsl:value-of select="$site_strings/str[@id='page_login']" />
|
||||
</xsl:attribute>
|
||||
<fieldset>
|
||||
<input name="action" type="hidden" value="login" />
|
||||
<xsl:value-of select="$locale_strings/str[@id='username']" />:
|
||||
<br />
|
||||
<input name="user" type="text" size="30" maxlength="30" />
|
||||
<br />
|
||||
<xsl:value-of select="$locale_strings/str[@id='password']" />:
|
||||
<br />
|
||||
<input name="pass" type="password" size="30" maxlength="30" />
|
||||
<input type="submit" name="login" value=" login " />
|
||||
<br />
|
||||
<input type="submit" name="login" >
|
||||
<xsl:attribute name="value">
|
||||
<xsl:value-of select="$locale_strings/str[@id='button_login']" />
|
||||
</xsl:attribute>
|
||||
</input>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
|
|
Loading…
Reference in a new issue