Index: openacs-4/packages/faq-portlet/tcl/faq-portlet-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/faq-portlet/tcl/faq-portlet-procs.tcl,v diff -u -r1.34 -r1.35 --- openacs-4/packages/faq-portlet/tcl/faq-portlet-procs.tcl 7 Aug 2017 23:48:11 -0000 1.34 +++ openacs-4/packages/faq-portlet/tcl/faq-portlet-procs.tcl 11 Jul 2018 14:44:19 -0000 1.35 @@ -38,11 +38,15 @@ ad_proc -public get_pretty_name { } { + Get pretty name. + } { return "#faq-portlet.pretty_name#" } ad_proc -public link { } { + Get link. This is currently empty. + } { return "" } @@ -52,7 +56,7 @@ {-param_action:required} } { Adds a faq PE to the given portal or appends the given - faq_package_id to the params of the faq pe already there + faq_package_id to the params of the faq pe already there. @param portal_id The page to add self to @param faq_package_id the id of the faq package for this community @@ -78,7 +82,7 @@ } { Removes a faq PE from the given page or just the passed in faq_package_id parameter from the portlet - (that has other faq_package_ids) + (that has other faq_package_ids). @param portal_id The page to remove self from @param package_id @@ -93,6 +97,7 @@ ad_proc -public show { cf } { + Show the FAQ admin portlet. } { portal::show_proc_helper \ -package_key [my_package_key] \ Index: openacs-4/packages/forums-portlet/tcl/forums-portlet-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums-portlet/tcl/forums-portlet-procs.tcl,v diff -u -r1.6 -r1.7 --- openacs-4/packages/forums-portlet/tcl/forums-portlet-procs.tcl 7 Aug 2017 23:48:12 -0000 1.6 +++ openacs-4/packages/forums-portlet/tcl/forums-portlet-procs.tcl 11 Jul 2018 14:47:09 -0000 1.7 @@ -33,6 +33,8 @@ ad_proc -public get_pretty_name { } { + Get pretty name. + } { return "#forums-portlet.pretty_name#" } @@ -43,6 +45,8 @@ ad_proc -public link { } { + Get link. This is currently empty. + } { return "" } @@ -53,7 +57,7 @@ {-param_action:required} } { Adds a forums PE to the given portal or appends the given forums package_id - to the forums PE that already on the portal + to the forums PE that is already on the portal. } { return [portal::add_element_parameters \ -portal_id $portal_id \ @@ -73,7 +77,7 @@ portal_id package_id } { - Removes a forums PE from the given page or just the given forums's package_id + Removes a forums PE from the given page or just the given forums's package_id. } { portal::remove_element_parameters \ -portal_id $portal_id \ @@ -84,6 +88,7 @@ ad_proc -public show { cf } { + Show the forums portlet. } { # no return call required with the helper proc portal::show_proc_helper \ Index: openacs-4/packages/forums-portlet/tcl/forums-admin-portlet-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums-portlet/tcl/forums-admin-portlet-procs.tcl,v diff -u -r1.6 -r1.7 --- openacs-4/packages/forums-portlet/tcl/forums-admin-portlet-procs.tcl 7 Aug 2017 23:48:12 -0000 1.6 +++ openacs-4/packages/forums-portlet/tcl/forums-admin-portlet-procs.tcl 11 Jul 2018 14:50:42 -0000 1.7 @@ -32,6 +32,8 @@ ad_proc -public get_pretty_name { } { + Get pretty name. + } { return "#forums-portlet.admin_pretty_name#" } @@ -42,14 +44,16 @@ ad_proc -public link { } { + Get link. This is currently empty. + } { return "" } ad_proc -public add_self_to_page { {-portal_id:required} {-package_id:required} } { - Adds a forums admin PE to the admin portal + Adds a forums admin PE to the admin portal. @return new element_id } { @@ -65,7 +69,7 @@ ad_proc -public remove_self_from_page { {-portal_id:required} } { - Removes the forums admin PE from the portal + Removes the forums admin PE from the portal. } { portal::remove_element \ -portal_id $portal_id \ @@ -75,6 +79,7 @@ ad_proc -public show { cf } { + Show the forums admin portlet. } { portal::show_proc_helper \ -package_key [my_package_key] \ @@ -84,8 +89,10 @@ ad_proc -public edit { cf + } { + Edit the forums admin portlet. This is currently not + implemented. } { - } { return "" }