Index: openacs-4/packages/dotlrn-portlet/www/dotlrn-admin-portlet.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-portlet/www/dotlrn-admin-portlet.adp,v diff -u -r1.24 -r1.24.2.1 --- openacs-4/packages/dotlrn-portlet/www/dotlrn-admin-portlet.adp 9 Aug 2002 18:39:29 -0000 1.24 +++ openacs-4/packages/dotlrn-portlet/www/dotlrn-admin-portlet.adp 17 Oct 2002 10:49:03 -0000 1.24.2.1 @@ -31,32 +31,36 @@
+
  • Manage Membership - Add/Remove @pretty_name@ members
  • -
  • Edit properties
  • -
    - -
  • Customize layout
  • -
    - -
  • - Membership - +

  • Index: openacs-4/packages/dotlrn-portlet/www/dotlrn-admin-portlet.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-portlet/www/dotlrn-admin-portlet.tcl,v diff -u -r1.12 -r1.12.2.1 --- openacs-4/packages/dotlrn-portlet/www/dotlrn-admin-portlet.tcl 9 Aug 2002 18:39:29 -0000 1.12 +++ openacs-4/packages/dotlrn-portlet/www/dotlrn-admin-portlet.tcl 17 Oct 2002 10:49:03 -0000 1.12.2.1 @@ -36,6 +36,18 @@ set admin_pretty_name [ad_parameter dotlrn_admin_pretty_name dotlrn] set subcommunity_p [dotlrn_community::subcommunity_p -community_id $community_id] +#The community_type is dotlrn_club for "communties" and the subject name for classes. +set comm_type [dotlrn_community::get_community_type_from_community_id $community_id] + +if {$comm_type == "dotlrn_club"} { + set club_p 1 +} else { + set club_p 0 +} + +set members_rel_id [dotlrn_community::get_members_rel_id -community_id $community_id] +set members_can_spam_p [permission::permission_p -party_id $members_rel_id -object_id $community_id -privilege dotlrn_spam_community] + # get the community info db_1row select_community_info {} Index: openacs-4/packages/dotlrn-portlet/www/dotlrn-members-portlet.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-portlet/www/dotlrn-members-portlet.adp,v diff -u -r1.10 -r1.10.2.1 --- openacs-4/packages/dotlrn-portlet/www/dotlrn-members-portlet.adp 9 Aug 2002 18:39:29 -0000 1.10 +++ openacs-4/packages/dotlrn-portlet/www/dotlrn-members-portlet.adp 17 Oct 2002 10:49:03 -0000 1.10.2.1 @@ -18,43 +18,49 @@ %> - -