--- loncom/publisher/lonretrieve.pm 2009/05/11 16:51:32 1.39 +++ 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.39 2009/05/11 16:51:32 bisitz Exp $ +# $Id: lonretrieve.pm,v 1.40 2009/05/14 15:11:00 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -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.')') + .'

'); }