--- rat/lonpage.pm 2014/02/11 15:56:47 1.103 +++ rat/lonpage.pm 2014/03/08 18:27:39 1.104 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Page Handler # -# $Id: lonpage.pm,v 1.103 2014/02/11 15:56:47 bisitz Exp $ +# $Id: lonpage.pm,v 1.104 2014/03/08 18:27:39 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -537,9 +537,15 @@ ENDEXT $r->print('>'.$metainfo.''); } elsif (&Apache::lonnet::declutter($hash{'src_'.$rid}) !~/\.(sequence|page)$/) { - $r->print($metainfo.''.$hash{'title_'.$rid}.'
'. - &mt('It is recommended that you use an up-to-date virus scanner before handling this file.').'

'. - &Apache::londocs::entryline(0,&mt("Click to download or use your browser's Save Link function"),'/'.&Apache::lonnet::declutter($hash{'src_'.$rid})).'


'); + $r->print($metainfo.''.$hash{'title_'.$rid}.'
'); + unless ($cellemb{$rid} eq 'wrp') { + $r->print(&mt('It is recommended that you use an up-to-date virus scanner before handling this file.')); + } + $r->print('

'. + &Apache::londocs::entryline(0, + &mt("Click to download or use your browser's Save Link function"), + '/'.&Apache::lonnet::declutter($hash{'src_'.$rid})). + '


'); } unless (($target eq 'tex') || ($target eq 'tex_answer')) { $r->print('');