From 9ea6880cce7c5bb81d2da5ee80f3586e01798892 Mon Sep 17 00:00:00 2001 From: Michael Andreen Date: Tue, 2 Jan 2007 01:43:37 +0000 Subject: [PATCH] small fix --- forum.pl | 2 +- nd.css | 5 +++++ templates/forum.tmpl | 1 - 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/forum.pl b/forum.pl index cb384c2..c7f0d04 100644 --- a/forum.pl +++ b/forum.pl @@ -43,7 +43,7 @@ if ($thread){ #Display the thread }elsif($board){ #List threads in this board $BODY->param(Board => 1); $BODY->param(Post => $board->{post}); - $BODY->param(Post => $board->{id}); + $BODY->param(Id => $board->{id}); my $threads = $DBH->prepare(q{SELECT ft.ftid AS id,ft.subject,count(NULLIF(COALESCE(fp.time > ftv.time,TRUE),FALSE)) AS unread,count(fp.fpid) AS posts FROM forum_threads ft JOIN forum_posts fp USING (ftid) LEFT OUTER JOIN forum_thread_visits ftv ON ftv.ftid = ft.ftid WHERE ft.fbid = $1 diff --git a/nd.css b/nd.css index 92cb574..d281c31 100644 --- a/nd.css +++ b/nd.css @@ -26,6 +26,11 @@ legend { border-width: 1px; padding: 1px; } +table.boards td { + border-style: solid; + border-width: 1px; + padding: 1px; +} div.leftinfo{ float: left; padding-right: 2em; diff --git a/templates/forum.tmpl b/templates/forum.tmpl index f2c7461..7f2095c 100644 --- a/templates/forum.tmpl +++ b/templates/forum.tmpl @@ -22,7 +22,6 @@

Subject:

-
-- 2.39.2