Index: openacs-4/packages/ajax-filestorage-ui/lib/ajaxfs-include.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ajax-filestorage-ui/lib/ajaxfs-include.adp,v diff -u -r1.9 -r1.10 --- openacs-4/packages/ajax-filestorage-ui/lib/ajaxfs-include.adp 3 Aug 2008 02:23:36 -0000 1.9 +++ openacs-4/packages/ajax-filestorage-ui/lib/ajaxfs-include.adp 26 Aug 2008 20:36:42 -0000 1.10 @@ -100,8 +100,8 @@ multiple_files_msg: "#ajax-filestorage-ui.ThisIsAZip#", download:"#file-storage.Download#", download_archive: "#ajax-filestorage-ui.DownloadArchive#", - request_notification:"#notifications.lt_You_may_a_hrefsub_url#", - unsubscribe_notification:"#notifications.lt_You_have_requested_no#", + request_notification:'@subscribe_link', + unsubscribe_notification:'@unsubscribe_link', tools:"#ajax-filestorage-ui.Tools#", tag:"#ajax-filestorage-ui.Tag#", views:"#ajax-filestorage-ui.Views#" Index: openacs-4/packages/ajax-filestorage-ui/lib/ajaxfs-include.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ajax-filestorage-ui/lib/ajaxfs-include.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/ajax-filestorage-ui/lib/ajaxfs-include.tcl 28 Jun 2008 07:06:38 -0000 1.8 +++ openacs-4/packages/ajax-filestorage-ui/lib/ajaxfs-include.tcl 26 Aug 2008 20:36:42 -0000 1.9 @@ -125,4 +125,11 @@ ad_return_complaint 1 "Package id is required." ad_script_abort -} \ No newline at end of file +} + + +foreach {subscribe_url unsubscribe_url} [notification::display::get_urls -type "fs_fs_notif_type" -object_id $folder_id -pretty_name $instance_name] {break} + +set unsubscribe_link [_ notifications.lt_You_have_requested_no [list pretty_name $instance_name sub_url $unsubscribe_url]] + +set subscribe_link [_ notifications.lt_You_may_a_hrefsub_url [list pretty_name $instance_name sub_url $subscribe_url]] Index: openacs-4/packages/ajax-filestorage-ui/www/xmlhttp/get-foldercontents.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ajax-filestorage-ui/www/xmlhttp/get-foldercontents.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/ajax-filestorage-ui/www/xmlhttp/get-foldercontents.tcl 20 Apr 2008 11:58:12 -0000 1.7 +++ openacs-4/packages/ajax-filestorage-ui/www/xmlhttp/get-foldercontents.tcl 26 Aug 2008 20:36:42 -0000 1.8 @@ -33,6 +33,7 @@ if {![exists_and_not_null fs_url]} { set fs_url "" } set folder_path "" +set categories_limitation "" if {![string equal $root_folder_id $folder_id]} { set folder_path [db_exec_plsql dbqd.file-storage.www.folder-chunk.get_folder_path {}] }