'
+ .&Apache::loncommon::end_data_table_header_row()
+ );
my $filename;
my $dirptr=16384; # Mask indicating a directory in stat.cmode.
@@ -139,7 +141,9 @@ sub handler {
}
closedir(DIR);
- $r->print('
'.&Apache::loncommon::end_page());
+ $r->print(&Apache::loncommon::end_data_table()
+ .&Apache::loncommon::end_page()
+ );
return OK;
}
#
@@ -156,8 +160,7 @@ sub getEffectiveUrl {
# Replace the ~username of the URL with /home/username/public_html
# so that we don't have to worry about ~ expansion internally.
#
- $fn=~s/^https?\:\/\/[^\/]+\///;
-
+ $fn=~s/^http\:\/\/[^\/]+\///;
$fn=~s/^\///;
$fn=~s{~($LONCAPA::username_re)}{/home/$1/public_html};
@@ -331,7 +334,8 @@ ENDPUBDIRSCRIPT
if ((($uname ne $env{'user.name'}) || ($udom ne $env{'user.domain'})) &&
$env{'environment.remote'} ne 'off') {
- $r->print('
'.&mt('Co-Author [_1]',$uname.':'.$udom).'
');
+ $r->print('
'.&mt('Co-Author').': '.$uname.' at '.$udom.
+ '
');
}
}
@@ -449,7 +453,7 @@ sub pubbuttons {
'
'.
'
');
+&mt('Edit Directory Catalog Information').'" />');
}
sub resourceactions {
@@ -566,7 +570,7 @@ sub putdirectory {
'