--- loncom/interface/loncreateuser.pm 2008/06/05 12:55:04 1.243 +++ loncom/interface/loncreateuser.pm 2008/07/04 18:30:30 1.247 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Create a user # -# $Id: loncreateuser.pm,v 1.243 2008/06/05 12:55:04 raeburn Exp $ +# $Id: loncreateuser.pm,v 1.247 2008/07/04 18:30:30 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2069,7 +2069,10 @@ END if ($env{'form.popup'}) { $r->print('

'.&mt('Close window').'

'); } else { - $r->print('

'.&mt('Modify this user: ([_1])',$userinfo).''.(' 'x5).''.&mt('Create/Modify Another User').'

'); + $r->print('

' + .&mt('Modify this user: [_1]',''.$env{'form.ccuname'}.':'.$env{'form.ccdomain'}.' ('.$userinfo.')').'' + .(' 'x5).'' + .&mt('Create/Modify Another User').'

'); } } $r->print(&Apache::loncommon::end_page()); @@ -3245,7 +3248,7 @@ sub print_selfenroll_menu { } my $add_domtitle = &mt('Additional domain:'); if ($curr_types eq '*') { - $add_domtitle = &mt('Specific Domain:'); + $add_domtitle = &mt('Specific domain:'); } elsif ($curr_types eq '') { $add_domtitle = &mt('Other domain:'); } @@ -3266,10 +3269,10 @@ sub print_selfenroll_menu { $regoff = ' checked="checked" '; } $output .= '  '; + ''. + &mt('Yes').'  '; } elsif ($item eq 'enroll_dates') { my $starttime = $env{'course.'.$env{'request.course.id'}.'.internal.selfenroll_start_date'}; my $endtime = $env{'course.'.$env{'request.course.id'}.'.internal.selfenroll_end_date'}; @@ -3357,7 +3360,11 @@ sub selfenroll_inst_types { my $numinrow = 4; my $count = 0; my ($othertitle,$usertypes,$types) = &Apache::loncommon::sorted_inst_types($currdom); + my $othervalue = 'any'; if ((ref($types) eq 'ARRAY') && (ref($usertypes) eq 'HASH')) { + if (@{$types} > 0) { + $othervalue = 'other'; + } $output .= ''; foreach my $type (@{$types}) { if (($count > 0) && ($count%$numinrow == 0)) { @@ -3380,7 +3387,7 @@ sub selfenroll_inst_types { if (($count > 0) && ($count%$numinrow == 0)) { $output .= ''; } - $output .= '