version 1.87, 2008/12/17 00:44:53
|
version 1.90, 2009/01/26 11:10:10
|
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 371 my $image;
|
Line 372 my $image;
|
('View recent activity by this student', |
('View recent activity by this student', |
$cnum,$cdom).(' 'x2)); |
$cnum,$cdom).(' 'x2)); |
} |
} |
$r->print(&Apache::loncommon::noteswrapper('Add Records',$cnum,$cdom)); |
$r->print(&Apache::loncommon::noteswrapper(&mt('Add Records'),$cnum,$cdom)); |
} else { |
} else { |
$r->print('\\\\\textbf{'.&mt('User Notes, Records of Face-To-Face Discussions, and Critical Messages in Course').'}\\\\'.&mt('Shared by course faculty and staff').'\\\\\\\\'); |
$r->print('\\\\\textbf{'.&mt('User Notes, Records of Face-To-Face Discussions, and Critical Messages in Course').'}\\\\'.&mt('Shared by course faculty and staff').'\\\\\\\\'); |
&Apache::lonmsgdisplay::disfacetoface($r,$cnum,$cdom); |
&Apache::lonmsgdisplay::disfacetoface($r,$cnum,$cdom); |
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>'; |