version 1.88, 2008/12/17 13:00:36
|
version 1.89, 2008/12/17 14:51:11
|
Line 321 my $image;
|
Line 321 my $image;
|
&Apache::lontemplate::start_ContentBox($r); |
&Apache::lontemplate::start_ContentBox($r); |
&print_portfiles_link($r,$is_course); |
&print_portfiles_link($r,$is_course); |
if(&Apache::lonrss::advertisefeeds($cnum,$cdom) ne ''){ |
if(&Apache::lonrss::advertisefeeds($cnum,$cdom) ne ''){ |
$r->print('<div class="ContentBoxSpecial">'); |
$r->print('<div class="LC_ContentBoxSpecial">'); |
$r->print('<h4 class="hcell">'.'RSS Feeds and Blogs'.'</h4>'); |
$r->print('<h4 class="LC_hcell">'.'RSS Feeds and Blogs'.'</h4>'); |
$r->print(&Apache::lonrss::advertisefeeds($cnum,$cdom)); |
$r->print(&Apache::lonrss::advertisefeeds($cnum,$cdom)); |
$r->print('</div>'); |
$r->print('</div>'); |
} |
} |
Line 442 sub print_portfiles_link {
|
Line 442 sub print_portfiles_link {
|
difl => 'Display file listing', |
difl => 'Display file listing', |
); |
); |
if ($filecounts->{'both'} > 0) { |
if ($filecounts->{'both'} > 0) { |
$output = '<div class="ContentBoxSpecial"><h4 class="hcell">'; |
$output = '<div class="LC_ContentBoxSpecial"><h4 class="LC_hcell">'; |
$output .= ($is_course?$lt{'vgpf'}:$lt{'vpfi'}).'</h4>'; |
$output .= ($is_course?$lt{'vgpf'}:$lt{'vpfi'}).'</h4>'; |
|
|
#$output = '<h4>'.($is_course?$lt{'vgpf'}:$lt{'vpfi'}).'</h4>'; |
#$output = '<h4>'.($is_course?$lt{'vgpf'}:$lt{'vpfi'}).'</h4>'; |