--- loncom/homework/functionplotresponse.pm 2015/03/10 15:43:59 1.105.2.1
+++ loncom/homework/functionplotresponse.pm 2015/01/19 15:35:53 1.107
@@ -1,7 +1,7 @@
# LearningOnline Network with CAPA
# Functionplot responses
#
-# $Id: functionplotresponse.pm,v 1.105.2.1 2015/03/10 15:43:59 raeburn Exp $
+# $Id: functionplotresponse.pm,v 1.107 2015/01/19 15:35:53 goltermann Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -76,10 +76,6 @@ sub useHTML5 {
if (($env{'browser.os'} eq 'win') && ($env{'browser.version'} == 10)) {
return 1;
}
- } elsif ($env{'browser.type'} eq 'opera') {
- if ($env{'browser.version'} >= 18) {
- return 1;
- }
}
return 0;
}
@@ -1460,7 +1456,7 @@ sub start_functionplotresponse {
my $ylabel=&Apache::lonxml::get_param('ylabel',$parstack,$safeeval);
if ($target eq 'edit') {
$result.=&Apache::edit::start_table($token)
- .'
'.&mt('Function Plot Question').' | '
+ .'
'.&Apache::loncommon::insert_folding_button().&mt('Function Plot Question').' | '
.''.&mt('Delete?').' '
.&Apache::edit::deletelist($target,$token).' '
.&Apache::edit::insertlist($target,$token).' '
@@ -2047,7 +2043,7 @@ sub start_functionplotruleset {
my ($target,$token,$tagstack,$parstack,$parser,$safeeval,$style)=@_;
if ($target eq 'edit') {
return &Apache::edit::start_table($token).
- ''.&mt('Function Plot Rule Set').' | '
+ ' '.&Apache::loncommon::insert_folding_button().&mt('Function Plot Rule Set').' | '
.''.&mt('Delete?').' '
.&Apache::edit::deletelist($target,$token).' '.
&Apache::edit::insertlist($target,$token).' '
@@ -2240,7 +2236,8 @@ sub start_functionplotelements {
if ($target eq 'edit') {
return &Apache::edit::start_table($token).
- ''.&mt('Function Plot Elements').' | '
+ ' '.&Apache::loncommon::insert_folding_button()
+ .&mt('Function Plot Elements').' | '
.''.&mt('Delete?').' '
.&Apache::edit::deletelist($target,$token).' '.
&Apache::edit::insertlist($target,$token).' '
| | |