[LON-CAPA-cvs] cvs: loncom /homework grades.pm
www
www@source.lon-capa.org
Mon, 12 Apr 2010 01:34:41 -0000
www Mon Apr 12 01:34:41 2010 EDT
Modified files:
/loncom/homework grades.pm
Log:
Undoing change to breadcrumbs
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.609 loncom/homework/grades.pm:1.610
--- loncom/homework/grades.pm:1.609 Mon Apr 12 01:22:44 2010
+++ loncom/homework/grades.pm Mon Apr 12 01:34:40 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.609 2010/04/12 01:22:44 www Exp $
+# $Id: grades.pm,v 1.610 2010/04/12 01:34:40 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -9197,12 +9197,9 @@
sub startpage {
my ($r,$symb,$crumbs,$onlyfolderflag) = @_;
- my $breadcrumbs= [{href=>"/adm/grades?command=gradingmenu&symb=".&HTML::Entities::encode($symb,'<>&"'),text=>"Grading"}];
-# if ($crumbs) {
-# push(@$breadcrumbs,$crumbs);
-# }
+ unshift(@$crumbs,{href=>"/adm/grades?command=gradingmenu&symb=".&HTML::Entities::encode($symb,'<>&"'),text=>"Grading"});
$r->print(&Apache::loncommon::start_page('Grading',undef,
- {'bread_crumbs' => $breadcrumbs}));
+ {'bread_crumbs' => $crumbs}));
$r->print(&Apache::lonhtmlcommon::resource_info_box($symb,$onlyfolderflag));
}