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 @@

+ : +
+ +