version 1.199, 2009/07/17 15:42:07
|
version 1.201, 2009/10/30 05:12:01
|
Line 913 sub display_line {
|
Line 913 sub display_line {
|
return OK; |
return OK; |
} |
} |
# Do we have permission to look at this? |
# Do we have permission to look at this? |
|
if($filecom[15] ne '1') { return OK if ((!&Apache::lonnet::allowed('bre',$pathprefix.$filecom[0])) && (!&Apache::lonnet::allowed('bro',$pathprefix.$filecom[0]))); } |
if($filecom[15] ne '1') { return OK if (!&Apache::lonnet::allowed('bre',$pathprefix.$filecom[0])); } |
|
|
|
# make absolute links appear on different background |
# make absolute links appear on different background |
#SB if ($absolute) { $fileclr='#ccdd99'; } |
#SB if ($absolute) { $fileclr='#ccdd99'; } |
Line 1147 $r->print ('<input type="hidden" name="a
|
Line 1146 $r->print ('<input type="hidden" name="a
|
if ($hash{'display_attrs_7'} == 1) { |
if ($hash{'display_attrs_7'} == 1) { |
# Show resource |
# Show resource |
my $output=&showpreview($filelink); |
my $output=&showpreview($filelink); |
$r->print('<td class="LC_fontsize_medium LC_nobreak">'.($output eq '' ? ' ':$output). |
$r->print('<td class="LC_fontsize_medium">'.($output eq '' ? ' ':$output). |
" </td>\n"); |
" </td>\n"); |
} |
} |
|
|