Index: openacs-4/packages/static-pages/www/admin/fs-scan-progress.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/static-pages/www/admin/fs-scan-progress.tcl,v
diff -u -r1.2 -r1.2.2.1
--- openacs-4/packages/static-pages/www/admin/fs-scan-progress.tcl 6 Sep 2002 12:30:13 -0000 1.2
+++ openacs-4/packages/static-pages/www/admin/fs-scan-progress.tcl 11 Dec 2002 21:55:42 -0000 1.2.2.1
@@ -18,20 +18,23 @@
# sp_sync_cr_with_filesystem callbacks to fill file_items with info.
#
proc sp_old_item { path id } {
- upvar file_items file_items
- ns_write "$path
: unchanged"
+ ns_write "\n$path
: unchanged"
}
proc sp_new_item { path id } {
- upvar file_items file_items
- ns_write "$path
: added"
+ ns_write "\n$path
: added"
}
proc sp_changed_item { path id } {
- upvar file_items file_items
- ns_write "$path
: updated"
+ ns_write "\n$path
: updated"
# The title may have changed:
sp_flush_page $id
}
+proc sp_error_item { path id msg } {
+ ns_write "\n
+$path
: Error:
+
$msg" +} + set title "Filesystem search" set context_bar [ad_context_bar $title] @@ -50,6 +53,7 @@ -file_unchanged_proc sp_old_item \ -file_add_proc sp_new_item \ -file_change_proc sp_changed_item \ + -file_read_error_proc sp_error_item \ -folder_add_proc sp_new_item \ -folder_unchanged_proc sp_old_item \ "[acs_root_dir]/www" $root_folder_id