Index: openacs-4/packages/forums/lib/forums/forums-chunk.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/forums/lib/forums/forums-chunk.tcl,v
diff -u -r1.7 -r1.8
--- openacs-4/packages/forums/lib/forums/forums-chunk.tcl 22 May 2007 09:42:08 -0000 1.7
+++ openacs-4/packages/forums/lib/forums/forums-chunk.tcl 4 Jun 2007 12:23:34 -0000 1.8
@@ -27,7 +27,7 @@
}
} else {
set unread_or_new_query {
- case when last_post > (now() - interval '1 day') then 't' else 'f' end as new_p
+ case when last_post > (current_date - interval '1' day) then 't' else 'f' end as new_p
}
}
@@ -48,12 +48,12 @@
link_url_col forum_view_url
display_template {
-
-
+
+
@forums.name@
- (@forums.count_unread@)
+
@@ -74,6 +74,14 @@
n_threads {
label {\#forums.Threads\#}
display_col n_threads_pretty
+ display_template {
+
+
+ @forums.count_unread@ new of
+
+
+ @forums.n_threads@
+ }
html { align right }
}
last_post {