--- loncom/interface/lonindexer.pm 2001/12/04 15:35:39 1.25 +++ loncom/interface/lonindexer.pm 2001/12/04 18:35:47 1.26 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Directory Indexer # -# $Id: lonindexer.pm,v 1.25 2001/12/04 15:35:39 matthew Exp $ +# $Id: lonindexer.pm,v 1.26 2001/12/04 18:35:47 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -593,11 +593,11 @@ sub display_line { my @file_ext = split (/\./,$listname); my $curfext = $file_ext[-1]; # Set the icon for the file - my $iconname = "unknownfiletype.gif"; + my $iconname = "unknown.gif"; my $embstyle = &Apache::lonnet::fileembstyle($curfext); # The unless conditional that follows is a bit of overkill $iconname = $curfext.".gif" unless - (!defined($embstyle) || $embstyle eq 'hdn'); + (!defined($embstyle) || $embstyle eq 'unk' || $embstyle eq 'hdn'); # my $filelink = $startdir.$filecom[0]; $r->print("");