--- loncom/interface/londocs.pm 2004/03/31 05:23:59 1.111 +++ loncom/interface/londocs.pm 2004/04/07 21:40:21 1.115 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.111 2004/03/31 05:23:59 albertel Exp $ +# $Id: londocs.pm,v 1.115 2004/04/07 21:40:21 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -258,11 +258,54 @@ sub group_import { return &storemap($coursenum, $coursedom, $folder.'.sequence'); } -sub editor { - my ($r,$coursenum,$coursedom,$folder,$allowed)=@_; +sub breadcrumbs { + my ($where)=@_; + &Apache::lonhtmlcommon::clear_breadcrumbs(); + if ($where =~ /^default/) { + &Apache::lonhtmlcommon::add_breadcrumb({'href'=>'/adm/coursedocs', + 'title'=>'Main Course Documents', + 'text' =>'Main Course Documents'}); + } elsif ($where =~ /^supplemental/) { + &Apache::lonhtmlcommon::add_breadcrumb({'href'=>'/adm/coursedocs', + 'title'=>'Supplemental Course Documents', + 'text' =>'Supplemental Course Documents'}); + + } else { + &Apache::lonhtmlcommon::add_breadcrumb({'href'=>'/adm/coursedocs', + 'title'=>$where, + 'text' =>$where}); + } if ($ENV{'form.foldername'}) { - $r->print('
-
+
![]() |
-
+
![]() |