Index: openacs-4/packages/file-storage/file-storage.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/file-storage.info,v diff -u -r1.29.2.10 -r1.29.2.11 --- openacs-4/packages/file-storage/file-storage.info 21 Jul 2004 22:37:17 -0000 1.29.2.10 +++ openacs-4/packages/file-storage/file-storage.info 29 Jul 2004 00:03:18 -0000 1.29.2.11 @@ -7,7 +7,7 @@ f f - + OpenACS Collaborative document storage 2004-07-21 @@ -30,6 +30,7 @@ + Index: openacs-4/packages/file-storage/tcl/file-storage-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/tcl/file-storage-procs.tcl,v diff -u -r1.42.2.8 -r1.42.2.9 --- openacs-4/packages/file-storage/tcl/file-storage-procs.tcl 26 Jul 2004 23:57:01 -0000 1.42.2.8 +++ openacs-4/packages/file-storage/tcl/file-storage-procs.tcl 29 Jul 2004 00:03:19 -0000 1.42.2.9 @@ -803,6 +803,9 @@ item is not WebDAV enabled } { + if { [ad_parameter "UseWebDavP"] == 0 } { + return "ho" + } if {[empty_string_p $package_id]} { set package_id [ad_conn package_id] } Index: openacs-4/packages/file-storage/www/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/index.tcl,v diff -u -r1.23.2.2 -r1.23.2.3 --- openacs-4/packages/file-storage/www/index.tcl 21 Jul 2004 22:37:18 -0000 1.23.2.2 +++ openacs-4/packages/file-storage/www/index.tcl 29 Jul 2004 00:03:19 -0000 1.23.2.3 @@ -101,8 +101,12 @@ } } -set webdav_url [fs::webdav_url -item_id $folder_id] +set use_webdav_p [ad_parameter "UseWebDavP"] +if { $use_webdav_p == 1} { + set webdav_url [fs::webdav_url -item_id $folder_id] +} + # FIXME make this a parameter! set allow_bulk_actions 1