--- rat/lonratedt.pm 2004/11/17 20:14:23 1.63 +++ rat/lonratedt.pm 2005/03/23 22:54:18 1.64 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Edit Handler for RAT Maps # -# $Id: lonratedt.pm,v 1.63 2004/11/17 20:14:23 raeburn Exp $ +# $Id: lonratedt.pm,v 1.64 2005/03/23 22:54:18 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1149,6 +1149,14 @@ sub viewmap { if ($adv) { $r->print('
'.&mt('Map contents are not shown in order.').'
'.&mt('Type').' | '. + ''.&mt('Title in map').' | '. + ''.&mt('Filename of resource').' | '. + ''.&mt('Link to published resource').' | '. + ''.&mt('Link to resource in Construction Space').' | '. + '
---|---|---|---|---|
'. + ' | '.&Apache::lonratsrv::qtescape($title). + ' | '.$filename.' | '); + if ($url) { + if (-e $resfilepath) { + $r->print(''.&mt('Resource space').''); + } else { + $r->print(&mt('unpublished')); + } + } + $r->print(' | ');
if ($url) {
- $r->print('');
+ $r->print(''.
+ &mt('Construction space').'');
}
- $r->print(&Apache::lonratsrv::qtescape($title));
- if ($url) { $r->print(''); }
- $r->print(" \n"); + $r->print(' |