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

raeburn raeburn at source.lon-capa.org
Thu Aug 21 11:55:38 EDT 2025


raeburn		Thu Aug 21 15:55:38 2025 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  - Add closing tag to satisfy w3c validation.
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.818 loncom/homework/grades.pm:1.819
--- loncom/homework/grades.pm:1.818	Thu Aug 21 15:49:32 2025
+++ loncom/homework/grades.pm	Thu Aug 21 15:55:38 2025
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.818 2025/08/21 15:49:32 raeburn Exp $
+# $Id: grades.pm,v 1.819 2025/08/21 15:55:38 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -11981,13 +11981,11 @@
                   });
     }
     # Create the menu
-    my $Str;
-    $Str .= '<form method="post" action="" name="gradingMenu">';
-    $Str .= '<input type="hidden" name="command" value="" />'.
-    	'<input type="hidden" name="symb"        value="'.&Apache::lonenc::check_encrypt($symb).'" />'."\n";
-
-    $Str .= &Apache::lonhtmlcommon::generate_menu(@menu);
-    return $Str;    
+    return '<form method="post" action="" name="gradingMenu">'."\n".
+           '<input type="hidden" name="command" value="" />'."\n".
+           '<input type="hidden" name="symb" value="'.&Apache::lonenc::check_encrypt($symb).'" />'."\n".
+           &Apache::lonhtmlcommon::generate_menu(@menu)."\n".
+           '</form>'."\n";
 }
 
 sub ungraded {




More information about the LON-CAPA-cvs mailing list