Diff for /loncom/interface/lonaboutme.pm between versions 1.26 and 1.28

version 1.26, 2004/05/12 19:00:20 version 1.28, 2004/07/15 21:08:45
Line 153  ENDDOCUMENT Line 153  ENDDOCUMENT
        if ($syllabus{'uploaded.photourl'}) {         if ($syllabus{'uploaded.photourl'}) {
    &Apache::lonnet::allowuploaded('/adm/aboutme',     &Apache::lonnet::allowuploaded('/adm/aboutme',
   $syllabus{'uploaded.photourl'});    $syllabus{'uploaded.photourl'});
    if ($target ne 'tex') {     my $image='<img src="'.$syllabus{'uploaded.photourl'}.'"
        $r->print('<img src="'.$syllabus{'uploaded.photourl'}.                             align="right" />';
  '" align="right" />');     if ($target eq 'tex') {
    } else {         $image=&Apache::lonxml::xmlparse($r,'tex',$image);
        $r->print(&Apache::lonxml::xmlparse($r,'tex','<img src="'.$syllabus{'uploaded.photourl'}.  
  '" align="right" />'));  
    }     }
      $r->print($image);
        }         }
        if ($allowed) {         if ($allowed) {
            $r->print(             $r->print(
Line 200  ENDDOCUMENT Line 199  ENDDOCUMENT
     }      }
     if ($ENV{'request.course.id'}) {      if ($ENV{'request.course.id'}) {
  if (&Apache::lonnet::allowed('srm',$ENV{'request.course.id'})) {   if (&Apache::lonnet::allowed('srm',$ENV{'request.course.id'})) {
               $r->print('<a name="coursecomment" />');
     if ($target ne 'tex') {      if ($target ne 'tex') {
  $r->print('<hr /><h3>'.   $r->print('<hr /><h3>'.
                           &mt('User Notes, Records of Face-To-Face Discussions, and Critical Messages in Course').'</h3>'.                            &mt('User Notes, Records of Face-To-Face Discussions, and Critical Messages in Course').'</h3>'.

Removed from v.1.26  
changed lines
  Added in v.1.28


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