version 1.409, 2009/05/28 17:08:43
|
version 1.410, 2009/06/02 13:10:29
|
Line 540 sub start_body {
|
Line 540 sub start_body {
|
|
|
# Breadcrumbs |
# Breadcrumbs |
&Apache::lonhtmlcommon::clear_breadcrumbs(); |
&Apache::lonhtmlcommon::clear_breadcrumbs(); |
&Apache::lonhtmlcommon::add_breadcrumb({ |
if ($env{'request.state'} eq 'construct') { |
'text' => 'Construction Space', |
&Apache::lonhtmlcommon::add_breadcrumb({ |
'href' => &Apache::loncommon::authorspace(), |
'text' => 'Construction Space', |
}); |
'href' => &Apache::loncommon::authorspace(), |
&Apache::lonhtmlcommon::add_breadcrumb({ |
}); |
'text' => 'HTML Editor', |
&Apache::lonhtmlcommon::add_breadcrumb({ |
'href' => '', |
'text' => 'HTML Editor', |
}); |
'href' => '', |
|
}); |
|
} else { |
|
# FIXME Where are we? |
|
} |
|
|
$currentstring = |
$currentstring = |
&Apache::loncommon::start_page($Apache::londefdef::title, |
&Apache::loncommon::start_page($Apache::londefdef::title, |
Line 564 sub start_body {
|
Line 568 sub start_body {
|
$header=&Apache::lonmenu::constspaceform() |
$header=&Apache::lonmenu::constspaceform() |
.&Apache::londefdef::edit_controls(); |
.&Apache::londefdef::edit_controls(); |
} |
} |
$currentstring.=&Apache::loncommon::head_subbox( |
if ($env{'request.state'} eq 'construct') { |
&Apache::loncommon::CSTR_pageheader() |
$currentstring.=&Apache::loncommon::head_subbox( |
.$header); |
&Apache::loncommon::CSTR_pageheader() |
|
.$header); |
|
} |
$currentstring.=&Apache::lonxml::message_location(); |
$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. |