Index: openacs-4/packages/dotlrn/tcl/community-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/tcl/community-procs.xql,v diff -u -r1.45 -r1.46 --- openacs-4/packages/dotlrn/tcl/community-procs.xql 29 Mar 2002 19:38:25 -0000 1.45 +++ openacs-4/packages/dotlrn/tcl/community-procs.xql 4 Apr 2002 05:55:45 -0000 1.46 @@ -256,7 +256,7 @@ - + select 1 from dual where exists (select 1 from dotlrn_communities where parent_community_id = :community_id) @@ -268,6 +268,19 @@ + + + select community_id as sc_id, + acs_permission.permission_p(community_id, :user_id, 'admin') as admin_p, + dotlrn_community.member_p(community_id, :user_id) as member_p, + dotlrn_community.has_subcomm_p(community_id) as has_subcomm_p, + dotlrn_community.name(community_id) as name, + dotlrn_community.url(community_id) as url + from dotlrn_communities + where parent_community_id = :community_id + + + select package_id from dotlrn_community_types where community_type= :community_type @@ -296,7 +309,7 @@ - + select pretty_name from dotlrn_communities where community_id= :community_id