--- loncom/homework/lonsimpleproblemedit.pm 2004/11/30 22:57:16 1.11 +++ loncom/homework/lonsimpleproblemedit.pm 2004/11/30 23:28:57 1.12 @@ -1,7 +1,7 @@ # The LearningOnline Network # Simple Problem Parameter Setting "Editor" # -# $Id: lonsimpleproblemedit.pm,v 1.11 2004/11/30 22:57:16 albertel Exp $ +# $Id: lonsimpleproblemedit.pm,v 1.12 2004/11/30 23:28:57 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -52,6 +52,7 @@ sub evaloptionhash { sub rawrendering { my ($symb)=@_; my %data=('show_errors'=>'on', + 'simple_edit_button' => 'off', 'devalidatecourseresdata'=>'on'); return &Apache::loncommon::get_student_view($symb,time,time, $ENV{'request.course.id'}, @@ -196,6 +197,9 @@ ENDDOCUMENT $r->print(&Apache::loncommon::bodytag('Simple Problem Editor')); if ($symb) { $r->print('

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

'); + $r->print('
'. + ''.&mt('Student View').' - '.&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). '

'); @@ -212,7 +216,7 @@ ENDDOCUMENT $r->print(''.&mt('Question Type'). ': '.&Apache::loncommon::select_form ($qtype,'questiontype',%questiontypes). - '

 

'); # Question Text $r->print(&questiontext()); @@ -284,7 +288,7 @@ ENDDOCUMENT } # Store Button $r->print( - ''); + ''); } else { $r->print(&mt('Could not identify problem.')); }