--- loncom/homework/structuretags.pm 2009/05/19 22:52:19 1.446 +++ loncom/homework/structuretags.pm 2009/06/17 15:27:20 1.452 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.446 2009/05/19 22:52:19 bisitz Exp $ +# $Id: structuretags.pm,v 1.452 2009/06/17 15:27:20 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -212,7 +212,18 @@ sub page_start { if ($env{'environment.remote'} ne 'off') { $body_args{'only_body'} = 1; } - $pageheader = &Apache::lonhtmlcommon::breadcrumbs() # FIXME add breadcrumbs + # Breadcrumbs for Construction Space + &Apache::lonhtmlcommon::clear_breadcrumbs(); + &Apache::lonhtmlcommon::add_breadcrumb({ + 'text' => 'Construction Space', + 'href' => &Apache::loncommon::authorspace(), + }); +# FIXME Where are we? +# &Apache::lonhtmlcommon::add_breadcrumb({ +# 'text' => 'Problem Editing', # 'Problem Testing' +# 'href' => '', +# }); + $pageheader = &Apache::lonhtmlcommon::breadcrumbs() .&Apache::loncommon::head_subbox( &Apache::loncommon::CSTR_pageheader()); } @@ -424,12 +435,14 @@ sub problem_web_to_edit_header { my $show_all_foils_text = ($Apache::lonhomework::parsing_a_task) ? - &mt(' Show All Instances') - : &mt(' Show All Foils'); + &mt('Show All Instances') + : &mt('Show All Foils'); - my $show_all= ''; + $show_all.= ' /> '.$show_all_foils_text + .''; @@ -526,7 +539,8 @@ $show_all $result.=' -
$lt{'id_expln'}
- -$lt{'warning'}
- +$lt{'warning'}