Index: openacs-4/packages/news-aggregator-portlet/tcl/news-aggregator-admin-portlet-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news-aggregator-portlet/tcl/news-aggregator-admin-portlet-procs.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/news-aggregator-portlet/tcl/news-aggregator-admin-portlet-procs.tcl 31 Jul 2020 12:49:47 -0000 1.4 +++ openacs-4/packages/news-aggregator-portlet/tcl/news-aggregator-admin-portlet-procs.tcl 31 Jul 2020 12:53:51 -0000 1.5 @@ -14,41 +14,33 @@ return "news_aggregator_admin_portlet" } - - ad_proc -public news_aggregator_admin_portlet::get_pretty_name {} { Get portlet pretty name } { return "#news-aggregator-portlet.news_aggregator_admin_portlet_pretty_name#" } - - ad_proc -private news_aggregator_admin_portlet::my_package_key { } { return "news-aggregator-portlet" } - - ad_proc -public news_aggregator_admin_portlet::link {} { Get portlet link } { return "" } - - ad_proc -public news_aggregator_admin_portlet::add_self_to_page { {-portal_id:required} {-page_name ""} {-package_id:required} } { Adds a news-aggregator admin PE to the given portal - + @param portal_id The page to add self to @param package_id The package_id of the news-aggregator package - + @return element_id The new element's id } { return [portal::add_element_parameters \ @@ -59,8 +51,6 @@ ] } - - ad_proc -public news_aggregator_admin_portlet::remove_self_from_page { {-portal_id:required} } { @@ -71,8 +61,6 @@ -portlet_name [get_my_name] } - - ad_proc -public news_aggregator_admin_portlet::show { cf } { @@ -82,5 +70,4 @@ -package_key [my_package_key] \ -config_list $cf \ -template_src "news-aggregator-admin-portlet" - } Index: openacs-4/packages/news-aggregator-portlet/tcl/news-aggregator-portlet-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news-aggregator-portlet/tcl/news-aggregator-portlet-procs.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/news-aggregator-portlet/tcl/news-aggregator-portlet-procs.tcl 31 Jul 2020 12:52:06 -0000 1.4 +++ openacs-4/packages/news-aggregator-portlet/tcl/news-aggregator-portlet-procs.tcl 31 Jul 2020 12:53:51 -0000 1.5 @@ -15,41 +15,33 @@ return "news_aggregator_portlet" } - - ad_proc -private news_aggregator_portlet::my_package_key { } { return "news-aggregator-portlet" } - - ad_proc -public news_aggregator_portlet::get_pretty_name {} { Get portlet pretty name } { return "#news-aggregator-portlet.news_aggregator_portlet_pretty_name#" } - - ad_proc -public news_aggregator_portlet::link {} { Get portlet link } { return "" } - - ad_proc -public news_aggregator_portlet::add_self_to_page { {-portal_id:required} {-package_id:required} {-param_action:required} } { Adds a news-aggregator PE to the given portal. - + @param portal_id The page to add self to @param package_id The community with the folder - + @return element_id The new element's id } { return [portal::add_element_parameters \ @@ -64,15 +56,13 @@ ] } - - ad_proc -public news_aggregator_portlet::remove_self_from_page { {-portal_id:required} {-package_id:required} } { Removes a news-aggregator PE from the given page or the package_id of the news-aggregator package from the portlet if there are others remaining - + @param portal_id The page to remove self from @param package_id } { @@ -82,8 +72,6 @@ -value $package_id } - - ad_proc -public news_aggregator_portlet::show { cf } {