[LON-CAPA-cvs] cvs: loncom /interface/spreadsheet classcalc.pm

bisitz bisitz at source.lon-capa.org
Wed Feb 12 11:53:10 EST 2014


bisitz		Wed Feb 12 16:53:10 2014 EDT

  Modified files:              
    /loncom/interface/spreadsheet	classcalc.pm 
  Log:
  - Internationalization: Added missing &mt() call
  - XHTML
  - Standard styles
  
  
  
Index: loncom/interface/spreadsheet/classcalc.pm
diff -u loncom/interface/spreadsheet/classcalc.pm:1.31 loncom/interface/spreadsheet/classcalc.pm:1.32
--- loncom/interface/spreadsheet/classcalc.pm:1.31	Wed Dec 21 21:25:46 2011
+++ loncom/interface/spreadsheet/classcalc.pm	Wed Feb 12 16:53:09 2014
@@ -1,5 +1,5 @@
 #
-# $Id: classcalc.pm,v 1.31 2011/12/21 21:25:46 www Exp $
+# $Id: classcalc.pm,v 1.32 2014/02/12 16:53:09 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -320,9 +320,9 @@
                   &mt('Expire all student spreadsheets').'</a>'.$/);
     }
     #
-    $r->print('<h3>'.
+    $r->print('<p class="LC_info">'.
               &mt('Click on a student to be taken to their spreadsheet').
-              '</h3>');
+              '</p>');
     #
     my %header=&Apache::lonlocal::texthash(
                                            'student'      => 'Student',
@@ -357,7 +357,7 @@
 	    $r->print("</table>\n".$tableheader);
 	}
         my $link = '<a href="/adm/studentcalc?sname='.$student->{'username'}.
-            '&sdomain='.$student->{'domain'}.'">';
+            '&sdomain='.$student->{'domain'}.'">';
         $student->{'section'} = 'none' if ($student->{'section'} eq '-1');
 	$r->print('<tr>'.
                   '<td>'.$num_output.'</td>'.
@@ -370,9 +370,9 @@
         if ($show_expire_link) {
             $r->print('<td>'.
                       '<a href="/adm/classcalc?recalc=student:'.
-                      $student->{'username'}.':'.$student->{'domain'}.'&'.
-                      'output_format=htmlclasslist&'.
-                      'not_first_run=1'.'">Expire Record</a>'.$/);
+                      $student->{'username'}.':'.$student->{'domain'}.'&'.
+                      'output_format=htmlclasslist&'.
+                      'not_first_run=1'.'">'.&mt('Expire Record').'</a>'.$/);
         }
         $r->print("</tr>\n");
     }




More information about the LON-CAPA-cvs mailing list