--- loncom/interface/lonaboutme.pm 2009/04/15 10:49:30 1.125 +++ loncom/interface/lonaboutme.pm 2009/04/17 17:54:59 1.126 @@ -1,7 +1,7 @@ # The LearningOnline Network # Personal Information Page # -# $Id: lonaboutme.pm,v 1.125 2009/04/15 10:49:30 bisitz Exp $ +# $Id: lonaboutme.pm,v 1.126 2009/04/17 17:54:59 neumanie Exp $ # # Copyright Michigan State University Board of Trustees # @@ -95,7 +95,7 @@ sub handler { return OK if $r->header_only; my $target=$env{'form.grade_target'}; # ------------------------------------------------------------ Print the screen - if ($target eq 'tex') { + if ($target eq 'tex') { $r->print(&Apache::lonprintout::print_latex_header($env{'form.latex_type'})); } my (undef,undef,$cdom,$cnum,undef,$action)=split(/\//,$r->uri); @@ -215,30 +215,28 @@ sub handler { $args->{'no_nav_bar'} = 1; } $args->{'bread_crumbs'} = [{href=>"/adm/fhwfdev/$cnum/aboutme",text=>"Personal Information Page"}]; - my $start_page = - &Apache::loncommon::start_page("Personal Data",$rss_link,$args); + my $start_page = &Apache::loncommon::start_page("Personal Data",$rss_link,$args); $r->print($start_page); - - } - -#Print Privacy Note - if ($allowed) { - $r->print('
' + + #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 last modified my $lastmod; - if (($syllabus{'uploaded.lastmodified'}) || ($allowed)) { - $lastmod=$syllabus{'uploaded.lastmodified'}; - $lastmod=($lastmod?&Apache::lonlocal::locallocaltime($lastmod):&mt('never')); + if (($syllabus{'uploaded.lastmodified'}) || ($allowed)) { + $lastmod=$syllabus{'uploaded.lastmodified'}; + $lastmod=($lastmod?&Apache::lonlocal::locallocaltime($lastmod):&mt('never')); $r->print('
'); $r->print(&mt('Last updated').': '.$lastmod . ''); $r->print('
'); + } } #Print Help Text if ($target ne 'tex') { @@ -284,7 +282,7 @@ sub handler { if ($target ne 'tex') { $r->print('
'); $r->print('

'.&Apache::loncommon::plainname($cnum,$cdom).'

'); - $r->print('
'); + $r->print('
' ); if ($courseenv{'nickname'}) { $r->print('

"'.$courseenv{'nickname'}.'"

'); } @@ -399,14 +397,9 @@ my $image; $r->print(''); } if ($target ne 'tex') {$r->print('
');} else {$r->print('\\\\');} - } else { - # &Apache::lontemplate::send_message($r,$cnum,$cdom); + } else { $r->print('

'.&mt('No personal information provided').'.

'); - } - if($target ne 'tex'){ - #$r->print('
'); - #$r->print('
'); - } + } if ($env{'request.course.id'} && &Apache::lonnet::allowed('srm',$env{'request.course.id'}) @@ -417,7 +410,7 @@ my $image; $r->print(''); $r->print(&mt('Shared by course faculty and staff').&Apache::loncommon::help_open_topic("Course_Face_To_Face_Records,Course_Critical_Message")); $r->print('

'); -&Apache::lonmsgdisplay::disfacetoface($r,$cnum,$cdom); + &Apache::lonmsgdisplay::disfacetoface($r,$cnum,$cdom); $r->print('

'); &Apache::lontemplate::print_end_template($r); @@ -426,7 +419,7 @@ my $image; &Apache::lonmsgdisplay::disfacetoface($r,$cnum,$cdom); } } - $r->print(''); + $r->print('
'); $r->print(''); if ($target ne 'tex') { if ($env{'form.popup'}) {