--- loncom/interface/portfolio.pm 2008/11/28 16:10:20 1.197 +++ loncom/interface/portfolio.pm 2008/11/28 17:04:25 1.198 @@ -1,7 +1,7 @@ # The LearningOnline Network # portfolio browser # -# $Id: portfolio.pm,v 1.197 2008/11/28 16:10:20 bisitz Exp $ +# $Id: portfolio.pm,v 1.198 2008/11/28 17:04:25 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -477,8 +477,10 @@ sub display_directory { -
- +

+
+ +

'); } else { @@ -1773,15 +1775,28 @@ ENDSMP ENDSMP $r->print($javascript); - $r->print("

".&mt('Select portfolio files')."

". - &mt('Check as many as you wish in response to the problem.')."
"); + $r->print("

".&mt('Select portfolio files')."

"); my @otherfiles=&Apache::lonnet::files_not_in_path($env{'user.name'}, $env{'form.currentpath'}); if (@otherfiles) { - $r->print("".&mt('Files selected from other directories:')."
"); + $r->print(&Apache::loncommon::start_data_table() + .&Apache::loncommon::start_data_table_header_row() + .''.&mt('Files selected from other directories:')."" + .&Apache::loncommon::end_data_table_header_row() + ); foreach my $file (@otherfiles) { - $r->print($file."
"); + $r->print(&Apache::loncommon::start_data_table_row() + .''.$file."" + .&Apache::loncommon::end_data_table_row() + ); } + $r->print(&Apache::loncommon::end_data_table() + .'
' + ); } + $r->print('
' + .&mt('Check as many files as you wish in response to the problem:') + .'
' + ); }