Diff for /loncom/interface/lonbulletin.pm between versions 1.60 and 1.61

version 1.60, 2010/06/05 22:07:05 version 1.61, 2010/08/07 19:23:50
Line 265  sub handler { Line 265  sub handler {
             &Apache::lonnet::allowuploaded('/adm/syllabus',              &Apache::lonnet::allowuploaded('/adm/syllabus',
                                            $syllabus{'uploaded.photourl'});                                             $syllabus{'uploaded.photourl'});
         }          }
         my @htmlids=();  
         #Outputbox and Inputbox for Image upload          #Outputbox and Inputbox for Image upload
         if ($allowed) {          if ($allowed) {
         my $message = '<img src="'.$syllabus{'uploaded.photourl'}.'" alt="'.&mt('Image').'"/>';          my $message = '<img src="'.$syllabus{'uploaded.photourl'}.'" alt="'.&mt('Image').'"/>';
Line 285  sub handler { Line 284  sub handler {
         }          }
                   
         my %custom_handlers = ( 'aaa_title' => sub {} );          my %custom_handlers = ( 'aaa_title' => sub {} );
  @htmlids = &Apache::lontemplate::print_template_fields($r, \%syllabus, \%syllabusfields,    &Apache::lontemplate::print_template_fields($r, \%syllabus, \%syllabusfields, 
  $target, $allowed, Apache::lontemplate->RICH_TEXT_DETECT_HTML, \%custom_handlers);   $target, $allowed, Apache::lontemplate->RICH_TEXT_DETECT_HTML, \%custom_handlers);
         if ($allowed) {          if ($allowed) {
             $r->print('</form>'.              $r->print('</form>'.
             &Apache::lonhtmlcommon::htmlareaselectactive(@htmlids));              &Apache::lonhtmlcommon::htmlareaselectactive());
         }          }
         if ($target ne 'tex'){          if ($target ne 'tex'){
             $r->print('<br/><br/><hr/><br/>');              $r->print('<br/><br/><hr/><br/>');

Removed from v.1.60  
changed lines
  Added in v.1.61


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