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

raeburn raeburn at source.lon-capa.org
Wed Feb 19 22:56:52 EST 2025


raeburn		Thu Feb 20 03:56:52 2025 EDT

  Modified files:              
    /loncom/homework	inputtags.pm 
  Log:
  - WCAG 2 compliance.
  
  
Index: loncom/homework/inputtags.pm
diff -u loncom/homework/inputtags.pm:1.362 loncom/homework/inputtags.pm:1.363
--- loncom/homework/inputtags.pm:1.362	Tue Jan 28 03:57:08 2025
+++ loncom/homework/inputtags.pm	Thu Feb 20 03:56:52 2025
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # input  definitons
 #
-# $Id: inputtags.pm,v 1.362 2025/01/28 03:57:08 raeburn Exp $
+# $Id: inputtags.pm,v 1.363 2025/02/20 03:56:52 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -712,10 +712,10 @@
                 $showsymb = $symb;
             }
         }
-	$result.=$extratext.'<label><a href='."'".'javascript:void(window.open("/adm/portfolio?mode=selectfile&fieldname='.$env{'form.request.prefix'}.'HWPORT'.$jspart.'_'.$id.'&symb='.$showsymb.'","cat","height=600,width=800,scrollbars=1,resizable=1,menubar=2,location=1"))'."'".'>'.
-	    &mt('Select Portfolio Files: (one or more files per submission)').'</a><br />'.
-	    '<input type="text" size="50" name="HWPORT'.$jspart.'_'.$id.'" value="" />'.
-	    '</label><br />';
+	$result.=$extratext.'<label><div><a href='."'".'javascript:void(window.open("/adm/portfolio?mode=selectfile&fieldname='.$env{'form.request.prefix'}.'HWPORT'.$jspart.'_'.$id.'&symb='.$showsymb.'","cat","height=600,width=800,scrollbars=1,resizable=1,menubar=2,location=1"))'."'".'>'.
+	    &mt('Select Portfolio Files: (one or more files per submission)').'</a></div>'.
+	    '<div><input type="text" size="50" name="HWPORT'.$jspart.'_'.$id.'" value="" />'.
+	    '</label></div>';
     }
     $result.=&Apache::lonhtmlcommon::row_closure(1);
     return $result;




More information about the LON-CAPA-cvs mailing list