[LON-CAPA-cvs] cvs: loncom /homework grades.pm
bisitz
bisitz@source.lon-capa.org
Thu, 23 Apr 2009 13:32:18 -0000
bisitz Thu Apr 23 13:32:18 2009 EDT
Modified files:
/loncom/homework grades.pm
Log:
- HTML correction:
Added missing quotation mark to border attribute value of icon indicating which file type has been uploaded
- XHTML:
Added missing quotation marks to HTML attribute values
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.563 loncom/homework/grades.pm:1.564
--- loncom/homework/grades.pm:1.563 Wed Apr 22 17:19:06 2009
+++ loncom/homework/grades.pm Thu Apr 23 13:32:18 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.563 2009/04/22 17:19:06 bisitz Exp $
+# $Id: grades.pm,v 1.564 2009/04/23 13:32:18 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1551,8 +1551,8 @@
pDoc.write("<input value=\\""+usrctr+"\\" name=\\"usrctr\\" type=\\"hidden\\">");
pDoc.write("<h3><span class=\\"LC_info\\"> Compose Message for \"+fullname+\"<\\/span><\\/h3><br /><br />");
- pDoc.write("<table border=0 width=100%><tr><td bgcolor=\\"#777777\\">");
- pDoc.write("<table border=0 width=100%><tr bgcolor=\\"#ddffff\\">");
+ pDoc.write('<table border="0" width="100%"><tr><td bgcolor="#777777">');
+ pDoc.write('<table border="0" width="100%"><tr bgcolor="#DDFFFF">');
pDoc.write("<td><b>Type<\\/b><\\/td><td><b>Include<\\/b><\\/td><td><b>Message<\\/td><\\/tr>");
}
function displaySubject(msg,shwsel) {
@@ -1636,8 +1636,8 @@
hDoc.write("<form action=\\"inactive\\" name=\\"hlCenter\\">");
hDoc.write("<h3><span class=\\"LC_info\\"> Keyword Highlight Options<\\/span><\\/h3><br /><br />");
- hDoc.write("<table border=0 width=100%><tr><td bgcolor=\\"#777777\\">");
- hDoc.write("<table border=0 width=100%><tr bgcolor=\\"#ddffff\\">");
+ hDoc.write('<table border="0" width="100%"><tr><td bgcolor="#777777">');
+ hDoc.write('<table border="0" width="100%"><tr bgcolor="#DDFFFF">');
hDoc.write("<td><b>Text Color<\\/b><\\/td><td><b>Font Size<\\/b><\\/td><td><b>Font Style<\\/td><\\/tr>");
}
@@ -2162,7 +2162,7 @@
foreach my $file (@$files) {
$file_counter++;
&Apache::lonnet::allowuploaded('/adm/grades',$file);
- $lastsubonly.='<br /><a href="'.$file.'?rawmode=1" target="lonGRDs"><img src="'.&Apache::loncommon::icon($file).'" border=0"> '.$file.'</a>';
+ $lastsubonly.='<br /><a href="'.$file.'?rawmode=1" target="lonGRDs"><img src="'.&Apache::loncommon::icon($file).'" border="0" /> '.$file.'</a>';
}
$lastsubonly.='<br />';
}