--- loncom/interface/statistics/lonstudentassessment.pm 2006/06/30 04:15:07 1.141 +++ loncom/interface/statistics/lonstudentassessment.pm 2013/05/11 21:39:31 1.169.2.4 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstudentassessment.pm,v 1.141 2006/06/30 04:15:07 albertel Exp $ +# $Id: lonstudentassessment.pm,v 1.169.2.4 2013/05/11 21:39:31 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -166,6 +166,8 @@ sub BuildStudentAssessmentPage { &Apache::lonstatistics::DisplayClasslist($r); return; } + $r->print(&Apache::lonhtmlcommon::breadcrumbs('Chart','Chart_Description:Chart_Sections:Chart_Student_Data:Chart_Enrollment_Status:Chart_Sequences:Chart_Output_Formats:Chart_Output_Data')); + # # Print out the HTML headers for the interface # This also parses the output mode selector @@ -248,14 +250,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,20 +266,20 @@ 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; return $Str; @@ -318,8 +320,6 @@ the chart page. ####################################################### sub CreateInterface { my $Str = ''; - $Str .= &Apache::lonhtmlcommon::breadcrumbs('Chart','Chart_Description:Chart_Sections:Chart_Student_Data:Chart_Enrollment_Status:Chart_Sequences:Chart_Output_Formats:Chart_Output_Data'); -# $Str .= &CreateLegend(); $Str .= '
'.&mt('Sections').''. @@ -327,10 +327,10 @@ sub CreateInterface { ' | '; $Str .= ''.&mt('Groups').''. ' | '; - $Str .= ''.&mt('Student Data'). + $Str .= ' | '.&mt('Student Data').''. &Apache::loncommon::help_open_topic("Chart_Student_Data"). ' | '; - $Str .= ''.&mt('Enrollment Status').''. + $Str .= ' | '.&mt('Access Status').''. &Apache::loncommon::help_open_topic("Chart_Enrollment_Status"). ' | '; $Str .= ''.&mt('Sequences and Folders').''. @@ -361,19 +361,15 @@ sub CreateInterface { $Str .= &CreateAndParseOutputDataSelector(); $Str .= ' |
' + .'' + .'
'; return $Str; } @@ -466,7 +462,7 @@ sub CreateAndParseOutputSelector { $Str = qq/"; @@ -546,7 +542,7 @@ my @OutputDataOptions = summary_table => 1, maximum_row => 0, ignore_weight => 1, - shortdesc => 'Number of Problem Parts completed successfully.', + shortdesc => 'Number of Problem Parts completed successfully', longdesc => 'The Number of Problem Parts completed successfully and '. 'the maximum possible for each student', }, @@ -554,7 +550,7 @@ my @OutputDataOptions = sub HTMLifyOutputDataDescriptions { my $Str = ''; - $Str .= "' + .&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'); $r->print(<