version 1.99, 2012/08/17 18:02:15
|
version 1.102, 2013/07/12 21:19:17
|
Line 196 sub init_script {
|
Line 196 sub init_script {
|
my $html5init=''; |
my $html5init=''; |
if (&useHTML5()) { |
if (&useHTML5()) { |
$html5init= |
$html5init= |
'<script type="text/javascript" language="javascript" src="/adm/geogebra/html5/web/test42/web/web.nocache.js"></script>'; |
'<script type="text/javascript" language="javascript" src="/adm/geogebra/web/web.nocache.js"></script>'; |
} |
} |
return (<<ENDGGBINIT); |
return (<<ENDGGBINIT); |
$html5init |
$html5init |
Line 810 sub start_backgroundplot {
|
Line 810 sub start_backgroundplot {
|
&Apache::edit::text_arg('Label on Plot:','label', |
&Apache::edit::text_arg('Label on Plot:','label', |
$token,'8'). |
$token,'8'). |
&Apache::edit::text_arg('Color (hex code):','color', |
&Apache::edit::text_arg('Color (hex code):','color', |
$token,'8'). |
$token,'8', 'colorchooser'). |
&Apache::edit::select_arg('Fixed location:','fixed', |
&Apache::edit::select_arg('Fixed location:','fixed', |
['yes','no'],$token). |
['yes','no'],$token). |
&Apache::edit::end_row(); |
&Apache::edit::end_row(); |
Line 1485 sub start_functionplotresponse {
|
Line 1485 sub start_functionplotresponse {
|
$env{'form.counter'},$Apache::lonxml::curdepth); |
$env{'form.counter'},$Apache::lonxml::curdepth); |
&Apache::lonxml::add_script_result( |
&Apache::lonxml::add_script_result( |
&Apache::loncommon::modal_adhoc_window($function_name,700,500, |
&Apache::loncommon::modal_adhoc_window($function_name,700,500, |
'<pre>'.$Apache::functionplotresponse::ruleslog.'</pre>', |
'<pre style="background-color:#ffffff;">'.$Apache::functionplotresponse::ruleslog.'</pre>', |
&mt('Rules Log'))."<br />"); |
&mt('Rules Log'))."<br />"); |
} |
} |
return $result; |
return $result; |