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); |