--- loncom/publisher/lonretrieve.pm 2001/05/09 17:15:26 1.10 +++ loncom/publisher/lonretrieve.pm 2001/06/23 18:26:40 1.13 @@ -11,7 +11,7 @@ # 03/23 Guy Albertelli # 03/24,03/29 Gerd Kortemeyer) # -# 03/31,04/03,05/02 Gerd Kortemeyer +# 03/31,04/03,05/02,05/09,06/23 Gerd Kortemeyer package Apache::lonretrieve; @@ -38,7 +38,7 @@ sub phaseone { if (-e $resfn) { $r->print('
'. - ''. + ''. ''. ''. ''. @@ -59,7 +59,8 @@ sub phaseone { 'Metadata Version '.$version.''); if (&Apache::lonnet::fileembstyle($suffix) eq 'ssi') { $r->print( - '  Diffs with Version '.$version.''); } @@ -77,7 +78,8 @@ sub phaseone { 'Metadata current version'); if (&Apache::lonnet::fileembstyle($suffix) eq 'ssi') { $r->print( - '  Diffs with current Version'); } @@ -156,9 +158,9 @@ sub handler { my $uname; my $udom; - unless (($uname,$udom)= - &Apache::loncacc::constructaccess( - $fn,$r->dir_config('lonDefDomain'))) { + ($uname,$udom)= + &Apache::loncacc::constructaccess($fn,$r->dir_config('lonDefDomain')); + unless (($uname) && ($udom)) { $r->log_reason($uname.' at '.$udom. ' trying to publish file '.$ENV{'form.filename'}. ' ('.$fn.') - not authorized',
SelectVersionBecame this version on ...