--- loncom/interface/lonaboutme.pm 2009/02/12 21:15:47 1.92 +++ loncom/interface/lonaboutme.pm 2009/02/17 10:24:54 1.96 @@ -1,7 +1,7 @@ # The LearningOnline Network -# "About Me" Personal Information +# Personal Homepage # -# $Id: lonaboutme.pm,v 1.92 2009/02/12 21:15:47 schafran Exp $ +# $Id: lonaboutme.pm,v 1.96 2009/02/17 10:24:54 weissno Exp $ # # Copyright Michigan State University Board of Trustees # @@ -120,7 +120,7 @@ sub handler { if ($target eq 'tex') { $r->print('\noindent{\large\textbf{'.&mt('No user home page available').'}}\\\\\\\\'); } else { - $r->print(&Apache::loncommon::start_page("Personal Information")); + $r->print(&Apache::loncommon::start_page("Personal Homepage")); $r->print('
'); $r->print(''); + $r->print(''.&Apache::lonnet::domain($cdom,'description').'
');#OLD SendMessage POS } else { $r->print('\textbf{'.&Apache::lonnet::domain($cdom,'description').'}\\\\'); @@ -281,22 +283,21 @@ my $image; if (($syllabus{'uploaded.lastmodified'}) || ($allowed)) { $lastmod=$syllabus{'uploaded.lastmodified'}; $lastmod=($lastmod?&Apache::lonlocal::locallocaltime($lastmod):&mt('never')); - $r->print('
'.&mt('Last updated').': '.$lastmod); + $r->print('
'.&mt('Last updated').': '.$lastmod); if ($syllabus{'uploaded.photourl'}) { &Apache::lonnet::allowuploaded('/adm/aboutme', $syllabus{'uploaded.photourl'}); - #This call is to resize all "about me" images in the LonCapa System. When its done, you can remove this line. + #This call is to resize all "Personal Info" images in the LonCapa System. When its done, you can remove this line. &Apache::lonnet::resizeImage(&Apache::lonnet::filelocation('',$syllabus{'uploaded.photourl'})); + #---End Resize--- -#--End Resize--- - - $image=qq{}; + $image=qq{}; if ($target eq 'tex') { $image=&Apache::lonxml::xmlparse($r,'tex',$image); } - # $r->print($image); #Print old Image + } if ($allowed) { $r->print( @@ -305,7 +306,7 @@ my $image; ''. ''. ''. - ' + ''); } @@ -314,32 +315,38 @@ my $image; $r->print('