Index: openacs-4/packages/file-storage/www/simple.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/simple.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/file-storage/www/simple.tcl 26 May 2005 08:28:46 -0000 1.2 +++ openacs-4/packages/file-storage/www/simple.tcl 15 Jun 2007 17:40:29 -0000 1.3 @@ -19,4 +19,8 @@ set pretty_name $name set context [fs_context_bar_list -final [_ file-storage.link] $folder_id] +set categories_p [parameter::get -parameter CategoriesP -package_id [ad_conn package_id] -default 0] +if { $categories_p } { + set category_links [fs::category_links -object_id $object_id -folder_id $folder_id] +}