--- loncom/homework/functionplotresponse.pm 2015/04/05 17:09:57 1.105.2.2 +++ loncom/homework/functionplotresponse.pm 2016/09/14 18:14:48 1.105.2.3 @@ -1,7 +1,7 @@ # LearningOnline Network with CAPA # Functionplot responses # -# $Id: functionplotresponse.pm,v 1.105.2.2 2015/04/05 17:09:57 raeburn Exp $ +# $Id: functionplotresponse.pm,v 1.105.2.3 2016/09/14 18:14:48 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1457,7 +1457,7 @@ sub start_functionplotresponse { my $ylabel=&Apache::lonxml::get_param('ylabel',$parstack,$safeeval); if ($target eq 'edit') { $result.=&Apache::edit::start_table($token) - .'<tr><td><span class="LC_nobreak">'.&mt('Function Plot Question').'</span></td>' + .'<tr><td><span class="LC_nobreak">'.&Apache::loncommon::insert_folding_button().&mt('Function Plot Question').'</span></td>' .'<td><span class="LC_nobreak">'.&mt('Delete?').' ' .&Apache::edit::deletelist($target,$token).' ' .&Apache::edit::insertlist($target,$token).' ' @@ -2044,7 +2044,7 @@ sub start_functionplotruleset { my ($target,$token,$tagstack,$parstack,$parser,$safeeval,$style)=@_; if ($target eq 'edit') { return &Apache::edit::start_table($token). - '<tr><td><span class="LC_nobreak">'.&mt('Function Plot Rule Set').'</span></td>' + '<tr><td><span class="LC_nobreak">'.&Apache::loncommon::insert_folding_button().&mt('Function Plot Rule Set').'</span></td>' .'<td><span class="LC_nobreak">'.&mt('Delete?').' ' .&Apache::edit::deletelist($target,$token).' '. &Apache::edit::insertlist($target,$token).' ' @@ -2237,7 +2237,8 @@ sub start_functionplotelements { if ($target eq 'edit') { return &Apache::edit::start_table($token). - '<tr><td><span class="LC_nobreak">'.&mt('Function Plot Elements').'</span></td>' + '<tr><td><span class="LC_nobreak">'.&Apache::loncommon::insert_folding_button() + .&mt('Function Plot Elements').'</span></td>' .'<td><span class="LC_nobreak">'.&mt('Delete?').' ' .&Apache::edit::deletelist($target,$token).' '. &Apache::edit::insertlist($target,$token).' '