--- loncom/interface/lonaboutme.pm 2009/03/20 18:20:46 1.114 +++ loncom/interface/lonaboutme.pm 2009/03/27 04:59:30 1.117 @@ -1,7 +1,7 @@ # The LearningOnline Network # Personal Information Page # -# $Id: lonaboutme.pm,v 1.114 2009/03/20 18:20:46 amueller Exp $ +# $Id: lonaboutme.pm,v 1.117 2009/03/27 04:59:30 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -221,6 +221,15 @@ sub handler { } +#Print Privacy Note + if ($allowed) { + $r->print('

' + .''.&mt('Privacy Note:').' ' + .&mt('The information you submit can be viewed by anybody who is logged into LON-CAPA. Do not provide information that you are not ready to share publicly.') + .'

' + ); + } + #Print Help Text if ($target ne 'tex') { if($allowed){ @@ -246,6 +255,12 @@ if ($target ne 'tex') { &Apache::lontemplate::print_functions_content($r,&Apache::loncommon::track_student_link('View recent activity by this student', $cnum,$cdom).(' 'x2)); } + if (&Apache::lonnet::allowed('vgr', $env{'request.course.id'}) || + &Apache::lonnet::allowed('vgr', $env{'request.course.id'}.'/'. + $env{'request.course.sec'})) { + &Apache::lontemplate::print_functions_content($r,&Apache::loncommon::slot_reservations_link('Slot reservation history', + $cnum,$cdom).(' 'x2)); + } &Apache::lontemplate::print_functions_content($r,&Apache::loncommon::noteswrapper(&mt('Add Records'),$cnum,$cdom)); } &Apache::lontemplate::print_end_page_functions($r); @@ -269,11 +284,6 @@ else{ my $query_string; - if ($allowed) { - $r->print('

'.&mt('Privacy Note').': '.&mt('The information you submit can be viewed by anybody who is logged into LON-CAPA. Do not provide information that you are not ready to share publicly.'). '

'); - } - - if (($env{'form.uploaddoc.filename'}) && ($env{'form.storeupl'}) && ($allowed)) { if ($env{'form.uploaddoc.filename'}=~/\.(gif|jpg|png|jpeg)$/i) {