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

View file

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

View file

@ -223,7 +223,7 @@
</a> </a>
</td> </td>
<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 /> 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" /> uploaded by: <xsl:value-of select="rdf:RDF/cc:Work/dc:publisher" />
</td> </td>
@ -233,4 +233,20 @@
</xsl:template> </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> </xsl:stylesheet>