--- loncom/interface/statistics/lonstudentassessment.pm 2010/02/12 15:11:08 1.150.2.4 +++ loncom/interface/statistics/lonstudentassessment.pm 2010/06/09 14:55:27 1.162 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstudentassessment.pm,v 1.150.2.4 2010/02/12 15:11:08 raeburn Exp $ +# $Id: lonstudentassessment.pm,v 1.162 2010/06/09 14:55:27 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -255,7 +255,7 @@ sub next_and_previous_buttons { 'document.Statistics.submit();" />'; } else { $previousbutton .= ''; + &mt('Previous Student').'" disabled="disabled" />'; } # # Build the next student link @@ -267,11 +267,11 @@ sub next_and_previous_buttons { &mt('Next Student ([_1])', $next->{'username'}.':'.$next->{'domain'}). '" onclick="document.Statistics.SelectedStudent.value='. - "'$sname'".';'. + "'".$sname."'".';'. 'document.Statistics.submit();" />'; } else { $nextbutton .= ''; + &mt('Next Student').'" disabled="disabled" />'; } # # Build the 'all students' button @@ -361,20 +361,19 @@ sub CreateInterface { $Str .= &CreateAndParseOutputDataSelector(); $Str .= ''."\n"; $Str .= ''."\n"; - $Str .= '
'. - &mt('Status:').' '. - ''. - '
'; + $Str .= '' + .&mt('Status:').' ' + .'' + .'
'; $Str .= ''; $Str .= ' 'x5; $Str .= ''; - $Str .= ''. - ''. - '
'; - + $Str .= '' + .'' + .'
'; return $Str; } @@ -556,7 +555,6 @@ my @OutputDataOptions = sub HTMLifyOutputDataDescriptions { my $Str = ''; $Str .= ''. - &mt('Unable to retrieve course information.'). - '
'); + $r->print('' + .&mt('Unable to retrieve course information.') + .'
'); } # If we're showing links, show a checkbox to open in new # windows. if ($show_links ne 'no') { - my $labeltext = &mt('Show links in new window:'); + my $labeltext = &mt('Show links in new window'); $r->print(<