--- loncom/interface/statistics/lonstudentassessment.pm 2009/05/17 22:49:42 1.153 +++ loncom/interface/statistics/lonstudentassessment.pm 2009/08/10 16:32:32 1.156 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstudentassessment.pm,v 1.153 2009/05/17 22:49:42 bisitz Exp $ +# $Id: lonstudentassessment.pm,v 1.156 2009/08/10 16:32:32 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -248,14 +248,14 @@ sub next_and_previous_buttons { if (defined($previous)) { my $sname = $previous->{'username'}.':'.$previous->{'domain'}; $previousbutton .= ''; } else { $previousbutton .= ''; + &mt('Previous Student').'" disabled="disabled" />'; } # # Build the next student link @@ -264,19 +264,19 @@ sub next_and_previous_buttons { if (defined($next)) { my $sname = $next->{'username'}.':'.$next->{'domain'}; $nextbutton .= ''; } else { $nextbutton .= ''; + &mt('Next Student').'" disabled="disabled" />'; } # # Build the 'all students' button my $all = ''; - $all .= ''; $Str .= $previousbutton.(' 'x5).$all.(' 'x5).$nextbutton; @@ -361,19 +361,19 @@ sub CreateInterface { $Str .= &CreateAndParseOutputDataSelector(); $Str .= ''."\n"; $Str .= ''."\n"; - $Str .= ''; - $Str .= ' 'x5; + $Str .= '

' + .&mt('Status:').' ' + .'' + .'

'; $Str .= ''; $Str .= ' 'x5; $Str .= ''; - $Str .= ' 'x5; - $Str .= - &mt('Status [_1]', - ''); - $Str .= '
'; + $Str .= '

' + .'' + .'

'; return $Str; } @@ -663,9 +663,9 @@ sub html_initialize { &Apache::lonstatistics::selected_sequences_with_assessments(); if (! ref($navmap)) { # Unable to get data, so bail out - $r->print("

". - &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 @@ -682,7 +682,7 @@ NEW_WINDOW_CHECKBOX # $r->print("

".$env{'course.'.$env{'request.course.id'}.'.description'}. - "  ".localtime(time)."

"); + "  ".&Apache::lonlocal::locallocaltime(time).""); # if ($chosen_output->{'base'} !~ /^final table/) { $r->print("

".&mt($chosen_output->{'shortdesc'})."

");