[LON-CAPA-cvs] cvs: loncom /homework grades.pm

banghart lon-capa-cvs-allow@mail.lon-capa.org
Sat, 18 Aug 2007 00:57:25 -0000


banghart		Fri Aug 17 20:57:25 2007 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  	Allow selection of multiple sections for grading.
  	Bug 4058.
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.428 loncom/homework/grades.pm:1.429
--- loncom/homework/grades.pm:1.428	Sat Aug 11 09:32:23 2007
+++ loncom/homework/grades.pm	Fri Aug 17 20:57:25 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.428 2007/08/11 13:32:23 www Exp $
+# $Id: grades.pm,v 1.429 2007/08/18 00:57:25 banghart Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -6932,7 +6932,7 @@
 
     $result.='<table width="100%" border="0">';
     $result.='<tr bgcolor="#ffffe6" valign="top"><td>'."\n".
-	'&nbsp;'.&mt('Select Section').': <select name="section">'."\n";
+	'&nbsp;'.&mt('Select Section').': <select name="section" multiple="multiple" size="3">'."\n";
     if (ref($sections)) {
 	foreach (sort (@$sections)) {
 	    $result.='<option value="'.$_.'" '.