\n") if ($hash{'display_attrs_1'} == 1);
$r->print("
".&mt("Last accessed")."
\n")
if ($hash{'display_attrs_2'} == 1);
@@ -563,6 +585,16 @@ END
if ($hash{'display_attrs_11'} == 1);
$r->print("
".&mt("Resource")."
\n")
if ($hash{'display_attrs_7'} == 1);
+ $r->print("
".&mt("Subject")."
\n")
+ if ($hash{'display_attrs_12'} == 1);
+ $r->print("
".&mt("Notes")."
\n")
+ if ($hash{'display_attrs_13'} == 1);
+ $r->print("
".&mt("Abstract")."
\n")
+ if ($hash{'display_attrs_14'} == 1);
+ $r->print("
".&mt("Grade Level")."
\n")
+ if ($hash{'display_attrs_15'} == 1);
+ $r->print("
".&mt("Standards")."
\n")
+ if ($hash{'display_attrs_16'} == 1);
$r->print('');
# ----------------- read in what directories have previously been set to "open"
@@ -830,7 +862,7 @@ sub display_line {
my $tabtag='';
my $i=0;
- while ($i<=11) {
+ while ($i<=16) {
$tabtag=join('',$tabtag,"
")
if ($i != 9 &&
$hash{'display_attrs_'.$i} == 1);
@@ -849,23 +881,23 @@ sub display_line {
$r->print("
\n");
$r->print ('$tabtag\n");
return OK;
}
# Do we have permission to look at this?
- if($filecom[15] ne '1') { return OK if (!&Apache::lonnet::allowed('bre',$pathprefix.$filecom[0])); }
+ if($filecom[15] ne '1') { return OK if ((!&Apache::lonnet::allowed('bre',$pathprefix.$filecom[0])) && (!&Apache::lonnet::allowed('bro',$pathprefix.$filecom[0]))); }
# make absolute links appear on different background
if ($absolute) { $fileclr='#ccdd99'; }
@@ -883,7 +915,7 @@ sub display_line {
$r->print ('');
$r->print ('print (' name="'.$msg.'" type="image" class="LC_indexer_icon" />'.
+ $r->print (' name="'.$msg.'" alt="'.$msg.'" type="image" class="LC_indexer_icon" />'.
"\n");
my $quotable_filecom = &Apache::loncommon::escape_single($filecom[0]);
$r->print ('');
$r->print ('print (' name="'.$msg.'" type="image" class="LC_indexer_icon" />'.
+ $r->print (' name="'.$msg.'" alt="'.$msg.'" type="image" class="LC_indexer_icon" />'.
"\n");
my $quotable_curdir = &Apache::loncommon::escape_single($curdir);
$r->print ('\n");
$r->print("print("checked");
@@ -978,7 +1010,7 @@ sub display_line {
$indent--;
}
# General indentation
- if ($indent > 0 and $indent < 11) {
+ if ($indent > 0 and $indent < 16) {
$r->print("\n");
} elsif ($indent >0) {
@@ -1001,7 +1033,7 @@ sub display_line {
$r->print ('');
$r->print ('print (' name="'.$msg.'" type="image" class="LC_indexer_icon" />'.
+ $r->print (' name="'.$msg.'" alt="'.$msg.'" type="image" class="LC_indexer_icon" />'.
"\n");
}
# Filetype icons
@@ -1058,17 +1090,11 @@ sub display_line {
# statistics
&dynmetaread($filelink);
$r->print("