Index: openacs-4/packages/dotlrn/www/one-community.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/www/one-community.tcl,v diff -u -r1.24 -r1.25 --- openacs-4/packages/dotlrn/www/one-community.tcl 19 Apr 2002 18:16:48 -0000 1.24 +++ openacs-4/packages/dotlrn/www/one-community.tcl 6 May 2002 23:55:02 -0000 1.25 @@ -59,7 +59,7 @@ set context_bar [list "Pending approval"] } - set portal_id [dotlrn_community::get_community_non_members_portal_id $community_id] + set portal_id [dotlrn_community::get_non_member_portal_id -community_id $community_id] # Possible that there is no portal page for non-members if {! [empty_string_p $portal_id]} { @@ -72,11 +72,7 @@ ad_return_template one-community-not-member return } else { - # Pull out the NPP page ID and render it! - # Ben's MAJOR HACK to emulate SS v1.0 - # Arjun is in major pain - # set portal_id [dotlrn_community::get_portal_id $community_id $user_id] - set portal_id [dotlrn_community::get_portal_template_id $community_id] + set portal_id [dotlrn_community::get_portal_id -community_id $community_id] set rendered_page [dotlrn::render_page -hide_links_p "t" -page_num $page_num $portal_id]