--- loncom/homework/structuretags.pm 2009/06/17 15:27:20 1.452
+++ loncom/homework/structuretags.pm 2009/12/07 11:46:33 1.463
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: structuretags.pm,v 1.452 2009/06/17 15:27:20 bisitz Exp $
+# $Id: structuretags.pm,v 1.463 2009/12/07 11:46:33 foxr Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -218,13 +218,15 @@ sub page_start {
'text' => 'Construction Space',
'href' => &Apache::loncommon::authorspace(),
});
+ # breadcrumbs (and tools) will be created
+ # in start_page->bodytag->innerregister
+
# FIXME Where are we?
# &Apache::lonhtmlcommon::add_breadcrumb({
# 'text' => 'Problem Editing', # 'Problem Testing'
# 'href' => '',
# });
- $pageheader = &Apache::lonhtmlcommon::breadcrumbs()
- .&Apache::loncommon::head_subbox(
+ $pageheader =&Apache::loncommon::head_subbox(
&Apache::loncommon::CSTR_pageheader());
}
} elsif (!defined($found{'body'})) {
@@ -257,11 +259,11 @@ sub page_start {
&& ($target eq 'web' || $target eq 'webgrade')) {
my ($symb,undef,undef,undef,$publicuser)= &Apache::lonnet::whichuser();
- if ($symb eq '' && !$publicuser) {
- my $help = &Apache::loncommon::help_open_topic("Ambiguous_Reference");
- $help=&mt("Browsing resource, all submissions are temporary.")."
";
- $page_start .= $help;
- }
+ if ($symb eq '' && !$publicuser) {
+ $page_start .= '
' + .&mt('Browsing resource, all submissions are temporary.') + .'
'; + } } if (!defined($found{'body'}) && $env{'request.state'} ne 'construct') { @@ -271,7 +273,8 @@ sub page_start { my $form_tag_start; if (!defined($found{'form'})) { $form_tag_start='