--- loncom/publisher/lonretrieve.pm 2009/04/23 17:33:58 1.38 +++ loncom/publisher/lonretrieve.pm 2009/05/14 15:11:00 1.40 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to retrieve an old version of a file # -# $Id: lonretrieve.pm,v 1.38 2009/04/23 17:33:58 bisitz Exp $ +# $Id: lonretrieve.pm,v 1.40 2009/05/14 15:11:00 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -120,7 +120,7 @@ sub phaseone { my ($main,$suffix,$is_meta) = &get_file_info($fn); if (-e $resfn) { - $r->print('
'. + $r->print(''. ''. ''. &Apache::loncommon::start_data_table(). @@ -198,7 +198,7 @@ sub phaseone { &mt('This will only retrieve the resource. If you want to retrieve the metadata, you will need to do that separately.'). '

'); } - $r->print('
'); + $r->print(''); } else { $r->print('

'.&mt('No previous versions published.').'

'); } @@ -323,16 +323,17 @@ sub handler { $r->print(&Apache::loncommon::start_page('Retrieve Published Resources')); - - $r->print('

' + $r->print('

' .&mt('Retrieve previous versions of [_1]' ,''.$fn.'') - .'

'); + .'

'); if (($uname ne $env{'user.name'}) || ($udom ne $env{'user.domain'})) { - $r->print('

'.&mt('Co-Author').': '.$uname. - &mt(' at ').$udom. - '

'); + $r->print('

' + .&mt('Co-Author [_1]' + ,&Apache::loncommon::plainname($uname,$udom) + .' ('.$uname.':'.$udom.')') + .'

'); }