frosty piss

git-svn-id: http://yolanda.mister-muffin.de/svn@44 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
erlehmann 2007-10-11 23:21:16 +00:00
parent dd41ac0a28
commit fee633e82b
3 changed files with 65 additions and 30 deletions

View file

@ -24,15 +24,13 @@ if($query->param('user') and $query->param('pass'))
#print a little confirmation
print $session->header();
print "done";
print 'done';
}
else
{
#if not, print register form
print $session->header();
print '<form action="" method="POST"><p>
<input name="user" type="text" size="30" maxlength="30">
<input name="pass" type="password" size="30" maxlength="30">
<input type="submit" name="register" value=" register ">
</p></form>';
print '<page locale="en-US" stylesheet="./style/gnutube.css" username="">'; # josch, sanitize this
print '<registerform />';
print '</page>'; # josch, sanitize this
}

View file

@ -1,8 +1,10 @@
* {
*
{
clear: both;
}
body {
body
{
font-family: sans-serif;
font-size: 8pt;
font-weight: bold;
@ -10,7 +12,8 @@ body {
margin: 2em;
}
a {
a
{
color: #3f3fff;
padding-left: 0.25em;
padding-right: 0.25em;
@ -18,20 +21,24 @@ a {
white-space: nowrap;
}
a:hover {
a:hover
{
text-decoration: underline;
}
a.tag {
a.tag
{
margin: 5pt;
}
div {
div
{
border-width: 0px;
border-style: dashed;
}
div.header1 {
div.header1
{
color: #525252;
float: left;
text-align: left;
@ -40,74 +47,88 @@ div {
}
div.header2 {
div.header2
{
clear: none;
float: right;
text-align: right;
width: 50%;
}
img.openid-icon {
img.openid-icon
{
padding-left: 0.2em;
vertical-align: text-top;
}
div.logo-big {
div.logo-big
{
padding-top: 1.5em;
text-align: center;
}
div.logo-small-top {
div.logo-small-top
{
float: left;
height: 25px;
margin-top: 1em;
}
div.logo-small-bottom {
div.logo-small-bottom
{
float: left;
height: 1.25em;
margin-bottom: 2em;
}
div.search {
div.search
{
padding: 1em;
text-align: center;
}
div.search-small {
div.search-small
{
clear: none;
float: right;
text-align: right;
margin-top: 1em;
}
div.search form {
margin: 1em;
div.search form
{
margin: 1em;
}
div.search-small form {
height: 1.25em;
div.search-small form
{
height: 1.25em;
}
div form fieldset {
div form fieldset
{
border-width: 0px;
}
div.toplists {
div.toplists
{
text-align: center;
}
div.tagcloud {
div.tagcloud
{
text-align: center;
margin: 4em;
}
div.footer {
div.footer
{
text-align: center;
}
hr {
hr
{
background-color: #c0c0c0;
position: relative;
top: 0.25em;

View file

@ -223,7 +223,7 @@
</a>
</td>
<td>
title: <xsl:value-of select="rdf:RDF/cc:Work/dc:title" /><br />
<xsl:value-of select="$locale_strings/str[@id='title']" />:<xsl:value-of select="rdf:RDF/cc:Work/dc:title" /><br />
created by: <xsl:value-of select="rdf:RDF/cc:Work/dc:creator" /><br />
uploaded by: <xsl:value-of select="rdf:RDF/cc:Work/dc:publisher" />
</td>
@ -233,4 +233,20 @@
</xsl:template>
<xsl:template match="registerform">
<div class="registerform">
<form action="" method="post">
<fieldset>
<input name="user" type="text" size="30" maxlength="30" />
<input name="pass" type="password" size="30" maxlength="30" />
<input type="submit" name="register" value=" register " />
</fieldset>
</form>
<div>
</xsl:template>
</xsl:stylesheet>