--- loncom/interface/lonsyllabus.pm 2009/03/27 13:50:36 1.83
+++ loncom/interface/lonsyllabus.pm 2009/03/27 15:46:38 1.84
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Syllabus
#
-# $Id: lonsyllabus.pm,v 1.83 2009/03/27 13:50:36 bisitz Exp $
+# $Id: lonsyllabus.pm,v 1.84 2009/03/27 15:46:38 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -238,13 +238,16 @@ if ($target ne 'tex') {
#--------Functions
if ($target ne 'tex') {
if($allowed || $privileged){
- &Apache::lontemplate::start_functionslist($r);
+ $r->print(&Apache::lontemplate::start_functionslist());
if($allowed){
- &Apache::lontemplate::item_functionslist($r,''.&mt('Show Public View').''.&Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView'));
+ $r->print(&Apache::lontemplate::item_functionslist(
+ ''.&mt('Show Public View').''
+ .&Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView')));
}elsif($privileged){
- &Apache::lontemplate::item_functionslist($r,''.&mt('Edit').'');
+ $r->print(&Apache::lontemplate::item_functionslist(
+ ''.&mt('Edit').''));
}
- &Apache::lontemplate::end_functionslist($r);
+ $r->print(&Apache::lontemplate::end_functionslist());
}
}
#----------------------------Print Headtitle