Diff for /loncom/interface/lonindexer.pm between versions 1.149 and 1.150

version 1.149, 2006/07/21 08:25:25 version 1.150, 2006/07/28 19:16:08
Line 1163  sub coursecontext { Line 1163  sub coursecontext {
   
 sub showpreview {  sub showpreview {
     my ($filelink)=@_;      my ($filelink)=@_;
       if ($filelink=~/^(\/ext\/|http\:\/\/)/) {
    return &mt('External Resource, preview not enabled');
       }
     my ($curfext)=($filelink=~/\.(\w+)$/);      my ($curfext)=($filelink=~/\.(\w+)$/);
     my $output='';      my $output='';
     my $embstyle=&Apache::loncommon::fileembstyle($curfext);      my $embstyle=&Apache::loncommon::fileembstyle($curfext);

Removed from v.1.149  
changed lines
  Added in v.1.150


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