--- rat/lonratedt.pm 2009/05/25 17:49:43 1.96 +++ rat/lonratedt.pm 2009/06/09 15:01:28 1.97 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Edit Handler for RAT Maps # -# $Id: lonratedt.pm,v 1.96 2009/05/25 17:49:43 bisitz Exp $ +# $Id: lonratedt.pm,v 1.97 2009/06/09 15:01:28 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -543,7 +543,7 @@ ENDJS &Apache::lonhtmlcommon::clear_breadcrumbs(); &Apache::lonhtmlcommon::add_breadcrumb({ text => 'Construction Space', - href => '', # FIXME Add link to priv/[user] + href => &Apache::loncommon::authorspace(), faq => 6, bug => 'RAT', help => 'Sequence_Simple_Editor_Creation',}); @@ -640,8 +640,13 @@ ENDSMPHEAD sub nodir { my ($r,$dir)=@_; $dir=~s{^/home/$LONCAPA::username_re/public_html}{}; - $r->print(&Apache::loncommon::start_page('Construction Space',undef) - .&Apache::lonhtmlcommon::breadcrumbs() # FIXME add breadcrumbs + my $brcrum = [{'href' => &Apache::loncommon::authorspace(), + 'text' => 'Construction Space'}]; +# {'href' => '', +# 'text' => 'No such directory'}]; + $r->print(&Apache::loncommon::start_page('Construction Space', + undef, + {'bread_crumbs' => $brcrum,}) .&Apache::loncommon::head_subbox( &Apache::loncommon::CSTR_pageheader()) .'

' @@ -659,7 +664,7 @@ sub viewmap { &Apache::lonhtmlcommon::clear_breadcrumbs(); &Apache::lonhtmlcommon::add_breadcrumb({ text => 'Construction Space', - href => '', # FIXME Add link to priv/[user] + href => &Apache::loncommon::authorspace(), faq => 6, bug => 'RAT', help => 'Sequence_Simple_Editor_Creation',}); @@ -682,7 +687,7 @@ sub viewmap { ); } my $idx=0; - $r->print('

'.$url.'

'); + $r->print('

'.$url.'

'); if ($adv) { $r->print('

' .&mt('Map contents are not shown in order.')