@@ -506,9 +516,19 @@ END
ENDDOCUMENT
- } elsif ($crstype eq 'Group') {
+ } elsif ($crstype eq 'Community') {
$r->print(<
+
+
+
+
$lt{'grtq'}
Mb
-
-
-
-
@@ -646,7 +656,7 @@ sub create_course {
my $r=shift;
my $ccuname =&LONCAPA::clean_username($env{'form.ccuname'});
my $ccdomain=&LONCAPA::clean_domain($env{'form.ccdomain'});
- my $crstype = 'Group';
+ my $crstype = 'Community';
my ($enrollstart,$enrollend,$startaccess,$endaccess);
if ($env{'form.phase'} eq 'coursetwo') {
@@ -763,9 +773,9 @@ sub create_course {
# Make the requested user a course coordinator or group coordinator
#
if (($ccdomain) && ($ccuname)) {
- $r->print(&mt('Assigning role of [_1] Coordinator to [_2] at [_3]: ',
- $crstype,$ccuname,$ccdomain).
- &Apache::lonnet::assignrole($ccdomain,$ccuname,$courseid,
+ $r->print(&mt('Assigning role of '.$crstype.' Coordinator to [_1]:',
+ ,''.$ccuname.':'.$ccdomain.'')
+ .&Apache::lonnet::assignrole($ccdomain,$ccuname,$courseid,
'cc','','','','','createcourse').' ');
}
if ($env{'form.setkeys'}) {
@@ -777,18 +787,18 @@ sub create_course {
$r->print(' '.&mt('Roles will be active at next login').'.$lt{'co'} $lt{'gc'}
+$lt{'ginf'}
$lt{'grts'}
+
-$lt{'gc'}
-