'.&mt('Map contents are not shown in order.').'
' + .&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').' | '. - ''.&mt('Type').' | ' + .''.&mt('Title in map').' | ' + .''.&mt('Filename of resource').' | ' + .''.&mt('Link to published resource').' | ' + .''.&mt('Link to resource in Construction Space').' | ' + .&Apache::loncommon::end_data_table_header_row() + ); foreach (&LONCAPA::map::attemptread(&Apache::lonnet::filelocation('',$url))) { if (defined($_)) { $idx++; @@ -806,23 +680,34 @@ sub viewmap { } my $cstrurl = $resurl; $cstrurl =~ s#^/res/[^/]+/([^/]+)/#/priv/$1/#; - my $bgcol = $idx%2; - $r->print('
---|---|---|---|---|---|---|---|---|
'. - ' | '.&HTML::Entities::encode(&LONCAPA::map::qtescape($title)). - ' | '.$filename.' | '); + $r->print(&Apache::loncommon::start_data_table_row() + .' | ' + .'' + .' | ' + .'' + .&HTML::Entities::encode(&LONCAPA::map::qtescape($title)) + .' | ' + .''.$filename.' | ' + .'' + ); if ($url) { $r->print(''.&mt('Resource space').''); + } else { + $r->print(' '); } $r->print(' | '); if ($url) { $r->print(''. &mt('Construction space').''); + } else { + $r->print(' '); } - $r->print(' |