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.15 -r1.16 --- openacs-4/packages/fs-portlet/tcl/fs-portlet-procs.tcl 19 Nov 2001 15:15:52 -0000 1.15 +++ openacs-4/packages/fs-portlet/tcl/fs-portlet-procs.tcl 1 Dec 2001 23:18:53 -0000 1.16 @@ -31,22 +31,22 @@ } ad_proc -public add_self_to_page { - page_id + portal_id community_id folder_id } { Adds a fs PE to the given page with the community_id and folder_id being opaque data in the portal configuration. @return element_id The new element's id - @param page_id The page to add self to + @param portal_id The page to add self to @param community_id The community with the folder @param folder_id The folder to show @author arjun@openforce.net @creation-date Sept 2001 } { # Tell portal to add this element to the page - set element_id [portal::add_element $page_id [my_name]] + set element_id [portal::add_element $portal_id [my_name]] # The default param "community_id" must be configured set key "community_id" @@ -159,7 +159,7 @@ } { Removes a fs PE from the given page - @param page_id The page to remove self from + @param portal_id The page to remove self from @param community_id @author arjun@openforce.net @creation-date Sept 2001 @@ -176,29 +176,29 @@ } ad_proc -public make_self_available { - page_id + portal_id } { Wrapper for the portal:: proc - @param page_id + @param portal_id @author arjun@openforce.net @creation-date Nov 2001 } { portal::make_datasource_available \ - $page_id [portal::get_datasource_id [my_name]] + $portal_id [portal::get_datasource_id [my_name]] } ad_proc -public make_self_unavailable { - page_id + portal_id } { Wrapper for the portal:: proc - @param page_id + @param portal_id @author arjun@openforce.net @creation-date Nov 2001 } { portal::make_datasource_unavailable \ - $page_id [portal::get_datasource_id [my_name]] + $portal_id [portal::get_datasource_id [my_name]] } }