--- loncom/interface/portfolio.pm 2008/06/16 23:34:12 1.195
+++ 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.195 2008/06/16 23:34:12 raeburn Exp $
+# $Id: portfolio.pm,v 1.198 2008/11/28 17:04:25 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -191,7 +191,7 @@ sub display_directory_line {
$href_location, $url, $current_path, $access_admin_text, $versions)=@_;
my $fullpath = &prepend_group($current_path.$filename);
- $r->print('
');
+ $r->print(&Apache::loncommon::start_data_table_row());
$r->print($line); # contains first two cells of table
my $lock_info;
if ($version_flag) { # versioned can't be versioned, so TRUE when root file
@@ -227,15 +227,19 @@ sub display_directory_line {
$r->print(''.$size.' | ');
$r->print(''.&Apache::lonlocal::locallocaltime($mtime).' | ');
if ($select_mode ne 'true') {
- $r->print(''.
- &mt($curr_access).' ');
+ $r->print(' | | '); # Display status
+ $r->print(''
+ .&mt($curr_access).' '
+ );
my %anchor_fields = (
'access' => $filename,
'currentpath' => $current_path
);
$r->print(&make_anchor($url, \%anchor_fields, $access_admin_text).' | ');
+ } else {
+ $r->print(' | '); # Display status
}
- $r->print('
'.$/);
+ $r->print(&Apache::loncommon::end_data_table_row().$/);
}
sub display_directory {
@@ -277,21 +281,30 @@ sub display_directory {
}
if ($select_mode eq 'true') {
$r->print('