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.12 -r1.13 --- openacs-4/packages/forums/lib/forums/forums-chunk.tcl 9 Nov 2008 23:29:26 -0000 1.12 +++ openacs-4/packages/forums/lib/forums/forums-chunk.tcl 27 Apr 2009 16:31:19 -0000 1.13 @@ -23,7 +23,7 @@ set unread_or_new_query_clause [db_map unread_or_new_query] } else { set unread_or_new_query_clause { - case when last_post > (current_date - 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 } } @@ -43,52 +43,52 @@ label {\#forums.Forum_Name\#} link_url_col forum_view_url display_template { - - - + + + + + @forums.name@ + + + - @forums.name@ - - - - - - - - - @forums.name@ - - - - + + + + + @forums.name@ + + + + } } charter { label {\#forums.Charter\#} - display_template {@forums.charter;noquote@} + display_template {@forums.charter;noquote@} } n_threads { label {\#forums.Threads\#} display_col n_threads_pretty display_template { - - - @forums.count_unread@ new of - - - @forums.n_threads@ - } + + + @forums.count_unread@ new of + + + @forums.n_threads@ + } html { align right } } last_post { label {\#forums.Last_Post\#} display_col last_modified_pretty } - statistic { - label {\#forums.Statistics\#} - link_url_col forum_view_statistic - display_col statistic - } + statistic { + label {\#forums.Statistics\#} + link_url_col forum_view_statistic + display_col statistic + } } db_multirow -extend { forum_view_url last_modified_pretty n_threads_pretty forum_view_statistic statistic} forums select_forums {} { @@ -100,5 +100,5 @@ } if {[exists_and_not_null alt_template]} { - ad_return_template $alt_template + ad_return_template $alt_template }