Diff for /loncom/homework/lonsimpleproblemedit.pm between versions 1.16 and 1.17

version 1.16, 2005/05/26 20:35:53 version 1.17, 2006/04/10 22:47:29
Line 212  sub handler { Line 212  sub handler {
   
 # ------------------------------------------------------------ Print the screen  # ------------------------------------------------------------ Print the screen
     my $spell_header=&Apache::lonhtmlcommon::spellheader();      my $spell_header=&Apache::lonhtmlcommon::spellheader();
     $r->print(<<ENDDOCUMENT);      $r->print(&Apache::loncommon::start_page('Simple Problem Editor',
 <html>       $spell_header));
 <head>  
 <title>The LearningOnline Network with CAPA</title>  
 $spell_header  
 </head>  
 ENDDOCUMENT  
     $r->print(&Apache::loncommon::bodytag('Simple Problem Editor'));  
     if ($symb) {      if ($symb) {
  $r->print('<h1>'.&Apache::lonnet::gettitle($symb).'</h1>');   $r->print('<h1>'.&Apache::lonnet::gettitle($symb).'</h1>');
  $r->print('<table width="100%" bgcolor="#FFFFAA" border="2"><tr><td>'.   $r->print('<table width="100%" bgcolor="#FFFFAA" border="2"><tr><td>'.
Line 317  ENDDOCUMENT Line 311  ENDDOCUMENT
     } else {      } else {
  $r->print(&mt('Could not identify problem.'));   $r->print(&mt('Could not identify problem.'));
     }      }
     $r->print('</body></html>');      $r->print(&Apache::loncommon::end_page());
     return OK;      return OK;
 }   } 
   

Removed from v.1.16  
changed lines
  Added in v.1.17


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