--- loncom/interface/londocs.pm 2006/06/19 09:40:17 1.232
+++ loncom/interface/londocs.pm 2006/06/30 00:59:00 1.235
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.232 2006/06/19 09:40:17 www Exp $
+# $Id: londocs.pm,v 1.235 2006/06/30 00:59:00 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -237,8 +237,10 @@ sub dumpcourse {
'ids_/uploaded/'.$origcrsdata{'domain'}.'/'.$origcrsdata{'num'}.'/'.$_}};
$title=~s/:/:/g;
$r->print('
'.($title?$title:' ').' | ');
- unless ($title) {
+ if (!$title) {
$title=$_;
+ } else {
+ $title=~s|/|_|g;
}
$title=~s/\.(\w+)$//;
$title=&clean($title);
@@ -975,7 +977,8 @@ sub breadcrumbs {
}
- return &Apache::lonhtmlcommon::breadcrumbs(undef,undef,0,'nohelp');
+ return &Apache::lonhtmlcommon::breadcrumbs(undef,undef,0,'nohelp',
+ 'LC_docs_path');
}
sub editor {
@@ -2207,7 +2210,7 @@ sub handler {
$script = '';
$r->print(&Apache::loncommon::start_page("$type Documents", $script,
{'force_register' => $showdoc,}).
- &Apache::loncommon::help_open_menu('','','','',273,'RAT'));
+ &Apache::loncommon::help_open_menu('','',273,'RAT'));
my %allfiles = ();
my %codebase = ();