--- loncom/interface/statistics/lonstudentassessment.pm 2006/03/05 02:00:01 1.132
+++ loncom/interface/statistics/lonstudentassessment.pm 2006/05/01 19:29:13 1.138
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonstudentassessment.pm,v 1.132 2006/03/05 02:00:01 bowersj2 Exp $
+# $Id: lonstudentassessment.pm,v 1.138 2006/05/01 19:29:13 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -50,13 +50,14 @@ Presents assessment data about a student
package Apache::lonstudentassessment;
use strict;
-use Apache::lonstatistics;
-use Apache::lonhtmlcommon;
+use Apache::lonstatistics();
+use Apache::lonhtmlcommon();
use Apache::loncommon();
use Apache::loncoursedata;
use Apache::lonnet; # for logging porpoises
use Apache::lonlocal;
-use Apache::grades;
+use Apache::grades();
+use Apache::lonmsgdisplay();
use Time::HiRes;
use Spreadsheet::WriteExcel;
use Spreadsheet::WriteExcel::Utility();
@@ -313,7 +314,7 @@ the chart page.
#######################################################
sub CreateInterface {
my $Str = '';
- $Str .= &Apache::lonhtmlcommon::breadcrumbs(undef,'Chart');
+ $Str .= &Apache::lonhtmlcommon::breadcrumbs('Chart');
# $Str .= &CreateLegend();
$Str .= '
'."\n";
$Str .= '
';
@@ -650,6 +651,18 @@ sub html_initialize {
&mt('Unable to retrieve course information.').
'');
}
+
+ # If we're showing links, show a checkbox to open in new
+ # windows.
+ if ($show_links ne 'no') {
+ $r->print(<new_window = true;
+
+NEW_WINDOW_CHECKBOX
+ }
+
#
$r->print("