version 1.499, 2009/10/04 03:36:08
|
version 1.500, 2009/10/15 21:12:51
|
Line 1546 sub renderingoptions {
|
Line 1546 sub renderingoptions {
|
= &Apache::loncommon::plainlanguagedescription($_); |
= &Apache::loncommon::plainlanguagedescription($_); |
} |
} |
} |
} |
return |
my $output; |
'<span class="LC_nobreak">'. |
unless ($env{'form.forceedit'}) { |
&mt('Language:').' '. |
$output .= ' |
&Apache::loncommon::select_form($env{'form.languages'},'languages', |
<span class="LC_nobreak">'. |
%langchoices).' |
&mt('Language:').' '. |
</span> |
&Apache::loncommon::select_form($env{'form.languages'},'languages', |
|
%langchoices).' |
|
</span>'; |
|
} |
|
$output .= ' |
<span class="LC_nobreak">'. |
<span class="LC_nobreak">'. |
&mt('Math Rendering:').' '. |
&mt('Math Rendering:').' '. |
&Apache::loncommon::select_form($env{'form.texengine'},'texengine', |
&Apache::loncommon::select_form($env{'form.texengine'},'texengine', |
Line 1560 sub renderingoptions {
|
Line 1564 sub renderingoptions {
|
'jsMath' => 'jsMath', |
'jsMath' => 'jsMath', |
'mimetex' => 'mimetex (Convert to Images)')).' |
'mimetex' => 'mimetex (Convert to Images)')).' |
</span>'; |
</span>'; |
|
return $output; |
} |
} |
|
|
sub inserteditinfo { |
sub inserteditinfo { |
Line 1852 ENDNOTFOUND
|
Line 1857 ENDNOTFOUND
|
('add_entries' => |
('add_entries' => |
{'onresize' => $add_to_onresize, |
{'onresize' => $add_to_onresize, |
'onload' => $add_to_onload, }); |
'onload' => $add_to_onload, }); |
|
my $header; |
$options{'bread_crumbs'} = [{ |
if ($env{'request.state'} eq 'construct') { |
'href' => &Apache::loncommon::authorspace(), |
$options{'bread_crumbs'} = [{ |
'text' => 'Construction Space'}, |
'href' => &Apache::loncommon::authorspace(), |
{'href' => '', |
'text' => 'Construction Space'}, |
'text' => 'HTML Editor'}]; |
{'href' => '', |
|
'text' => 'HTML Editor'}]; |
|
$header = &Apache::loncommon::head_subbox( |
|
&Apache::loncommon::CSTR_pageheader()); |
|
} |
if ($env{'environment.remote'} ne 'off') { |
if ($env{'environment.remote'} ne 'off') { |
$options{'bgcolor'} = '#FFFFFF'; |
$options{'bgcolor'} = '#FFFFFF'; |
$options{'only_body'} = 1; |
$options{'only_body'} = 1; |
Line 1869 ENDNOTFOUND
|
Line 1877 ENDNOTFOUND
|
my $start_page = &Apache::loncommon::start_page(undef,$js, |
my $start_page = &Apache::loncommon::start_page(undef,$js, |
\%options); |
\%options); |
$result = $start_page |
$result = $start_page |
.&Apache::loncommon::head_subbox( |
.$header |
&Apache::loncommon::CSTR_pageheader()) |
|
.&Apache::lonxml::message_location() |
.&Apache::lonxml::message_location() |
.$edit_info |
.$edit_info |
.&Apache::loncommon::end_page(); |
.&Apache::loncommon::end_page(); |