Index: openacs-4/packages/fs-portlet/tcl/fs-portlet-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/fs-portlet/tcl/fs-portlet-procs.tcl,v diff -u -r1.20 -r1.21 --- openacs-4/packages/fs-portlet/tcl/fs-portlet-procs.tcl 11 Dec 2001 05:46:15 -0000 1.20 +++ openacs-4/packages/fs-portlet/tcl/fs-portlet-procs.tcl 10 Jan 2002 03:53:08 -0000 1.21 @@ -139,10 +139,15 @@ db_foreach select_files_and_folders $query { if {$type == "Folder"} { - append data " $name$type$num files" + append data " $name$type" + if { $num > 1 } { + append data "$num items" + } else { + append data "$num item" + } } else { set type "File" - append data " $name?version_id=$file_live_rev>(download)" + append data "$name\[download\]" } append template "\n$data\n" }