]> ruin.nu Git - ndwebbie.git/commitdiff
small fix
authorMichael Andreen <harv@ruin.nu>
Tue, 2 Jan 2007 01:43:37 +0000 (01:43 +0000)
committerMichael Andreen <harv@ruin.nu>
Tue, 2 Jan 2007 01:43:37 +0000 (01:43 +0000)
forum.pl
nd.css
templates/forum.tmpl

index cb384c288e85a35171d63c80b48c4298fdbaaa4f..c7f0d047ac3d3fbfa4ae3f7ee23946370b46eacd 100644 (file)
--- 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 92cb57411a532251bed7818665a6a0295c406247..d281c3197b8fdbc9bb430f39f2be0fb9dee74a66 100644 (file)
--- 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;
index f2c7461a64a7c74fb760270dc11cee2bb759e266..7f2095c00454310f98f24095d7ea885a72c6d5ea 100644 (file)
@@ -22,7 +22,6 @@
        <p>Subject: <input type="text" name="subject" value=""/></p>
        <textarea rows="25" cols="80" name="mission"></textarea>
        <input type="hidden" name="cmd" value="submit"/>
-       <input type="hidden" name="b" value="<TMPL_VAR NAME=Id>"/>
        <input type="hidden" name="page" value="<TMPL_VAR NAME=PAGE>"/>
        <br/>
        <input type="submit" value="Submit"/>