--- loncom/homework/lonsimpleproblemedit.pm 2009/02/01 20:40:28 1.20 +++ loncom/homework/lonsimpleproblemedit.pm 2009/04/06 12:59:07 1.21 @@ -1,7 +1,7 @@ # The LearningOnline Network # Simple Problem Parameter Setting "Editor" # -# $Id: lonsimpleproblemedit.pm,v 1.20 2009/02/01 20:40:28 raeburn Exp $ +# $Id: lonsimpleproblemedit.pm,v 1.21 2009/04/06 12:59:07 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -222,15 +222,28 @@ sub handler { $spell_header)); if ($symb) { $r->print('

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

'); - $r->print('
'); + $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(''.&mt('Student View').' - '); + if ($displaylink ne '') { + $r->print(&Apache::lontemplate::start_functionslist() + .&Apache::lontemplate::item_functionslist( + ''.&mt('Student View').'') + .&Apache::lontemplate::end_functionslist() + ); } else { - $r->print(''.&mt('An error occurred retrieving the link to this problem').'
'.&mt('You may need to [_1]re-select the course[_2] and then return to this resource to view it.','','').'

'); + $r->print('

' + .&mt('An error occurred retrieving the link to this problem.') + .'
' + .&mt('You may need to [_1]re-select the course[_2] and then return to this resource to view it.' + ,'','') + .'

' + ); } - $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). '

');