--- loncom/interface/lonaboutme.pm 2007/07/20 00:15:06 1.64 +++ loncom/interface/lonaboutme.pm 2008/01/16 12:24:01 1.67 @@ -1,7 +1,7 @@ # The LearningOnline Network # "About Me" Personal Information # -# $Id: lonaboutme.pm,v 1.64 2007/07/20 00:15:06 raeburn Exp $ +# $Id: lonaboutme.pm,v 1.67 2008/01/16 12:24:01 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -114,8 +114,9 @@ sub handler { # --------------------------------------- There is such a user, get environment my %courseenv=&Apache::lonnet::dump('environment',$cdom,$cnum); if ($target ne 'tex') { + my $rss_link = &Apache::lonrss::rss_link($cnum,$cdom); my $start_page = - &Apache::loncommon::start_page("Personal Information",undef, + &Apache::loncommon::start_page("Personal Information", $rss_link, {'function' => $forcestudent, 'domain' => $cdom, 'force_register' => @@ -132,7 +133,7 @@ sub handler { } if ($target ne 'tex') { $r->print('

'.&Apache::lonnet::domain($cdom,'description').'

'. - '

'.&Apache::loncommon::messagewrapper('Send me a message',$cnum,$cdom).'

'.&Apache::lonrss::advertisefeeds($cnum,$cdom)); + '

'.&Apache::loncommon::messagewrapper(&mt('Send me a message'),$cnum,$cdom).'

'.&Apache::lonrss::advertisefeeds($cnum,$cdom)); } else { $r->print('\textbf{'.&Apache::lonnet::domain($cdom,'description').'}\\\\'); } @@ -150,7 +151,7 @@ sub handler { $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.'). '

'. - &Apache::loncommon::help_open_topic('Uploaded_Templates_TextBoxes','Help with filling in text boxes').'

Show Public View'. + &Apache::loncommon::help_open_topic('Uploaded_Templates_TextBoxes',&mt('Help with filling in text boxes')).'

'.&mt('Show Public View').''. &Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView').'

'); } elsif ($privleged && $target ne 'tex') { my $query_string = &build_query_string({'forceedit' => '1',}); @@ -206,12 +207,12 @@ sub handler { if ($allowed) { $r->print( '
- +
'. '
'. '

'.&mt('Upload a Photo').'

'. ''. - ''. + ''. '
'); }