'."\n";
$Str .= ''."\n";
foreach my $field (@Fields) {
- $Str .= ''.$field.
+ $Str .= ' | '.&mt($field).
' | ';
}
$Str .= ' '."\n";
@@ -996,6 +1038,8 @@ sub DisplayClasslist {
$Str .= &Apache::lonnet::escape($sname).'">';
$Str .= $student->{$field}.' ';
$Str .= '';
+ } elsif ($field eq 'status') {
+ $Str .= &mt($student->{$field});
} else {
$Str .= $student->{$field};
}
@@ -1036,6 +1080,11 @@ sub CreateMainMenu {
short_description =>
&mt('Prepare Excel spreadsheets of student submissions.'),
},
+ { internal_name => 'survey_reports',
+ name => &mt('Survey Reports'),
+ short_description =>
+ &mt('Prepare reports on survey results.'),
+ },
{ internal_name => 'correct_problems_plot',
name => &mt('Correct Problems Plot'),
short_description =>
@@ -1112,8 +1161,8 @@ sub handler {
# Either print out a menu for them or send them to a report
&Apache::lonhtmlcommon::clear_breadcrumbs();
&Apache::lonhtmlcommon::add_breadcrumb({href=>'/adm/statistics',
- title=>&mt('Statistics'),
- text =>&mt('Statistics'),
+ title=>'Statistics',
+ text =>'Statistics',
faq=>139,
bug=>'Statistics and Charts'});
if (! exists($ENV{'form.reportSelected'}) ||
@@ -1162,41 +1211,41 @@ sub handler {
} elsif($GoToPage eq 'problem_statistics') {
&Apache::lonhtmlcommon::add_breadcrumb
({href=>'/adm/statistics?reportselected=problem_statistics',
- text=>&mt('Overall Problem Statistics'),
- faq=>139,bug=>'Statistics and Charts'});
+ text=>'Overall Problem Statistics'});
&Apache::lonproblemstatistics::BuildProblemStatisticsPage($r,$c);
} elsif($GoToPage eq 'problem_analysis') {
&Apache::lonhtmlcommon::add_breadcrumb
({href=>'/adm/statistics?reportselected=problem_analysis',
- text=>&mt('Detailed Problem Analysis'),
- faq=>139,bug=>'Statistics and Charts'});
+ text=>'Detailed Problem Analysis'});
&Apache::lonproblemanalysis::BuildProblemAnalysisPage($r,$c);
} elsif($GoToPage eq 'submissiontime_analysis') {
&Apache::lonhtmlcommon::add_breadcrumb
({href=>
'/adm/statistics?reportselected=submissiontime_analysis',
- text=>&mt('Submission Time Plots'),
- faq=>139,bug=>'Statistics and Charts'});
+ text=>'Submission Time Plots'});
&Apache::lonsubmissiontimeanalysis::BuildSubmissionTimePage($r,$c);
} elsif($GoToPage eq 'student_submission_reports') {
&Apache::lonhtmlcommon::add_breadcrumb
({href=>
'/adm/statistics?reportselected=student_submission_reports',
- text=>&mt('Student Submission Reports'),
- faq=>139,bug=>'Statistics and Charts'});
+ text=>'Student Submission Reports'});
&Apache::lonstudentsubmissions::BuildStudentSubmissionsPage($r,$c);
+ } elsif($GoToPage eq 'survey_reports') {
+ &Apache::lonhtmlcommon::add_breadcrumb
+ ({href=>
+ '/adm/statistics?reportselected=survey_reports',
+ text=>'Survey Reports'});
+ &Apache::lonsurveyreports::BuildSurveyReportsPage($r,$c);
} elsif($GoToPage eq 'correct_problems_plot') {
&Apache::lonhtmlcommon::add_breadcrumb
({href=>'/adm/statistics?reportselected=correct_problems_plot',
- text=>&mt('Correct Problems Plot'),
- faq=>139,bug=>'Statistics and Charts'});
+ text=>'Correct Problems Plot'});
&Apache::loncorrectproblemplot::BuildCorrectProblemsPage($r,$c);
} elsif($GoToPage eq 'student_assessment') {
&Apache::lonhtmlcommon::clear_breadcrumbs();
&Apache::lonhtmlcommon::add_breadcrumb
({href=>'/adm/statistics?reportselected=student_assessment',
- text=>&mt('Chart'),
- faq=>139,bug=>'Statistics and Charts'});
+ text=>'Chart'});
&Apache::lonstudentassessment::BuildStudentAssessmentPage($r,$c);
}
#
|