version 1.87, 2008/12/17 00:44:53
|
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 342 my $image;
|
Line 342 my $image;
|
} |
} |
if ($target ne 'tex') {$r->print('<br />');} else {$r->print('\\\\');} |
if ($target ne 'tex') {$r->print('<br />');} else {$r->print('\\\\');} |
} else { |
} else { |
|
&Apache::lontemplate::send_message($r,$cnum,$cdom); |
$r->print('<p>'.&mt('No personal information provided').'.</p>'); |
$r->print('<p>'.&mt('No personal information provided').'.</p>'); |
} |
} |
|
|
Line 441 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>'; |