--- loncom/publisher/lonpubdir.pm 2001/06/23 18:26:40 1.9 +++ loncom/publisher/lonpubdir.pm 2001/08/20 20:13:40 1.14 @@ -10,7 +10,7 @@ # 03/23 Guy Albertelli # 03/24,03/29 Gerd Kortemeyer) # -# 03/31,04/03,05/09,06/23 Gerd Kortemeyer +# 03/31,04/03,05/09,06/23,08/18,08/20 Gerd Kortemeyer package Apache::lonpubdir; @@ -86,19 +86,23 @@ sub handler { my $linkdir='/~'.$uname.$thisdisfn; $r->print('
Filename | Modified | Status | |
---|---|---|---|
Filename | Modified | Status | |
'.$filename. - ' | '.localtime($cmtime).' | '.$status.' | '.localtime($cmtime).' | '.$status.' | '. + ''. + 'Publish | '); } elsif ($cmode&$dirptr) { my $disfilename=$filename; if ($filename eq '..') { @@ -132,8 +141,12 @@ sub handler { ($filename eq '.')) { $r->print('
'.$disfilename. - ' | '.localtime($cmtime).' | '.localtime($cmtime).' | ' + ); } + } else { + #no extension that we know of and not a directory + #just hide it away } } closedir(DIR); |