[LON-CAPA-cvs] cvs: loncom /interface lonstatistics.pm /interface/statistics loncorrectproblemplot.pm lonproblemanalysis.pm lonproblemstatistics.pm lonstudentassessment.pm lonstudentsubmissions.pm lonsubmissiontimeanalysis.pm

matthew lon-capa-cvs@mail.lon-capa.org
Mon, 01 Mar 2004 16:39:20 -0000


This is a MIME encoded message

--matthew1078159160
Content-Type: text/plain

matthew		Mon Mar  1 11:39:20 2004 EDT

  Modified files:              
    /loncom/interface	lonstatistics.pm 
    /loncom/interface/statistics	loncorrectproblemplot.pm 
                                	lonproblemanalysis.pm 
                                	lonproblemstatistics.pm 
                                	lonstudentassessment.pm 
                                	lonstudentsubmissions.pm 
                                	lonsubmissiontimeanalysis.pm 
  Log:
  No longer translate before calling lonhtmlcommon::breadcrumbs
  and lonhtmlcommong::add_breadcrumb.
  
  
--matthew1078159160
Content-Type: text/plain
Content-Disposition: attachment; filename="matthew-20040301113920.txt"

Index: loncom/interface/lonstatistics.pm
diff -u loncom/interface/lonstatistics.pm:1.99 loncom/interface/lonstatistics.pm:1.100
--- loncom/interface/lonstatistics.pm:1.99	Fri Feb 20 11:38:49 2004
+++ loncom/interface/lonstatistics.pm	Mon Mar  1 11:39:19 2004
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstatistics.pm,v 1.99 2004/02/20 16:38:49 matthew Exp $
+# $Id: lonstatistics.pm,v 1.100 2004/03/01 16:39:19 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1112,8 +1112,8 @@
     # Either print out a menu for them or send them to a report
     &Apache::lonhtmlcommon::clear_breadcrumbs();
     &Apache::lonhtmlcommon::add_breadcrumb({href=>'/adm/statistics',
-                                            title=>&mt('Statistics'),
-                                            text =>&mt('Statistics'),
+                                            title=>'Statistics',
+                                            text =>'Statistics',
                                             faq=>139,
                                             bug=>'Statistics and Charts'});
     if (! exists($ENV{'form.reportSelected'}) || 
@@ -1162,41 +1162,35 @@
         } elsif($GoToPage eq 'problem_statistics') {
             &Apache::lonhtmlcommon::add_breadcrumb
                 ({href=>'/adm/statistics?reportselected=problem_statistics',
-                  text=>&mt('Overall Problem Statistics'),
-                  faq=>139,bug=>'Statistics and Charts'});
+                  text=>'Overall Problem Statistics'});
             &Apache::lonproblemstatistics::BuildProblemStatisticsPage($r,$c);
         } elsif($GoToPage eq 'problem_analysis') {
             &Apache::lonhtmlcommon::add_breadcrumb
                 ({href=>'/adm/statistics?reportselected=problem_analysis',
-                  text=>&mt('Detailed Problem Analysis'),
-                  faq=>139,bug=>'Statistics and Charts'});
+                  text=>'Detailed Problem Analysis'});
             &Apache::lonproblemanalysis::BuildProblemAnalysisPage($r,$c);
         } elsif($GoToPage eq 'submissiontime_analysis') {
             &Apache::lonhtmlcommon::add_breadcrumb
                 ({href=>
                       '/adm/statistics?reportselected=submissiontime_analysis',
-                      text=>&mt('Submission Time Plots'),
-                      faq=>139,bug=>'Statistics and Charts'});
+                      text=>'Submission Time Plots'});
             &Apache::lonsubmissiontimeanalysis::BuildSubmissionTimePage($r,$c);
         } elsif($GoToPage eq 'student_submission_reports') {
             &Apache::lonhtmlcommon::add_breadcrumb
                 ({href=>
                   '/adm/statistics?reportselected=student_submission_reports',
-                  text=>&mt('Student Submission Reports'),
-                  faq=>139,bug=>'Statistics and Charts'});
+                  text=>'Student Submission Reports'});
             &Apache::lonstudentsubmissions::BuildStudentSubmissionsPage($r,$c);
         } elsif($GoToPage eq 'correct_problems_plot') {
             &Apache::lonhtmlcommon::add_breadcrumb
                 ({href=>'/adm/statistics?reportselected=correct_problems_plot',
-                  text=>&mt('Correct Problems Plot'),
-                  faq=>139,bug=>'Statistics and Charts'});
+                  text=>'Correct Problems Plot'});
             &Apache::loncorrectproblemplot::BuildCorrectProblemsPage($r,$c);
         } elsif($GoToPage eq 'student_assessment') {
             &Apache::lonhtmlcommon::clear_breadcrumbs();
             &Apache::lonhtmlcommon::add_breadcrumb
                 ({href=>'/adm/statistics?reportselected=student_assessment',
-                  text=>&mt('Chart'),
-                  faq=>139,bug=>'Statistics and Charts'});
+                  text=>'Chart'});
             &Apache::lonstudentassessment::BuildStudentAssessmentPage($r,$c);
         }
         #
