--- loncom/homework/lonsimpleproblemedit.pm 2009/05/11 16:51:22 1.22 +++ loncom/homework/lonsimpleproblemedit.pm 2009/06/11 16:48:28 1.23 @@ -1,7 +1,7 @@ # The LearningOnline Network # Simple Problem Parameter Setting "Editor" # -# $Id: lonsimpleproblemedit.pm,v 1.22 2009/05/11 16:51:22 bisitz Exp $ +# $Id: lonsimpleproblemedit.pm,v 1.23 2009/06/11 16:48:28 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -222,18 +222,14 @@ sub handler { $spell_header)); if ($symb) { $r->print('

'.&Apache::lonnet::gettitle($symb).'

'); - $r->print('

' - .&mt('Note: it can take up to 10 minutes for changes to take effect for all users.') - .&Apache::loncommon::help_open_topic('Caching') - .'

' - ); my $displaylink = &get_parent_uri($symb); if ($displaylink ne '') { - $r->print(&Apache::lontemplate::start_functionslist() - .&Apache::lontemplate::item_functionslist( - ''.&mt('Student View').'') - .&Apache::lontemplate::end_functionslist() - ); + my $functions=&Apache::lonhtmlcommon::start_funclist() + .&Apache::lonhtmlcommon::add_item_funclist( + '' + .&mt('Student View').'') + .&Apache::lonhtmlcommon::end_funclist(); + $r->print(&Apache::loncommon::head_subbox($functions)); } else { $r->print('

' .&mt('An error occurred retrieving the link to this problem.') @@ -243,6 +239,11 @@ sub handler { .'

' ); } + $r->print('

' + .&mt('Note: it can take up to 10 minutes for changes to take effect for all users.') + .&Apache::loncommon::help_open_topic('Caching') + .'

' + ); $r->print('
'. &rawrendering($symb).