Diff for /loncom/homework/bridgetask.pm between versions 1.128.2.2 and 1.133

version 1.128.2.2, 2006/03/29 20:33:50 version 1.133, 2006/03/30 16:49:12
Line 455  sub start_Task { Line 455  sub start_Task {
     my $files = '<ul>';      my $files = '<ul>';
     foreach my $file (@files) {      foreach my $file (@files) {
  my $url="/uploaded/$domain/$user/portfolio$file";   my $url="/uploaded/$domain/$user/portfolio$file";
  $file = '<tt>'.$file.'</tt>';   if (! &Apache::lonnet::stat_file($url)) {
       $file = &mt('<font color="red"> Nonexistant file:</font> <tt>[_1]</tt>',$file);
    } else {
       $file = '<tt>'.$file.'</tt>';
    }
  $files .= '<li>'.$file.'</li>';   $files .= '<li>'.$file.'</li>';
     }      }
     $files.='</ul>';      $files.='</ul>';
Line 1872  sub start_IntroParagraph { Line 1876  sub start_IntroParagraph {
   
  } elsif ($tagstack->[-2] eq 'Task' && $target eq 'webgrade') {   } elsif ($tagstack->[-2] eq 'Task' && $target eq 'webgrade') {
     &Apache::lonxml::startredirection();      &Apache::lonxml::startredirection();
  } else {  
     &Apache:;lonxml::error("Invalid use of <IntroParagraph> inside of <".$tagstack->[-2].">");  
     &Apache::lonxml::get_all_text('/introparagraph',$parser,$style);  
  }   }
   
     }      }

Removed from v.1.128.2.2  
changed lines
  Added in v.1.133


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