|
- Showing files modified within the past days.
+ #dotlrn-fs.lt_Showing_files_modifie#
|
Index: openacs-4/packages/dotlrn-fs/www/all-objects.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-fs/www/all-objects.tcl,v
diff -u -r1.10 -r1.11
--- openacs-4/packages/dotlrn-fs/www/all-objects.tcl 9 Aug 2002 18:39:29 -0000 1.10
+++ openacs-4/packages/dotlrn-fs/www/all-objects.tcl 5 Nov 2002 17:21:23 -0000 1.11
@@ -30,15 +30,18 @@
{orderby "folder_name,name"}
} -properties {
n_past_days:onevalue
+ days_singular_or_plural:onevalue
orderby:onevalue
table:onevalue
}
set user_id [ad_verify_and_get_user_id]
+set days_singular_or_plural [ad_decode $n_past_days "1" [_ dotlrn-fs.day] [_ dotlrn-fs.days]]
+
form create n_past_days_form
-set options {{All 999999} {1 1} {2 2} {3 3} {7 7} {14 14} {30 30}}
+set options [list [list [_ dotlrn-fs.All] 999999] {1 1} {2 2} {3 3} {7 7} {14 14} {30 30}]
element create n_past_days_form n_past_days \
-label "" \
-datatype text \
@@ -48,7 +51,7 @@
-value $n_past_days
element create n_past_days_form orderby \
- -label "Order By" \
+ -label "[_ dotlrn-fs.Order_By]" \
-datatype text \
-widget hidden \
-value $orderby
@@ -60,16 +63,16 @@
set table_def [list]
-lappend table_def [list name Name {fs_objects.name $order} "\$name | "]
-lappend table_def [list folder_name Folder {} "\$folder_name | "]
-lappend table_def {type Type {fs_objects.type $order} {c}}
-lappend table_def {content_size Size {fs_objects.content_size $order} {[ad_decode $type folder "$content_size item[ad_decode $content_size 1 {} s]" url {} "$content_size byte[ad_decode $content_size 1 {} s]"] | }}
-lappend table_def {last_modified {Last Modified} {fs_objects.last_modified $order} {[util_AnsiDatetoPrettyDate $last_modified] | }}
+lappend table_def [list name [_ dotlrn-fs.Name] {fs_objects.name $order} "\$name | "]
+lappend table_def [list folder_name [_ dotlrn-fs.Folder] {} "\$folder_name | "]
+lappend table_def [list type [_ dotlrn-fs.Type] {fs_objects.type $order} {c}]
+lappend table_def [list content_size [_ dotlrn-fs.Size] {fs_objects.content_size $order} {[ad_decode $type folder "$content_size item[ad_decode $content_size 1 {} s]" url {} "$content_size byte[ad_decode $content_size 1 {} s]"] | }]
+lappend table_def [list last_modified [_ dotlrn-fs.Last_Modified] {fs_objects.last_modified $order} {[util_AnsiDatetoPrettyDate $last_modified] | }]
set dotlrn_package_key [dotlrn::package_key]
set table [ad_table \
- -Tmissing_text {No contents found.
} \
+ -Tmissing_text "[_ dotlrn-fs.No_contents_found]
" \
-Torderby $orderby \
-Ttable_extra_html {width="95%"} \
select_folder_contents \
Index: openacs-4/packages/dotlrn-fs/www/index.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-fs/www/index.adp,v
diff -u -r1.4 -r1.5
--- openacs-4/packages/dotlrn-fs/www/index.adp 9 Aug 2002 18:39:29 -0000 1.4
+++ openacs-4/packages/dotlrn-fs/www/index.adp 5 Nov 2002 17:21:23 -0000 1.5
@@ -25,8 +25,8 @@
- Folder |
- Size (bytes) |
+ #dotlrn-fs.Folder# |
+ #dotlrn-fs.Size_bytes# |
@@ -44,5 +44,5 @@
- No top offending folders to display
+ #dotlrn-fs.lt_No_top_offending_fold#
Index: openacs-4/packages/dotlrn-fs/www/index.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-fs/www/index.tcl,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/dotlrn-fs/www/index.tcl 9 Aug 2002 18:39:29 -0000 1.5
+++ openacs-4/packages/dotlrn-fs/www/index.tcl 5 Nov 2002 17:21:23 -0000 1.6
@@ -36,7 +36,7 @@
permission::require_permission -object_id $package_id -privilege admin
set context_bar {}
-set title "Top Offenders"
+set title "[_ dotlrn-fs.Top_Offenders]"
set fs_package_key [dotlrn_fs::package_key]