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.11 -r1.12
--- openacs-4/packages/file-storage/file-storage.info 2 Apr 2002 12:30:55 -0000 1.11
+++ openacs-4/packages/file-storage/file-storage.info 24 Apr 2002 20:06:25 -0000 1.12
@@ -136,6 +136,7 @@
+
Index: openacs-4/packages/file-storage/www/file.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/file.adp,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/file-storage/www/file.adp 22 Apr 2002 14:28:31 -0000 1.5
+++ openacs-4/packages/file-storage/www/file.adp 24 Apr 2002 20:06:25 -0000 1.6
@@ -4,73 +4,73 @@
@context_bar@
-
- All Versions of "@title@"
- Live version of "@title@". |
-
-
- Version filename |
- Author |
- Size (bytes) |
- Type |
- Modified |
- Version Notes |
- Actions |
-
+
+
+ All Versions of "@title@"
+ Live version of "@title@".
+ |
+
+
+ Version filename |
+ Author |
+ Size (bytes) |
+ Type |
+ Modified |
+ Version Notes |
+ Actions |
+
-
- @version.title@ |
- @version.author@ |
- @version.content_size@ |
- @version.type@ |
- @version.last_modified@ |
- @version.description@ |
-
+
+
+ @version.title@
+ |
+ @version.author@ |
+ @version.content_size@ |
+ @version.type@ |
+ @version.last_modified@ |
+ @version.description@ |
+
+
delete
- |
+ |
-
- administer
- permissions
+
+ administer permissions
- |
-
+ |
+
-
- There are no versions of this file availible to you |
-
+
+ There are no versions of this file availible to you |
+
Index: openacs-4/packages/file-storage/www/file.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/file.tcl,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/file-storage/www/file.tcl 4 Dec 2001 04:59:48 -0000 1.5
+++ openacs-4/packages/file-storage/www/file.tcl 24 Apr 2002 20:06:25 -0000 1.6
@@ -32,6 +32,8 @@
set user_id [ad_conn user_id]
set context_bar [fs_context_bar_list $file_id]
+set show_administer_permissions_link_p [ad_parameter "ShowAdministerPermissionsLinkP"]
+
db_1row file_info "
select person.name(o.creation_user) as owner,
i.name,
@@ -72,4 +74,4 @@
db_multirow version version_info $sql
-ad_return_template
\ No newline at end of file
+ad_return_template
Index: openacs-4/packages/file-storage/www/index.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/index.adp,v
diff -u -r1.9 -r1.10
--- openacs-4/packages/file-storage/www/index.adp 2 Apr 2002 15:25:37 -0000 1.9
+++ openacs-4/packages/file-storage/www/index.adp 24 Apr 2002 20:06:25 -0000 1.10
@@ -4,17 +4,21 @@
@context_bar@
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.11 -r1.12
--- openacs-4/packages/file-storage/www/index.tcl 2 Apr 2002 15:25:37 -0000 1.11
+++ openacs-4/packages/file-storage/www/index.tcl 24 Apr 2002 20:06:25 -0000 1.12
@@ -10,7 +10,7 @@
{n_past_days:integer "-1"}
} -validate {
valid_folder -requires {folder_id:integer} {
- if ![fs_folder_p $folder_id] {
+ if {![fs_folder_p $folder_id]} {
ad_complain "The specified folder is not valid."
}
}
@@ -51,6 +51,7 @@
set package_id [ad_conn package_id]
+set show_administer_permissions_link_p [ad_parameter -package_id $package_id "ShowAdministerPermissionsLinkP"]
set n_contents [fs::get_folder_contents_count -folder_id $folder_id -user_id $user_id]
form create n_past_days_form