+#dotfolio.group_members_admin#
+@context_bar;noquote@
+
+#dotfolio.members_of_group#
+
+
+
+
+
+#dotfolio.non_members_that_can_be_added#
+
+
+
+
Index: openacs-4/packages/dotfolio/www/admin/group-members.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotfolio/www/admin/group-members.tcl,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ openacs-4/packages/dotfolio/www/admin/group-members.tcl 19 May 2005 15:19:32 -0000 1.1
@@ -0,0 +1,63 @@
+ad_page_contract {
+
+ Displays members for a given group ID.
+
+ @author Nick Carroll (ncarroll@ee.usyd.edu.au)
+ @creation-date 2005-01-02
+ @version $Id: group-members.tcl,v 1.1 2005/05/19 15:19:32 ncarroll Exp $
+
+} {
+ group_id:integer,notnull
+} -properties {
+ context_bar:onevalue
+}
+
+set context_bar "[_ dotfolio.group_members_curly]"
+
+set group_name [db_string group_name {} -default ""]
+
+db_multirow group_members group_members {}
+
+template::list::create \
+ -name group_members \
+ -multirow group_members \
+ -key user_id \
+ -bulk_actions {
+ "Remove" "group-members-rem" "Remove user from group"
+ } \
+ -bulk_action_method post -bulk_action_export_vars {
+ user_id group_id
+ } \
+ -no_data {#dotfolio.no_members_added_to_group#} \
+ -elements {
+ name {
+ label #dotfolio.name#
+ }
+ pretty_type {
+ label #dotfolio.role_type#
+ }
+ }
+
+db_multirow non_group_members non_group_members {}
+
+template::list::create \
+ -name non_group_members \
+ -multirow non_group_members \
+ -key user_id \
+ -bulk_actions {
+ "Add" "group-members-add" "Add user to group"
+ } \
+ -bulk_action_method post -bulk_action_export_vars {
+ user_id group_id
+ } \
+ -no_data {#dotfolio.no_members_added_to_group#} \
+ -elements {
+ name {
+ label #dotfolio.name#
+ }
+ pretty_type {
+ label #dotfolio.role_type#
+ }
+ }
+
+ad_return_template
Index: openacs-4/packages/dotfolio/www/admin/groups.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotfolio/www/admin/groups.tcl,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/dotfolio/www/admin/groups.tcl 14 May 2005 14:27:44 -0000 1.1
+++ openacs-4/packages/dotfolio/www/admin/groups.tcl 19 May 2005 15:19:32 -0000 1.2
@@ -25,7 +25,10 @@
group_name {
label "#dotfolio.group_name#"
display_template {
- @groups.group_name;noquote@
+
+ @groups.group_name;noquote@
+
+ @groups.group_name;noquote@
}
}
adviser {