Diff for /loncom/interface/lonbulletin.pm between versions 1.37 and 1.38

version 1.37, 2006/07/17 21:59:24 version 1.38, 2006/07/20 22:50:50
Line 197  sub handler { Line 197  sub handler {
       if ($syllabus{'uploaded.photourl'}) {        if ($syllabus{'uploaded.photourl'}) {
   &Apache::lonnet::removeuploadedurl($syllabus{'uploaded.photourl'});    &Apache::lonnet::removeuploadedurl($syllabus{'uploaded.photourl'});
       }        }
       $syllabus{'uploaded.photourl'}=                if ($group ne '') {
   &Apache::lonnet::userfileupload('uploaddoc',1,'bulletin');            $syllabus{'uploaded.photourl'}=
         &Apache::lonnet::userfileupload('uploaddoc',1,
                                                         'bulletin/'.$group.'/'.$marker);
                 } else {
                     $syllabus{'uploaded.photourl'}=
                         &Apache::lonnet::userfileupload('uploaddoc',1,
                                                         'bulletin/'.$marker);
                 }
    }     }
           $syllabus{'uploaded.lastmodified'}=time;            $syllabus{'uploaded.lastmodified'}=time;
           &Apache::lonnet::put('bulletinpage_'.$marker,\%syllabus,$dom,$crs);            &Apache::lonnet::put('bulletinpage_'.$marker,\%syllabus,$dom,$crs);

Removed from v.1.37  
changed lines
  Added in v.1.38


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