version 1.405, 2009/05/15 18:06:20
|
version 1.407, 2009/05/26 14:54:29
|
Line 538 sub start_body {
|
Line 538 sub start_body {
|
|
|
my $extra_head = &generate_css_links(); |
my $extra_head = &generate_css_links(); |
|
|
|
# Breadcrumbs |
|
&Apache::lonhtmlcommon::clear_breadcrumbs(); |
|
&Apache::lonhtmlcommon::add_breadcrumb({ |
|
'text' => 'Construction Space', |
|
'href' => '', # FIXME Add link to /priv/[user] |
|
}); |
|
&Apache::lonhtmlcommon::add_breadcrumb({ |
|
'text' => 'HTML Editor', |
|
'href' => '', |
|
}); |
|
|
$currentstring = |
$currentstring = |
&Apache::loncommon::start_page($Apache::londefdef::title, |
&Apache::loncommon::start_page($Apache::londefdef::title, |
$Apache::londefdef::head |
$Apache::londefdef::head |
Line 546 sub start_body {
|
Line 557 sub start_body {
|
# 'no_title' => 1, |
# 'no_title' => 1, |
'force_register' => 1}); |
'force_register' => 1}); |
|
|
if ($env{'request.state'} ne 'published') { |
$currentstring .= &Apache::lonhtmlcommon::breadcrumbs(); |
$currentstring.=&Apache::lonmenu::constspaceform(); |
|
$currentstring.=&Apache::londefdef::edit_controls(); |
my $header = ''; |
} |
if ($env{'request.state'} ne 'published') { |
$currentstring.=&Apache::lonxml::message_location(); |
$header=&Apache::lonmenu::constspaceform() |
|
.&Apache::londefdef::edit_controls(); |
|
} |
|
$currentstring.=&Apache::loncommon::head_subbox( |
|
&Apache::loncommon::CSTR_pageheader() |
|
.$header); |
|
$currentstring.=&Apache::lonxml::message_location(); |
} elsif ($target eq 'tex') { |
} elsif ($target eq 'tex') { |
$currentstring = ''; # '\begin{document}' is in header. |
$currentstring = ''; # '\begin{document}' is in header. |
} |
} |
|
|
return $currentstring; |
return $currentstring; |
} |
} |
|
|