version 1.105.2.2, 2015/04/05 17:09:57
|
version 1.112, 2024/06/06 15:55:19
|
Line 159 sub html5_geogebra_startcode {
|
Line 159 sub html5_geogebra_startcode {
|
unless ($height) { $height=400; } |
unless ($height) { $height=400; } |
my $code=&geogebra_internal_program(); |
my $code=&geogebra_internal_program(); |
return (<<ENDSTARTCODE); |
return (<<ENDSTARTCODE); |
|
<div class="LC_left_float" style="margin:0; width:100%;"> |
<article class="geogebraweb" data-param-enableLabelDrags="false" data-param-enableShiftDragZoom="false" |
<article class="geogebraweb" data-param-enableLabelDrags="false" data-param-enableShiftDragZoom="false" |
data-param-width="$width" data-param-height="$height" data-param-id="ggbApplet$appid" |
data-param-width="$width" data-param-height="$height" data-param-id="ggbApplet$appid" |
data-param-ggbbase64="$code"></article> |
data-param-useBrowserForJS="true" data-param-ggbbase64="$code"></article> |
|
</div><div style="padding:0;clear:both;margin:0;border:0"></div> |
ENDSTARTCODE |
ENDSTARTCODE |
} |
} |
|
|
Line 1457 sub start_functionplotresponse {
|
Line 1459 sub start_functionplotresponse {
|
my $ylabel=&Apache::lonxml::get_param('ylabel',$parstack,$safeeval); |
my $ylabel=&Apache::lonxml::get_param('ylabel',$parstack,$safeeval); |
if ($target eq 'edit') { |
if ($target eq 'edit') { |
$result.=&Apache::edit::start_table($token) |
$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?').' ' |
.'<td><span class="LC_nobreak">'.&mt('Delete?').' ' |
.&Apache::edit::deletelist($target,$token).' ' |
.&Apache::edit::deletelist($target,$token).' ' |
.&Apache::edit::insertlist($target,$token).' ' |
.&Apache::edit::insertlist($target,$token).' ' |
Line 2044 sub start_functionplotruleset {
|
Line 2046 sub start_functionplotruleset {
|
my ($target,$token,$tagstack,$parstack,$parser,$safeeval,$style)=@_; |
my ($target,$token,$tagstack,$parstack,$parser,$safeeval,$style)=@_; |
if ($target eq 'edit') { |
if ($target eq 'edit') { |
return &Apache::edit::start_table($token). |
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?').' ' |
.'<td><span class="LC_nobreak">'.&mt('Delete?').' ' |
.&Apache::edit::deletelist($target,$token).' '. |
.&Apache::edit::deletelist($target,$token).' '. |
&Apache::edit::insertlist($target,$token).' ' |
&Apache::edit::insertlist($target,$token).' ' |
Line 2237 sub start_functionplotelements {
|
Line 2239 sub start_functionplotelements {
|
|
|
if ($target eq 'edit') { |
if ($target eq 'edit') { |
return &Apache::edit::start_table($token). |
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?').' ' |
.'<td><span class="LC_nobreak">'.&mt('Delete?').' ' |
.&Apache::edit::deletelist($target,$token).' '. |
.&Apache::edit::deletelist($target,$token).' '. |
&Apache::edit::insertlist($target,$token).' ' |
&Apache::edit::insertlist($target,$token).' ' |