Diff for /loncom/interface/londocs.pm between versions 1.182 and 1.183

version 1.182, 2005/06/08 21:38:44 version 1.183, 2005/06/09 18:01:29
Line 1077  sub editor { Line 1077  sub editor {
                 if ($cmd eq 'del') {                  if ($cmd eq 'del') {
     my (undef,$url)=split(':',$Apache::lonratedt::resources[$Apache::lonratedt::order[$idx]]);      my (undef,$url)=split(':',$Apache::lonratedt::resources[$Apache::lonratedt::order[$idx]]);
     if ($url=~m|/+uploaded/\Q$coursedom\E/\Q$coursenum\E/|) {      if ($url=~m|/+uploaded/\Q$coursedom\E/\Q$coursenum\E/|) {
  &Apache::lonnet::removeuploadedurl($url);   unless ($url=~/\.(page|sequence)$/) {
       &Apache::lonnet::removeuploadedurl($url);
    }
     }      }
     &Apache::lonratedt::makezombie($Apache::lonratedt::order[$idx]);      &Apache::lonratedt::makezombie($Apache::lonratedt::order[$idx]);
     for (my $i=$idx;$i<$#Apache::lonratedt::order;$i++) {      for (my $i=$idx;$i<$#Apache::lonratedt::order;$i++) {

Removed from v.1.182  
changed lines
  Added in v.1.183


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