[LON-CAPA-cvs] cvs: loncom /interface londocs.pm
bisitz
bisitz@source.lon-capa.org
Wed, 02 Sep 2009 16:24:28 -0000
bisitz Wed Sep 2 16:24:28 2009 EDT
Modified files:
/loncom/interface londocs.pm
Log:
Moved "Editing the Table of Contents" help to breadcrumb component
- the standard place for help related to the whole page.
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.384 loncom/interface/londocs.pm:1.385
--- loncom/interface/londocs.pm:1.384 Fri Aug 28 19:43:16 2009
+++ loncom/interface/londocs.pm Wed Sep 2 16:24:28 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.384 2009/08/28 19:43:16 raeburn Exp $
+# $Id: londocs.pm,v 1.385 2009/09/02 16:24:28 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2744,11 +2744,19 @@
.$script."\n"
.'// ]]>'."\n"
.'</script>'."\n";
- my $brcrum = [{href=>"/adm/createuser",text=>"$type Documents"}];
+
+ # Breadcrumbs
+ &Apache::lonhtmlcommon::clear_breadcrumbs();
+ &Apache::lonhtmlcommon::add_breadcrumb({
+ href=>"/adm/createuser",text=>"$type Documents"});
+
$r->print(&Apache::loncommon::start_page("$type Documents", $script,
- {'force_register' => $showdoc,
- 'bread_crumbs' => $brcrum}).
- &Apache::loncommon::help_open_menu('','',273,'RAT'));
+ {'force_register' => $showdoc,})
+ .&Apache::loncommon::help_open_menu('','',273,'RAT')
+ .&Apache::lonhtmlcommon::breadcrumbs(
+ 'Editing the Table of Contents for your '.$type,
+ 'Docs_Adding_Course_Doc')
+ );
my %allfiles = ();
my %codebase = ();
@@ -3256,8 +3264,6 @@
}
&changewarning($r,'');
- $r->print(&Apache::loncommon::help_open_topic('Docs_Adding_Course_Doc',
- &mt('Editing the Table of Contents for your '.$type)));
$r->print('</div>');
}
if ($env{'form.pagepath'}) {