Index: loncom/interface/statistics/loncorrectproblemplot.pm
diff -u loncom/interface/statistics/loncorrectproblemplot.pm:1.7 loncom/interface/statistics/loncorrectproblemplot.pm:1.8
--- loncom/interface/statistics/loncorrectproblemplot.pm:1.7	Fri Feb 20 11:38:49 2004
+++ loncom/interface/statistics/loncorrectproblemplot.pm	Mon Mar  1 11:39:19 2004
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: loncorrectproblemplot.pm,v 1.7 2004/02/20 16:38:49 matthew Exp $
+# $Id: loncorrectproblemplot.pm,v 1.8 2004/03/01 16:39:19 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -256,7 +256,7 @@
     ## Environment variable initialization
     my $Str;
     $Str .= &Apache::lonhtmlcommon::breadcrumbs
-        (undef,&mt('Correct Problems Plot'));
+        (undef,'Correct Problems Plot');
     $Str .= '<table cellspacing="5">'."\n";
     $Str .= '<tr>';
     $Str .= '<td align="center"><b>'.&mt('Sections').'</b></td>';
Index: loncom/interface/statistics/lonproblemanalysis.pm
diff -u loncom/interface/statistics/lonproblemanalysis.pm:1.73 loncom/interface/statistics/lonproblemanalysis.pm:1.74
--- loncom/interface/statistics/lonproblemanalysis.pm:1.73	Fri Feb 20 11:38:49 2004
+++ loncom/interface/statistics/lonproblemanalysis.pm	Mon Mar  1 11:39:19 2004
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonproblemanalysis.pm,v 1.73 2004/02/20 16:38:49 matthew Exp $
+# $Id: lonproblemanalysis.pm,v 1.74 2004/03/01 16:39:19 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1299,7 +1299,7 @@
     ## Build the menu
     my $Str = '';
     $Str .= &Apache::lonhtmlcommon::breadcrumbs
-        (undef,&mt('Detailed Problem Analysis'));
+        (undef,'Detailed Problem Analysis');
     $Str .= '<table cellspacing="5">'."\n";
     $Str .= '<tr>';
     $Str .= '<td align="center"><b>'.&mt('Sections').'</b></td>';
