Index: openacs-4/packages/fs-portlet/sql/oracle/fs-portlet-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/fs-portlet/sql/oracle/fs-portlet-create.sql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/fs-portlet/sql/oracle/fs-portlet-create.sql 9 Oct 2001 00:55:50 -0000 1.2 +++ openacs-4/packages/fs-portlet/sql/oracle/fs-portlet-create.sql 9 Nov 2001 19:13:39 -0000 1.3 @@ -44,6 +44,15 @@ value => '' ); + -- shaded_p + portal_datasource.set_def_param ( + datasource_id => ds_id, + config_required_p => 't', + configured_p => 't', + key => 'shaded_p', + value => 'f' +); + end; / show errors 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.10 -r1.11 --- openacs-4/packages/fs-portlet/tcl/fs-portlet-procs.tcl 1 Nov 2001 23:12:31 -0000 1.10 +++ openacs-4/packages/fs-portlet/tcl/fs-portlet-procs.tcl 9 Nov 2001 19:14:24 -0000 1.11 @@ -107,27 +107,34 @@ set data "" set rowcount 0 - db_foreach select_files_and_folders $query { - append data "$name$path$content_size$type$last_modified" - incr rowcount - } + if { $config(shaded_p) == "f" } { - set template " - - - - - - - - - $data -
NameActionSize (bytes)TypeModified
" + db_foreach select_files_and_folders $query { + append data "$name$path$content_size$type$last_modified" + incr rowcount + } - if {!$rowcount} { - set template "No items in this folder

more..." - } + set template " + + + + + + + + + $data +
NameActionSize (bytes)TypeModified
" + + if {!$rowcount} { + set template "No items in this folder

more..." + } + } else { + # shaded + set template "" + } + set code [template::adp_compile -string $template] set output [template::adp_eval code]