--- loncom/interface/loncommon.pm 2009/08/14 08:07:11 1.692.4.9
+++ loncom/interface/loncommon.pm 2010/01/19 16:34:57 1.692.4.25
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.692.4.9 2009/08/14 08:07:11 raeburn Exp $
+# $Id: loncommon.pm,v 1.692.4.25 2010/01/19 16:34:57 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -481,8 +481,11 @@ ENDAUTHORBRW
}
sub coursebrowser_javascript {
- my ($domainfilter,$sec_element,$formname)=@_;
- my $crs_or_grp_alert = &mt('Please select the type of LON-CAPA entity - Course or Community - for which you wish to add/modify a user role');
+ my ($domainfilter,$sec_element,$formname,$role_element,$crstype) = @_;
+ my $wintitle = 'Course_Browser';
+ if ($crstype eq 'Community') {
+ $wintitle = 'Community_Browser';
+ }
my $id_functions = &javascript_index_functions();
my $output = '
ENDTEMPLATE
return $template;
@@ -1874,7 +1947,7 @@ sub select_level_form {
=pod
-=item * &select_dom_form($defdom,$name,$includeempty,$showdomdesc,$onchange)
+=item * &select_dom_form($defdom,$name,$includeempty,$showdomdesc,$onchange,$incdoms)
Returns a string containing a