version 1.80, 2008/12/09 22:16:23
|
version 1.81, 2008/12/10 15:58:36
|
Line 304 my $image;
|
Line 304 my $image;
|
&Apache::lontemplate::print_content_template($r,$allowed,$target,\%syllabusfields,\%syllabus); |
&Apache::lontemplate::print_content_template($r,$allowed,$target,\%syllabusfields,\%syllabus); |
if($target ne 'tex') |
if($target ne 'tex') |
{ |
{ |
&Apache::lontemplate::print_image($r,$image); |
&Apache::lontemplate::start_ContentBox($r); |
&print_portfiles_link($r,$is_course); |
$r->print($image); |
$r->print('</div>'); |
&Apache::lontemplate::send_message($r,$cnum,$cdom); |
$r->print('<p>'); |
&Apache::lontemplate::end_ContentBox($r); |
|
&Apache::lontemplate::end_columnSection($r); |
|
&Apache::lontemplate::start_columnSection($r); |
$r->print('Kontakt'); |
&Apache::lontemplate::start_ContentBox($r); |
$r->print(&Apache::loncommon::messagewrapper(&mt('Send me a message'),$cnum,$cdom).'</p>'.&Apache::lonrss::advertisefeeds($cnum,$cdom)); |
&print_portfiles_link($r,$is_course); |
|
if(&Apache::lonrss::advertisefeeds($cnum,$cdom) ne ''){ |
|
$r->print('<div class="ContentBoxSpecial">'); |
|
$r->print('<h4 class="hcell">'.'RSS Feeds and Blogs'.'</h4>'); |
|
$r->print(&Apache::lonrss::advertisefeeds($cnum,$cdom)); |
|
$r->print('</div>'); |
|
} |
|
&Apache::lontemplate::end_ContentBox($r); |
|
&Apache::lontemplate::end_columnSection($r); |
} |
} |
|
|
if ($allowed) { |
if ($allowed) { |
Line 365 my $image;
|
Line 371 my $image;
|
$r->print('<p><a href="javascript:window.close()">'.&mt('Close window').'</a>'); |
$r->print('<p><a href="javascript:window.close()">'.&mt('Close window').'</a>'); |
} |
} |
$r->print('<br />'.&mt('Last updated').': '.$lastmod); |
$r->print('<br />'.&mt('Last updated').': '.$lastmod); |
&Apache::lontemplate::end_columnSection($r); |
|
$r->print(&Apache::loncommon::end_page()); |
$r->print(&Apache::loncommon::end_page()); |
} else { |
} else { |
$r->print('\end{document}'); |
$r->print('\end{document}'); |
Line 454 sub print_portfiles_link {
|
Line 459 sub print_portfiles_link {
|
} |
} |
$output .= '</ul>'; |
$output .= '</ul>'; |
$output .='</p>'; |
$output .='</p>'; |
|
$output .='</div>'; |
} |
} |
$r->print($output); |
$r->print($output); |
return; |
return; |