Diff for /loncom/homework/inputtags.pm between versions 1.333.2.9.2.1 and 1.333.2.10

version 1.333.2.9.2.1, 2020/01/13 15:19:21 version 1.333.2.10, 2021/09/11 16:09:56
Line 1329  sub decideoutput { Line 1329  sub decideoutput {
             my $first_access=&Apache::lonnet::get_first_access($interval[1]);              my $first_access=&Apache::lonnet::get_first_access($interval[1]);
             if (defined($first_access)) {              if (defined($first_access)) {
                 my $due_date= &Apache::lonnet::EXT("resource.$part.duedate");                  my $due_date= &Apache::lonnet::EXT("resource.$part.duedate");
                 my ($timelimit) = ($interval[0] =~ /^(\d+)/);                  unless (($due_date) && ($due_date < $first_access + $interval[0])) { 
                 unless (($due_date) && ($due_date < $first_access + $timelimit)) {   
                     $message = &mt("Answer Submitted: Your final submission will be graded when the time limit is reached.");                      $message = &mt("Answer Submitted: Your final submission will be graded when the time limit is reached.");
                 }                  }
             }              }
Line 1886  sub previous_tries { Line 1885  sub previous_tries {
         $function_name .= &js_escape($id);          $function_name .= &js_escape($id);
     }      }
     $function_name .= '_'.$Apache::lonxml::counter;      $function_name .= '_'.$Apache::lonxml::counter;
     my $result = &Apache::loncommon::modal_adhoc_window($function_name,420,410,$output,&mt($tries_text))."<br />";      my $possmathjax = 1;
       my $result = &Apache::loncommon::modal_adhoc_window($function_name,420,410,$output,
                                                           &mt($tries_text),$possmathjax)."<br />";
     return $result;      return $result;
 }  }
   

Removed from v.1.333.2.9.2.1  
changed lines
  Added in v.1.333.2.10


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