--- loncom/interface/lonindexer.pm 2008/08/01 14:53:42 1.181
+++ loncom/interface/lonindexer.pm 2008/12/17 18:49:13 1.181.2.2
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Directory Indexer
#
-# $Id: lonindexer.pm,v 1.181 2008/08/01 14:53:42 bisitz Exp $
+# $Id: lonindexer.pm,v 1.181.2.2 2008/12/17 18:49:13 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -542,8 +542,8 @@ END
$r->print("
".&mt('Name')." | \n");
$r->print("".&mt('Title')." | \n")
if ($hash{'display_attrs_0'} == 1);
- $r->print("".&mt("Size")." (".&mt("bytes").") ".
- " | \n") if ($hash{'display_attrs_1'} == 1);
+ $r->print(''.&mt('Size').' ('.&mt('bytes').') '.
+ ' | '."\n") if ($hash{'display_attrs_1'} == 1);
$r->print("".&mt("Last accessed")." | \n")
if ($hash{'display_attrs_2'} == 1);
$r->print("".&mt("Last modified")." | \n")
@@ -944,7 +944,8 @@ sub display_line {
}
# Set the icon for the file
my $iconname = &Apache::loncommon::icon($listname);
- $r->print("");
+ $r->print(' |
'.
+ '');
if ($env{'form.catalogmode'} eq 'interactive') {
my $quotable_filelink = &Apache::loncommon::escape_single($filelink);
@@ -952,7 +953,7 @@ sub display_line {
$quotable_filelink,"')\">");
$r->print("".
"\n");
- $r->print(" | ");
+ $r->print(' | ');
} elsif ($env{'form.catalogmode'} eq 'import') {
$r->print(" | ");
+ $r->print(' | ');
$hash{"pre_${fnum}_link"}=$filelink;
$hash{"pre_${fnum}_title"}=$title;
if (!$hash{"pre_${fnum}_title"}) {
@@ -1019,12 +1020,12 @@ sub display_line {
if ($filelink=~/\.(page|sequence)$/) {
$r->print('');
}
- $r->print(" | \n");
+ $r->print("\n");
if ($hash{'display_attrs_0'} == 1) {
$r->print(' '.($title eq '' ? ' ' : $title).
' | '."\n");
}
- $r->print(' ',
+ $r->print(' | ',
$filecom[8]," | \n")
if $hash{'display_attrs_1'} == 1;
$r->print(' '.
@@ -1149,7 +1150,7 @@ sub display_line {
$r->print(' | '.($title eq '' ? ' ' : $title).
' | '."\n");
}
- $r->print(' ',
+ $r->print(' | ',
$filecom[8]," | \n")
if $hash{'display_attrs_1'} == 1;
$r->print(' '.
|