');
$r->print(<
$closebutton $groupimportbutton
@@ -563,8 +563,8 @@ END
&Apache::lonhtmlcommon::store_recent('residx',$storeuri,$storeuri);
# -------------------------------------------------- Check All and Uncheck all
if ($env{'form.catalogmode'} eq 'import') {
- $r->print('
');
- $r->print('');
+ $r->print('
');
+ $r->print('');
}
# ----------------- output starting row to the indexed file/directory hierarchy
#$r->print(&initdebug());
@@ -897,7 +897,7 @@ sub display_line {
$r->print("\n");
$r->print ('$tabtag");
$r->print(&Apache::loncommon::end_data_table_row());
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
#SB if ($absolute) { $fileclr='#ccdd99'; }
@@ -932,8 +931,8 @@ sub display_line {
$anchor =~ s/\W//g;
$r->print ('');
$r->print ('');
- $r->print (' print (' name="'.$msg.'" type="image" class="LC_fileicon" />'.
+ $r->print (' print (' alt="'.$msg.'" class="LC_fileicon" />'.
"\n");
my $quotable_filecom = &Apache::loncommon::escape_single($filecom[0]);
$r->print (' '."\n");
$r->print ('');
- $r->print ('');
+ $r->print ('');
$r->print (' print (' name="'.$msg.'"/>'.
+ $r->print (' alt="'.$msg.'"/>'.
"\n");
my $quotable_curdir = &Apache::loncommon::escape_single($curdir);
$r->print ('");
$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"}) {
@@ -1037,8 +1036,8 @@ $r->print ('\n");
+ $r->print(' ');
$count++;
}
# Sequence open/close icon
@@ -1048,10 +1047,10 @@ $r->print ('');
$r->print ('');
- $r->print ('');
+ $r->print ('');
$r->print (' print (' name="'.$msg.'" type="image" class="LC_fileicon" />'.
+ $r->print (' alt="'.$msg.'" />'.
"\n");
}
# Filetype icons
@@ -1070,7 +1069,7 @@ $r->print (' | \n");
+ $r->print("\n");
if ($hash{'display_attrs_0'} == 1) {
$r->print(' '.($title eq '' ? ' ' : $title).
' | '."\n");
@@ -1147,7 +1146,7 @@ $r->print (''.($output eq '' ? ' ':$output).
" \n");
}
@@ -1199,15 +1198,15 @@ $r->print ('\n");
+ $r->print ('
');
$count++;
}
$r->print ('');
$r->print ('');
- $r->print ('
print (' name="'.$msg.'" class="LC_fileicon" />'.
+ $r->print (' alt="'.$msg.'" class="LC_fileicon" />'.
"\n");
my $quotable_curdir = &Apache::loncommon::escape_single($curdir);
@@ -1346,7 +1345,6 @@ sub showpreview {
close(FH);
}
}
- $output=''.$output.'';
} elsif ($embstyle eq 'img') {
$output='
';
} elsif ($filelink=~m{^/res/($match_domain)/($match_username)/}) {
@@ -1377,7 +1375,7 @@ sub begin_form {
$uri=&Apache::loncommon::escape_single($uri);
$r->print ('