Index: loncom/interface/statistics/lonproblemstatistics.pm
diff -u loncom/interface/statistics/lonproblemstatistics.pm:1.68 loncom/interface/statistics/lonproblemstatistics.pm:1.69
--- loncom/interface/statistics/lonproblemstatistics.pm:1.68	Fri Feb 20 11:38:49 2004
+++ loncom/interface/statistics/lonproblemstatistics.pm	Mon Mar  1 11:39:19 2004
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonproblemstatistics.pm,v 1.68 2004/02/20 16:38:49 matthew Exp $
+# $Id: lonproblemstatistics.pm,v 1.69 2004/03/01 16:39:19 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -209,7 +209,7 @@
 sub CreateInterface {
     my $Str = '';
     $Str .= &Apache::lonhtmlcommon::breadcrumbs
-        (undef,&mt('Overall Problem Statistics'),'Statistics_Overall_Key');
+        (undef,'Overall Problem Statistics','Statistics_Overall_Key');
     $Str .= '<table cellspacing="5">'."\n";
     $Str .= '<tr>';
     $Str .= '<td align="center"><b>'.&mt('Sections').'</b></td>';
Index: loncom/interface/statistics/lonstudentassessment.pm
diff -u loncom/interface/statistics/lonstudentassessment.pm:1.94 loncom/interface/statistics/lonstudentassessment.pm:1.95
--- loncom/interface/statistics/lonstudentassessment.pm:1.94	Thu Feb 26 13:28:33 2004
+++ loncom/interface/statistics/lonstudentassessment.pm	Mon Mar  1 11:39:19 2004
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstudentassessment.pm,v 1.94 2004/02/26 18:28:33 matthew Exp $
+# $Id: lonstudentassessment.pm,v 1.95 2004/03/01 16:39:19 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -306,7 +306,7 @@
 #######################################################
 sub CreateInterface {
     my $Str = '';
-    $Str .= &Apache::lonhtmlcommon::breadcrumbs(undef,&mt('Chart'));
+    $Str .= &Apache::lonhtmlcommon::breadcrumbs(undef,'Chart');
 #    $Str .= &CreateLegend();
     $Str .= '<table cellspacing="5">'."\n";
     $Str .= '<tr>';
@@ -1586,7 +1586,7 @@
     #
     # Tell the user where to get their csv file
     $r->print('<br />'.
-              '<a href="'.$filename.'">Your csv file.</a>'."\n");
+              '<a href="'.$filename.'">'.&mt('Your csv file.').'</a>'."\n");
     $r->rflush();
     return;
     
Index: loncom/interface/statistics/lonstudentsubmissions.pm
diff -u loncom/interface/statistics/lonstudentsubmissions.pm:1.4 loncom/interface/statistics/lonstudentsubmissions.pm:1.5
--- loncom/interface/statistics/lonstudentsubmissions.pm:1.4	Mon Feb 23 11:13:31 2004
+++ loncom/interface/statistics/lonstudentsubmissions.pm	Mon Mar  1 11:39:19 2004
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstudentsubmissions.pm,v 1.4 2004/02/23 16:13:31 matthew Exp $
+# $Id: lonstudentsubmissions.pm,v 1.5 2004/03/01 16:39:19 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -327,7 +327,7 @@
     ## Environment variable initialization
     my $Str = '';
     $Str .= &Apache::lonhtmlcommon::breadcrumbs
-        (undef,&mt('Student Submission Reports'));
+        (undef,'Student Submission Reports');
     $Str .= '<table cellspacing="5">'."\n";
     $Str .= '<tr>';
     $Str .= '<td align="center"><b>'.&mt('Sections').'</b></td>';
Index: loncom/interface/statistics/lonsubmissiontimeanalysis.pm
diff -u loncom/interface/statistics/lonsubmissiontimeanalysis.pm:1.13 loncom/interface/statistics/lonsubmissiontimeanalysis.pm:1.14
--- loncom/interface/statistics/lonsubmissiontimeanalysis.pm:1.13	Fri Feb 20 11:38:49 2004
+++ loncom/interface/statistics/lonsubmissiontimeanalysis.pm	Mon Mar  1 11:39:19 2004
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonsubmissiontimeanalysis.pm,v 1.13 2004/02/20 16:38:49 matthew Exp $
+# $Id: lonsubmissiontimeanalysis.pm,v 1.14 2004/03/01 16:39:19 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -333,8 +333,7 @@
     ##
     ## Build the menu
     my $Str = '';
-    $Str .= &Apache::lonhtmlcommon::breadcrumbs
-        (undef,&mt('Submission Time Plots'));
+    $Str .= &Apache::lonhtmlcommon::breadcrumbs(undef,'Submission Time Plots');
     $Str .= '<table cellspacing="5">'."\n";
     $Str .= '<tr>';
     $Str .= '<td align="center"><b>'.&mt('Sections').'</b></td>';

--matthew1078159160--