+ +@rendered_page@ Index: openacs-4/packages/dotlrn/www/configure.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/www/configure.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/dotlrn/www/configure.tcl 9 Nov 2001 03:56:43 -0000 1.1 @@ -0,0 +1,24 @@ + +ad_page_contract { + Displays a configuration page for the main portal + + @author Ben Adida (ben@openforce.net) + @author Arjun Sanyal (arjun@openforce.net) + @creation-date 2001-11-08 +} { +} + +set user_id [ad_conn user_id] + +# Pull out the NPP page ID and render it! +set page_id [dotlrn_community::get_workspace_page_id $user_id] + +# Get the portal's name for the title +set name [portal::get_name $page_id] + +set rendered_page [portal::configure $page_id] + +set context_bar {Configure} + +ad_return_template + Index: openacs-4/packages/dotlrn/www/student-list.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/www/Attic/student-list.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/dotlrn/www/student-list.adp 9 Oct 2001 15:02:49 -0000 1.1 +++ openacs-4/packages/dotlrn/www/student-list.adp 9 Nov 2001 03:56:43 -0000 1.2 @@ -3,6 +3,6 @@
+ +
Index: openacs-4/packages/dotlrn/www/admin/community-user-add-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/www/admin/Attic/community-user-add-2.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/dotlrn/www/admin/community-user-add-2.tcl 9 Nov 2001 03:56:43 -0000 1.1 @@ -0,0 +1,24 @@ + +ad_page_contract { + Search for a new user for dotLRN + + @author Ben Adida (ben@openforce.net) + @creation-date 2001-11-04 +} { + user_id + community_id +} + +# Get user information +db_1row select_user_info "select first_names, last_name, email from dotlrn_users_full where user_id=:user_id" + +# Depending on the community_type, we have allowable rel_types +set rel_types [dotlrn_community::get_allowed_rel_types -community_id $community_id] + +template::multirow create roles rel_type pretty_name + +foreach rel_type $rel_types { + template::multirow append roles [lindex $rel_type 0] [lindex $rel_type 1] +} + +ad_return_template Index: openacs-4/packages/dotlrn/www/admin/community-user-add-3.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/www/admin/Attic/community-user-add-3.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/dotlrn/www/admin/community-user-add-3.tcl 9 Nov 2001 03:56:43 -0000 1.1 @@ -0,0 +1,16 @@ + +ad_page_contract { + Add the new user + + @author Ben Adida (ben@openforce.net) + @creation-date 2001-11-04 +} { + community_id + user_id + rel_type +} + +# Add the relation +dotlrn_community::add_user -rel_type $rel_type $community_id $user_id + +ad_returnredirect "one-class-instance?class_instance_id=$community_id" Index: openacs-4/packages/dotlrn/www/admin/community-user-add.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/www/admin/Attic/community-user-add.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/dotlrn/www/admin/community-user-add.adp 9 Nov 2001 01:11:31 -0000 1.1 +++ openacs-4/packages/dotlrn/www/admin/community-user-add.adp 9 Nov 2001 03:56:43 -0000 1.2 @@ -4,7 +4,7 @@ The results of your search are:-
+