--- loncom/interface/lonaboutme.pm 2009/03/27 13:50:36 1.118 +++ loncom/interface/lonaboutme.pm 2009/03/27 15:46:38 1.119 @@ -1,7 +1,7 @@ # The LearningOnline Network # Personal Information Page # -# $Id: lonaboutme.pm,v 1.118 2009/03/27 13:50:36 bisitz Exp $ +# $Id: lonaboutme.pm,v 1.119 2009/03/27 15:46:38 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -239,31 +239,36 @@ if ($target ne 'tex') { #----------------Print Functions if( $target ne 'tex'){ - &Apache::lontemplate::start_functionslist($r); + $r->print(&Apache::lontemplate::start_functionslist()); if($allowed){ my $query_string = &build_query_string({'forcestudent' => '1','popup' => $env{'form.popup'}}); - &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($privleged){ my $query_string = &build_query_string({'forceedit' => '1','popup' => $env{'form.popup'}}); - &Apache::lontemplate::item_functionslist($r,''. &mt('Edit').''); + $r->print(&Apache::lontemplate::item_functionslist( + ''. &mt('Edit').'')); } - &Apache::lontemplate::item_functionslist($r,&Apache::lontemplate::send_message($r,$cnum,$cdom)); + $r->print(&Apache::lontemplate::item_functionslist( + &Apache::lontemplate::send_message($r,$cnum,$cdom))); - if ($env{'request.course.id'} && &Apache::lonnet::allowed('srm',$env{'request.course.id'}) && &in_course($cdom,$cnum)) { + if ($env{'request.course.id'} && &Apache::lonnet::allowed('srm',$env{'request.course.id'}) && &in_course($cdom,$cnum)) { if (&Apache::lonnet::allowed('vsa', $env{'request.course.id'}) || &Apache::lonnet::allowed('vsa', $env{'request.course.id'}.'/'. $env{'request.course.sec'})) { - &Apache::lontemplate::item_functionslist($r,&Apache::loncommon::track_student_link('View recent activity by this student', - $cnum,$cdom).(' 'x2)); + $r->print(&Apache::lontemplate::item_functionslist( + &Apache::loncommon::track_student_link('View recent activity by this student',$cnum,$cdom))); } if (&Apache::lonnet::allowed('vgr', $env{'request.course.id'}) || &Apache::lonnet::allowed('vgr', $env{'request.course.id'}.'/'. $env{'request.course.sec'})) { - &Apache::lontemplate::item_functionslist($r,&Apache::loncommon::slot_reservations_link('Slot reservation history', - $cnum,$cdom).(' 'x2)); + $r->print(&Apache::lontemplate::item_functionslist( + &Apache::loncommon::slot_reservations_link('Slot reservation history',$cnum,$cdom))); } - &Apache::lontemplate::item_functionslist($r,&Apache::loncommon::noteswrapper(&mt('Add Records'),$cnum,$cdom)); + $r->print(&Apache::lontemplate::item_functionslist( + &Apache::loncommon::noteswrapper(&mt('Add Records'),$cnum,$cdom))); } - &Apache::lontemplate::end_functionslist($r); + $r->print(&Apache::lontemplate::end_functionslist()); } #------Print Headtitle if ($target ne 'tex') {