Diff for /loncom/interface/lonaboutme.pm between versions 1.122 and 1.123

version 1.122, 2009/04/03 10:46:13 version 1.123, 2009/04/03 15:22:22
Line 223  sub handler { Line 223  sub handler {
   
 #Print Privacy Note  #Print Privacy Note
     if ($allowed) {                if ($allowed) {          
            $r->print('<p class="LC_info">'             $r->print('<div class="LC_info">'
                     .'<b>'.&mt('Privacy Note:').'</b> '                      .'<b>'.&mt('Privacy Note:').'</b> '
                     .&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.')                      .&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.')
                     .'</p>'                      .'</div>'
            );             );
  }   }
   
   #Print last modified
   
    my $lastmod;
       if (($syllabus{'uploaded.lastmodified'}) || ($allowed)) {
          $lastmod=$syllabus{'uploaded.lastmodified'};
          $lastmod=($lastmod?&Apache::lonlocal::locallocaltime($lastmod):&mt('never'));
    $r->print('<div class="LC_info">');
     $r->print(&mt('Last updated').': '.$lastmod . '');
    $r->print('</div>');
   }
 #Print Help Text  #Print Help Text
  if ($target ne 'tex') {   if ($target ne 'tex') {
  if($allowed){   if($allowed){
Line 320  sub handler { Line 330  sub handler {
            &Apache::lonnet::put('aboutme',\%syllabus,$cdom,$cnum);             &Apache::lonnet::put('aboutme',\%syllabus,$cdom,$cnum);
        }         }
   
 my $lastmod;  
 my $image;   my $image; 
 # ---------------------------------------------------------------- Get syllabus  # ---------------------------------------------------------------- Get syllabus
     if (($syllabus{'uploaded.lastmodified'}) || ($allowed)) {      if (($syllabus{'uploaded.lastmodified'}) || ($allowed)) {
        $lastmod=$syllabus{'uploaded.lastmodified'};  
        $lastmod=($lastmod?&Apache::lonlocal::locallocaltime($lastmod):&mt('never'));  
   $r->print('<br />'.&mt('Last updated').': '.$lastmod);  
   
   
        if ($syllabus{'uploaded.photourl'}) {         if ($syllabus{'uploaded.photourl'}) {
    &Apache::lonnet::allowuploaded('/adm/aboutme',     &Apache::lonnet::allowuploaded('/adm/aboutme',
   $syllabus{'uploaded.photourl'});    $syllabus{'uploaded.photourl'});

Removed from v.1.122  
changed lines
  Added in v.1.123


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>