Index: openacs-4/packages/dotlrn-catalog/lib/tree-chunk.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-catalog/lib/tree-chunk.adp,v diff -u -r1.4 -r1.5 --- openacs-4/packages/dotlrn-catalog/lib/tree-chunk.adp 22 Feb 2005 22:00:56 -0000 1.4 +++ openacs-4/packages/dotlrn-catalog/lib/tree-chunk.adp 22 Feb 2005 22:15:30 -0000 1.5 @@ -4,13 +4,13 @@ table.list { font-family: tahoma, verdana, helvetica; border-collapse: collapse; - font-size: 12px; + font-size: 11px; } -
+ Index: openacs-4/packages/dotlrn-catalog/lib/tree-chunk.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-catalog/lib/tree-chunk.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/dotlrn-catalog/lib/tree-chunk.tcl 21 Feb 2005 19:22:12 -0000 1.4 +++ openacs-4/packages/dotlrn-catalog/lib/tree-chunk.tcl 22 Feb 2005 22:15:30 -0000 1.5 @@ -108,8 +108,34 @@ } } + category { + label "[_ dotlrn-catalog.category]" + display_template { +
+ + @course_list.category_name@ + + + #dotlrn-catalog.uncat# + +
+ } + } } + + +db_multirow -extend { category_name } course_list get_courses { } { + set mapped [category::get_mapped_categories $course_id] + foreach element $mapped { + append category_name "[category::get_name $element], " + } + set category_name [string range $category_name 0 [expr [string length $category_name] - 3]] +} + -db_multirow course_list get_courses {} + + + +