'."\n";
$Str .= ''."\n";
foreach my $field (@Fields) {
- $Str .= ''.$field.
+ $Str .= ' | '.&mt($field).
' | ';
}
$Str .= ' '."\n";
@@ -996,6 +890,8 @@ sub DisplayClasslist {
$Str .= &Apache::lonnet::escape($sname).'">';
$Str .= $student->{$field}.' ';
$Str .= '';
+ } elsif ($field eq 'status') {
+ $Str .= &mt($student->{$field});
} else {
$Str .= $student->{$field};
}
@@ -1034,7 +930,12 @@ sub CreateMainMenu {
{ internal_name => 'student_submission_reports',
name => &mt('Student Submission Reports'),
short_description =>
- &mt('Prepare Excel spreadsheets of student submissions.'),
+ &mt('Prepare reports 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'),
@@ -1103,9 +1004,18 @@ sub handler {
'SelectedStudent']);
#
# Give the LON-CAPA page header
+ my $style = <
+ ul.sub_studentans { list-style-type: none }
+ ul.sub_correctans { list-style-type: none }
+ tr.even { background-color: \#CCCCCC }
+ td.essay { border: 1px solid gray; }
+
+ENDSTYLE
$r->print(''.
&mt('Course Statistics and Charts').
- "\n".
+ ''.$style.
+ "\n".
&Apache::loncommon::bodytag('Course Statistics and Charts'));
$r->rflush();
#
@@ -1119,7 +1029,7 @@ sub handler {
if (! exists($ENV{'form.reportSelected'}) ||
$ENV{'form.reportSelected'} eq '') {
$r->print(&Apache::lonhtmlcommon::breadcrumbs
- (undef,'Statistics Main Page').
+ (undef,&mt('Statistics Main Page')).
&CreateMainMenu());
} else {
#
@@ -1162,41 +1072,41 @@ sub handler {
} elsif($GoToPage eq 'problem_statistics') {
&Apache::lonhtmlcommon::add_breadcrumb
({href=>'/adm/statistics?reportselected=problem_statistics',
- text=>'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=>'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=>'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=>'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=>'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=>'Chart',
- faq=>139,bug=>'Statistics and Charts'});
+ text=>'Chart'});
&Apache::lonstudentassessment::BuildStudentAssessmentPage($r,$c);
}
#
|