--- loncom/homework/lonhomework.pm 2007/10/17 00:22:51 1.277 +++ loncom/homework/lonhomework.pm 2007/10/31 17:40:00 1.281 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.277 2007/10/17 00:22:51 albertel Exp $ +# $Id: lonhomework.pm,v 1.281 2007/10/31 17:40:00 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -149,7 +149,7 @@ sub get_target { } elsif ( $env{'form.problemmode'} eq &mt('Edit') || $env{'form.problemmode'} eq 'Edit') { if ( $env{'form.submitted'} eq 'edit' ) { - if ( $env{'form.submit'} eq &mt('Submit Changes and View') ) { + if ( $env{'form.submit'} eq &mt('Save and View') ) { return ('modified','web','answer'); } else { return ('modified','no_output_web','edit'); @@ -746,11 +746,14 @@ sub analyze_header {
'; &Apache::lonxml::add_messages(\$result); $request->print($result); @@ -823,7 +826,7 @@ sub analyze { } &Apache::lonhtmlcommon::Update_PrgWin($request,\%prog_state, &mt('Analyzing Results')); - $request->print('+ '.&mt('Problem Editing').&Apache::loncommon::help_open_topic('Problem_Editor_XML_Index').' + | + '.&Apache::loncommon::helpLatexCheatsheet().' + |