Diff for /loncom/homework/lonsimpleproblemedit.pm between versions 1.22 and 1.23

version 1.22, 2009/05/11 16:51:22 version 1.23, 2009/06/11 16:48:28
Line 222  sub handler { Line 222  sub handler {
      $spell_header));       $spell_header));
     if ($symb) {      if ($symb) {
  $r->print('<h1>'.&Apache::lonnet::gettitle($symb).'</h1>');   $r->print('<h1>'.&Apache::lonnet::gettitle($symb).'</h1>');
         $r->print('<p class="LC_warning">'  
                  .&mt('Note: it can take up to 10 minutes for changes to take effect for all users.')  
                  .&Apache::loncommon::help_open_topic('Caching')  
                  .'</p>'  
         );  
         my $displaylink = &get_parent_uri($symb);          my $displaylink = &get_parent_uri($symb);
         if ($displaylink ne '') {          if ($displaylink ne '') {
             $r->print(&Apache::lontemplate::start_functionslist()              my $functions=&Apache::lonhtmlcommon::start_funclist()
                      .&Apache::lontemplate::item_functionslist(                           .&Apache::lonhtmlcommon::add_item_funclist(
                           '<a href="'.$displaylink.'">'.&mt('Student View').'</a>')                                '<a href="'.$displaylink.'">'
                      .&Apache::lontemplate::end_functionslist()                               .&mt('Student View').'</a>')
             );                               .&Apache::lonhtmlcommon::end_funclist();
               $r->print(&Apache::loncommon::head_subbox($functions));
         } else {          } else {
             $r->print('<p class="LC_error">'              $r->print('<p class="LC_error">'
                      .&mt('An error occurred retrieving the link to this problem.')                       .&mt('An error occurred retrieving the link to this problem.')
Line 243  sub handler { Line 239  sub handler {
                      .'</p>'                       .'</p>'
             );              );
         }          }
           $r->print('<p class="LC_warning">'
                    .&mt('Note: it can take up to 10 minutes for changes to take effect for all users.')
                    .&Apache::loncommon::help_open_topic('Caching')
                    .'</p>'
           );
   
  $r->print('<table border="2" bgcolor="#FFFFFF" width="100%"><tr><td>'.   $r->print('<table border="2" bgcolor="#FFFFFF" width="100%"><tr><td>'.
                   &rawrendering($symb).                    &rawrendering($symb).

Removed from v.1.22  
changed lines
  Added in v.1.23


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