Index: openacs-4/packages/dotlrn/www/community.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/www/Attic/community.tcl,v diff -u -N -r1.9 -r1.10 --- openacs-4/packages/dotlrn/www/community.tcl 21 May 2002 17:30:02 -0000 1.9 +++ openacs-4/packages/dotlrn/www/community.tcl 5 Jul 2002 08:13:46 -0000 1.10 @@ -39,7 +39,6 @@ # Check that this user is a member if {![dotlrn_community::member_p $community_id $user_id]} { set context_bar [list "Not a member"] - set portal_id [dotlrn_community::get_non_member_portal_id -community_id $community_id] # Possible that there is no portal page for non-members @@ -53,12 +52,9 @@ return } else { set portal_id [dotlrn_community::get_portal_id -community_id $community_id] - set rendered_page [dotlrn::render_page $portal_id] - set context_bar {View} + set admin_p [dotlrn::user_can_admin_community_p -community_id $community_id] - set admin_p [dotlrn::user_can_admin_community_p $community_id] - ad_return_template }