'."\n";
+ 'onClick="javascript:submit();" target="_self" />'."\n";
if (scalar(%$fullname) eq 0) {
my $colspan=3+scalar(@parts);
$result='There are no students in section "'.$env{'form.section'}.
@@ -3107,7 +3093,7 @@ sub viewstudentgrade {
''.
"\n".$ctr.'
'."\n";
$student=~s/:/_/; # colon doen't work in javascript for names
foreach my $apart (@$parts) {
@@ -3471,6 +3457,7 @@ sub csvuploadmap_header {
my ($result) = &showResourceInfo($symb,$env{'form.probTitle'});
my $checked=(($env{'form.noFirstLine'})?' checked="checked"':'');
my $ignore=&mt('Ignore First Line');
+ $symb = &Apache::lonenc::check_encrypt($symb);
$request->print(<
Uploading Class Grades
@@ -3565,6 +3552,7 @@ sub upcsvScores_form {
my $upload=&mt("Upload Scores");
my $upfile_select=&Apache::loncommon::upfile_select_html();
my $ignore=&mt('Ignore First Line');
+ $symb = &Apache::lonenc::check_encrypt($symb);
$result.=<
@@ -3873,7 +3861,7 @@ LISTJAVASCRIPT
$result.=''."\n".
''."\n".
''."\n".
- ''."\n".
+ ''."\n".
''." \n";
$result.=' '.&mt('Use CODE:').' '.
@@ -3997,7 +3985,7 @@ sub displayPage {
''."\n".
''."\n".
''."\n".
- ''."\n".
+ ''."\n".
''."\n".
''."\n";
@@ -4366,14 +4354,18 @@ sub updateGradeByPage {
#
#------ start of section for handling grading by page/sequence ---------
+# Create the hidden field entries used to hold context/default values.
+
sub defaultFormData {
my ($symb)=@_;
return '
- '."\n".
+ '."\n".
''."\n".
''."\n";
}
+# Make a drop down of the sequences
+
sub getSequenceDropDown {
my ($request,$symb)=@_;
my $result='