Diff for /loncom/homework/structuretags.pm between versions 1.465.2.10 and 1.465.2.12

version 1.465.2.10, 2011/01/01 21:54:08 version 1.465.2.12, 2011/01/07 05:14:57
Line 163  ENDSCRIPT Line 163  ENDSCRIPT
 }  }
   
 sub file_delchk_js {  sub file_delchk_js {
     my $delfilewarn = &mt('You have indicated you wish to delete some files previously included for submission.').'\\n'.      my $delfilewarn = &mt('You have indicated you wish to remove some files previously included in your submission.').'\\n'.
                           &mt('Deleted files will not be graded.').' '.                        &mt('Continue submission with these files removed?');
                           &mt('Submit Answer?');  
     return <<"ENDSCRIPT";      return <<"ENDSCRIPT";
 <script type="text/javascript">  <script type="text/javascript">
 // <![CDATA[  // <![CDATA[
Line 895  sub init_problem_globals { Line 894  sub init_problem_globals {
  &Apache::lonhomework::reset_show_problem_status();   &Apache::lonhomework::reset_show_problem_status();
  $Apache::lonhomework::ignore_response_errors=1;   $Apache::lonhomework::ignore_response_errors=1;
     }      }
       @Apache::functionplotresponse::callscripts=();
     @Apache::inputtags::responselist = ();      @Apache::inputtags::responselist = ();
     @Apache::inputtags::importlist = ();      @Apache::inputtags::importlist = ();
     @Apache::inputtags::previous=();      @Apache::inputtags::previous=();
Line 922  sub reset_problem_globals { Line 922  sub reset_problem_globals {
     undef($Apache::lonhomework::type);      undef($Apache::lonhomework::type);
     undef($Apache::lonhomework::scantronmode);      undef($Apache::lonhomework::scantronmode);
     undef($Apache::lonhomework::ignore_response_errors);      undef($Apache::lonhomework::ignore_response_errors);
       undef(@Apache::functionplotresponse::callscripts);
     &Apache::lonhomework::reset_show_problem_status();      &Apache::lonhomework::reset_show_problem_status();
 }  }
   
Line 1340  sub end_problem { Line 1341  sub end_problem {
  }   }
     }      }
  }   }
           if ($target eq 'web') {
              $result.=&Apache::functionplotresponse::init_script();
           }
  if ($target eq 'grade') {   if ($target eq 'grade') {
     &Apache::lonhomework::showhash(%Apache::lonhomework::results);      &Apache::lonhomework::showhash(%Apache::lonhomework::results);
     &finalize_storage();      &finalize_storage();

Removed from v.1.465.2.10  
changed lines
  Added in v.1.465.2.12


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>