From 4820060d1d669f9cdca8e367be3c6ef295ba5b19 Mon Sep 17 00:00:00 2001 From: josch Date: Mon, 29 Oct 2007 08:54:16 +0000 Subject: [PATCH] fixed minor bugs git-svn-id: http://yolanda.mister-muffin.de/svn@153 7eef14d0-6ed0-489d-bf55-20463b2d70db --- trunk/init_sql.pl | 2 +- trunk/register.pl | 2 +- trunk/xsl/xhtml.xsl | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/trunk/init_sql.pl b/trunk/init_sql.pl index 03671d2..ead187b 100644 --- a/trunk/init_sql.pl +++ b/trunk/init_sql.pl @@ -54,7 +54,7 @@ $dbh->do(qq{create table sid char(32) not null, timestamp bigint not null, locale varchar(10) not null, - pagesize unsigned tinyint default 5, + pagesize tinyint unsigned default 5, cortado tinyint default 1, primary key (id) ) diff --git a/trunk/register.pl b/trunk/register.pl index 3ae7ba7..390f81b 100644 --- a/trunk/register.pl +++ b/trunk/register.pl @@ -33,7 +33,7 @@ elsif($query->param('user') and $query->param('pass') and $query->param('pass_re my $dbh = DBI->connect("DBI:mysql:$database:$host", $dbuser, $dbpass) or die $dbh->errstr; #do query - $dbh->de(qq{insert into users (username, password, timestamp, locale) values ( ?, password( ? ), unix_timestamp(), ?)}, undef, + $dbh->do(qq{insert into users (username, password, timestamp, locale) values ( ?, password( ? ), unix_timestamp(), ?)}, undef, $query->param("user"), $query->param("pass"), $page->{'locale'}) or die $dbh->errstr; #disconnect db diff --git a/trunk/xsl/xhtml.xsl b/trunk/xsl/xhtml.xsl index f694725..ae4db16 100755 --- a/trunk/xsl/xhtml.xsl +++ b/trunk/xsl/xhtml.xsl @@ -341,6 +341,10 @@

+ : +
+ +