--- loncom/homework/structuretags.pm 2009/06/09 12:56:27 1.449
+++ loncom/homework/structuretags.pm 2010/02/28 23:28:54 1.465
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: structuretags.pm,v 1.449 2009/06/09 12:56:27 bisitz Exp $
+# $Id: structuretags.pm,v 1.465 2010/02/28 23:28:54 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -212,8 +212,21 @@ sub page_start {
if ($env{'environment.remote'} ne 'off') {
$body_args{'only_body'} = 1;
}
- $pageheader = &Apache::lonhtmlcommon::breadcrumbs() # FIXME add breadcrumbs
- .&Apache::loncommon::head_subbox(
+ # Breadcrumbs for Construction Space
+ &Apache::lonhtmlcommon::clear_breadcrumbs();
+ &Apache::lonhtmlcommon::add_breadcrumb({
+ '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::loncommon::head_subbox(
&Apache::loncommon::CSTR_pageheader());
}
} elsif (!defined($found{'body'})) {
@@ -246,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') { @@ -260,7 +273,9 @@ sub page_start { my $form_tag_start; if (!defined($found{'form'})) { $form_tag_start='