Diff for /loncom/interface/loncommon.pm between versions 1.1075.2.163 and 1.1075.2.164

version 1.1075.2.163, 2022/01/19 00:39:01 version 1.1075.2.164, 2022/01/23 00:53:02
Line 4809  sub blockcheck { Line 4809  sub blockcheck {
                 }                  }
             }              }
         }          }
           if (($activity eq 'wishlist') || ($activity eq 'annotate')) {
               return ();
           }
     }      }
     if (defined($udom) && defined($uname)) {      if (defined($udom) && defined($uname)) {
         # If uname and udom are for a course, check for blocks in the course.          # If uname and udom are for a course, check for blocks in the course.
Line 14908  sub recurse_categories { Line 14911  sub recurse_categories {
         for (my $k=0; $k<@{$cats->[$depth]{$category}}; $k++) {          for (my $k=0; $k<@{$cats->[$depth]{$category}}; $k++) {
             my $name = $cats->[$depth]{$category}[$k];              my $name = $cats->[$depth]{$category}[$k];
             my $item = &escape($category).':'.&escape($parents->[-1]).':'.$shallower;              my $item = &escape($category).':'.&escape($parents->[-1]).':'.$shallower;
             my $trailstr = join(' -&gt; ',(@{$parents},$category));              my $trailstr = join(' &raquo; ',(@{$parents},$category));
             if ($allitems->{$item} eq '') {              if ($allitems->{$item} eq '') {
                 push(@{$trails},$trailstr);                  push(@{$trails},$trailstr);
                 $allitems->{$item} = scalar(@{$trails})-1;                  $allitems->{$item} = scalar(@{$trails})-1;

Removed from v.1.1075.2.163  
changed lines
  Added in v.1.1075.2.164


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