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

matthew lon-capa-cvs@mail.lon-capa.org
Thu, 02 Sep 2004 21:05:24 -0000


matthew		Thu Sep  2 17:05:24 2004 EDT

  Modified files:              
    /loncom/interface	lonstatistics.pm 
  Log:
  A style tag for student submission reports.
  
  
Index: loncom/interface/lonstatistics.pm
diff -u loncom/interface/lonstatistics.pm:1.108 loncom/interface/lonstatistics.pm:1.109
--- loncom/interface/lonstatistics.pm:1.108	Thu Jul 15 17:08:45 2004
+++ loncom/interface/lonstatistics.pm	Thu Sep  2 17:05:24 2004
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstatistics.pm,v 1.108 2004/07/15 21:08:45 matthew Exp $
+# $Id: lonstatistics.pm,v 1.109 2004/09/02 21:05:24 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1155,9 +1155,16 @@
                                              'SelectedStudent']);
     #
     # Give the LON-CAPA page header
+    my $style = <<ENDSTYLE;
+<style type="text/css">
+    ul.sub_studentans { list-style-type: none }
+    ul.sub_correctans { list-style-type: none }
+</style>
+ENDSTYLE
     $r->print('<html><head><title>'.
               &mt('Course Statistics and Charts').
-              "</title></head>\n".
+              '</title>'.$style.
+              "</head>\n".
               &Apache::loncommon::bodytag('Course Statistics and Charts'));
     $r->rflush();
     #