--- loncom/homework/grades.pm 2009/06/06 19:36:37 1.574.2.2
+++ loncom/homework/grades.pm 2009/12/27 02:05:40 1.574.2.6
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.574.2.2 2009/06/06 19:36:37 raeburn Exp $
+# $Id: grades.pm,v 1.574.2.6 2009/12/27 02:05:40 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1734,8 +1734,7 @@ sub gradeBox {
#&mt('
Part:
[_1]
Points:
[_2]
or
[_3]
',$display_part,$radio,$line);
$result .=
- '
'.&mt('Part').':
'.$display_part.'
'.&mt('Points').':
'.$radio.'
'.&mt('or').'
'.$line.'
'.
-
+ '
'.&mt('Part').':
'.$display_part.'
'.&mt('Points').':
'.$radio.'
'.&mt('or').'
'.$line.'
';
$result.=''."\n";
$result.=''."\n".
''."\n".
@@ -4689,7 +4688,7 @@ sub updateGradeByPage {
#
#-------------------------------------------------------------------
-#--------------------Scantron Grading-----------------------------------
+#--------------------Bubblesheet (Scantron) Grading-----------------------------------
#
#------ start of section for handling grading by page/sequence ---------
@@ -5199,7 +5198,7 @@ sub scantron_selectphase {
&Apache::loncommon::start_data_table_row()."\n".
'
'."\n".
''."\n".
- ''."\n".
+ ''."\n".
'
'."\n".
&Apache::loncommon::end_data_table_row()."\n".
&Apache::loncommon::end_data_table()."\n".
@@ -7474,8 +7473,8 @@ SCANTRONFORM
my $lock=&Apache::lonnet::set_lock(&mt('Grading bubblesheet exam'));
my $count=&get_todo_count($scanlines,$scan_data);
- my %prog_state=&Apache::lonhtmlcommon::Create_PrgWin($r,'Scantron Status',
- 'Scantron Progress',$count,
+ my %prog_state=&Apache::lonhtmlcommon::Create_PrgWin($r,'Bubblesheet Status',
+ 'Bubblesheet Progress',$count,
'inline',undef,'scantronupload');
&Apache::lonhtmlcommon::Update_PrgWin($r,\%prog_state,
'Processing first student');
@@ -7709,15 +7708,17 @@ sub scantron_upload_scantron_data {
my $syllabuslink = ''.&mt('Syllabus').''.
(' 'x2).&mt('(shows course personnel)');
my $default_form_data=&defaultFormData(&get_symb($r,1));
+ my $nofile_alert = &mt('Please use the browse button to select a file from your local directory.');
+ my $nocourseid_alert = &mt("Please use the 'Select Course' link to open a separate window where you can search for a course to which a file can be uploaded.");
$r->print('