[LON-CAPA-cvs] cvs: loncom /auth restrictedaccess.pm /homework structuretags.pm /imspackages imsimport.pm /interface courseclassifier.pm groupboards.pm groupsort.pm loncreatecourse.pm lonhtmlcommon.pm lonmanagekeys.pm lonparmset.pm lonpickcourse.pm lonpickresource.pm lonpickstudent.pm lonrss.pm portfolio.pm /interface/spreadsheet lonspreadsheet.pm /interface/statistics lonstathelpers.pm /publisher testbankimport.pm

bisitz bisitz at source.lon-capa.org
Mon Jul 15 10:33:07 EDT 2013


bisitz		Mon Jul 15 14:33:07 2013 EDT

  Modified files:              
    /loncom/interface	lonrss.pm groupsort.pm portfolio.pm lonparmset.pm 
                     	groupboards.pm lonhtmlcommon.pm lonpickcourse.pm 
                     	lonmanagekeys.pm lonpickstudent.pm 
                     	loncreatecourse.pm lonpickresource.pm 
                     	courseclassifier.pm 
    /loncom/auth	restrictedaccess.pm 
    /loncom/imspackages	imsimport.pm 
    /loncom/homework	structuretags.pm 
    /loncom/publisher	testbankimport.pm 
    /loncom/interface/statistics	lonstathelpers.pm 
    /loncom/interface/spreadsheet	lonspreadsheet.pm 
  Log:
  XHTML: JavaScript event handlers in lower case
  
  
-------------- next part --------------
Index: loncom/interface/lonrss.pm
diff -u loncom/interface/lonrss.pm:1.52 loncom/interface/lonrss.pm:1.53
--- loncom/interface/lonrss.pm:1.52	Sat May 25 21:50:19 2013
+++ loncom/interface/lonrss.pm	Mon Jul 15 14:32:44 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # RSS Feeder
 #
-# $Id: lonrss.pm,v 1.52 2013/05/25 21:50:19 raeburn Exp $
+# $Id: lonrss.pm,v 1.53 2013/07/15 14:32:44 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -552,20 +552,20 @@
 <li>
 <label><input name='$id\_modified' type='checkbox' value="modified" /> $lt{'store'}</label>
   
-<label><input name='$id\_status' type="radio" value="public" $status{'public'} onClick="changed(this.form,'$id');" /> $lt{'public'}</label>
+<label><input name='$id\_status' type="radio" value="public" $status{'public'} onclick="changed(this.form,'$id');" /> $lt{'public'}</label>
   
-<label><input name='$id\_status' type="radio" value="private" $status{'private'} onClick="changed(this.form,'$id');" /> $lt{'private'}</label>
+<label><input name='$id\_status' type="radio" value="private" $status{'private'} onclick="changed(this.form,'$id');" /> $lt{'private'}</label>
   
-<label><input name='$id\_status' type="radio" value="hidden" $status{'hidden'} onClick="changed(this.form,'$id');" /> $lt{'hidden'}</label>
+<label><input name='$id\_status' type="radio" value="hidden" $status{'hidden'} onclick="changed(this.form,'$id');" /> $lt{'hidden'}</label>
   
-<label><input name='$id\_status' type="radio" value="deleted" onClick="changed(this.form,'$id');" /> $lt{'delete'}</label>
+<label><input name='$id\_status' type="radio" value="deleted" onclick="changed(this.form,'$id');" /> $lt{'delete'}</label>
 <br />
 $lt{'title'}:
-<input name='$id\_title' type='text' size='60' value='$newsfeed{$id.'_title'}' onChange="changed(this.form,'$id');" /><br />
+<input name='$id\_title' type='text' size='60' value='$newsfeed{$id.'_title'}' onchange="changed(this.form,'$id');" /><br />
 $lt{'description'}:<br />
-<textarea name='$id\_description' rows="6" cols="80" onChange="changed(this.form,'$id');">$newsfeed{$id.'_description'}</textarea><br />
+<textarea name='$id\_description' rows="6" cols="80" onchange="changed(this.form,'$id');">$newsfeed{$id.'_description'}</textarea><br />
 $lt{'link'}:
-<input name='$id\_link' type='text' size='60' value='$newsfeed{$id.'_link'}' onChange="changed(this.form,'$id');" /><br />
+<input name='$id\_link' type='text' size='60' value='$newsfeed{$id.'_link'}' onchange="changed(this.form,'$id');" /><br />
 $lt{'enc'} -
 $uploadlink
 <hr /></li>
Index: loncom/interface/groupsort.pm
diff -u loncom/interface/groupsort.pm:1.72 loncom/interface/groupsort.pm:1.73
--- loncom/interface/groupsort.pm:1.72	Wed Jan  9 16:30:19 2013
+++ loncom/interface/groupsort.pm	Mon Jul 15 14:32:44 2013
@@ -2,7 +2,7 @@
 # The LON-CAPA group sort handler
 # Allows for sorting prior to import into RAT.
 #
-# $Id: groupsort.pm,v 1.72 2013/01/09 16:30:19 raeburn Exp $
+# $Id: groupsort.pm,v 1.73 2013/07/15 14:32:44 bisitz Exp $
 # 
 # Copyright Michigan State University Board of Trustees
 #
@@ -339,8 +339,8 @@
         if ($env{'form.recover'}) {
 	    $r->print(<<END);
 <input type="button" name="alter" value="$buttontext"
- onClick="finish_import()" /> 
-<input type="button" name="alter" value="$lt{'ca'}" onClick="self.close()" />
+ onclick="finish_import()" /> 
+<input type="button" name="alter" value="$lt{'ca'}" onclick="self.close()" />
 END
 	} else {
         # --- Continue Buttons
@@ -350,12 +350,12 @@
 <h2>$lt{'fin'}</h2>
 <div>
 <input type="button" name="alter" value="$lt{'ci'}"
- onClick="window.location='$resurl?inhibitmenu=yes&catalogmode=import'" /> 
+ onclick="window.location='$resurl?inhibitmenu=yes&catalogmode=import'" /> 
 <input type="button" name="altersearch" value="$lt{'cs'}"
- onClick="window.location='/adm/searchcat?inhibitmenu=yes&catalogmode=import'" /> 
+ onclick="window.location='/adm/searchcat?inhibitmenu=yes&catalogmode=import'" /> 
 <input type="button" name="alter" value="$lt{'fi'}"
- onClick="finish_import()" /> 
-<input type="button" name="alter" value="$lt{'ca'}" onClick="self.close()" />
+ onclick="finish_import()" /> 
+<input type="button" name="alter" value="$lt{'ca'}" onclick="self.close()" />
 </div>
 <br />
 END
@@ -488,7 +488,7 @@
     my ($total,$sel) = @_;
     my $string;
     $string = '<select name="alt'.$sel.'"';
-    $string .= " onChange='selectchange($sel)'>";
+    $string .= " onchange='selectchange($sel)'>";
     $string .= "<option name='o0' value='0'>".&mt('discard')."</option>";
     for my $cur (1..$total) {
 	$string .= "<option name='o$cur' value='$cur'";
Index: loncom/interface/portfolio.pm
diff -u loncom/interface/portfolio.pm:1.247 loncom/interface/portfolio.pm:1.248
--- loncom/interface/portfolio.pm:1.247	Wed Jul  3 16:00:03 2013
+++ loncom/interface/portfolio.pm	Mon Jul 15 14:32:44 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # portfolio browser
 #
-# $Id: portfolio.pm,v 1.247 2013/07/03 16:00:03 raeburn Exp $
+# $Id: portfolio.pm,v 1.248 2013/07/15 14:32:44 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -536,7 +536,7 @@
             <input type="hidden" name="mode" value="selectfile" />
             <p>
             <input type="submit" name="submit" value="'.&mt('Select checked files, and continue selecting').'" /><br />
-            <input type="button" name="doit" onClick="finishSelect();" value="'.&mt('Select checked files, and close window').'" />
+            <input type="button" name="doit" onclick="finishSelect();" value="'.&mt('Select checked files, and close window').'" />
             </p>
             <input type="hidden" name="currentpath" value="'.$current_path.'" />
         </form>');        
@@ -1632,7 +1632,7 @@
         }
         $r->print('<br />'.&mt('Add a roles-based condition').
                   ' <input type="checkbox" name="add_role_'.
-                  $num.'" onClick="javascript:setRoleOptions('."'$num',
+                  $num.'" onclick="javascript:setRoleOptions('."'$num',
                   '$max_id','$content->{'domain'}','$content->{'number'}',
                   '$showtype'".')" value="" />');
         $newrole_id = $max_id;
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.536 loncom/interface/lonparmset.pm:1.537
--- loncom/interface/lonparmset.pm:1.536	Wed Jul 10 22:07:37 2013
+++ loncom/interface/lonparmset.pm	Mon Jul 15 14:32:44 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.536 2013/07/10 22:07:37 raeburn Exp $
+# $Id: lonparmset.pm,v 1.537 2013/07/15 14:32:44 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3941,7 +3941,7 @@
     foreach my $key (@fields_in_order) {
         $r->print('<tr><td>');
         $r->print('<form method="post" action="">');
-        $r->print('<select name="newpos" onChange="this.form.submit()">');
+        $r->print('<select name="newpos" onchange="this.form.submit()">');
         for (my $i = 1;$i le $num_fields;$i ++) {
             if ($i eq $idx) {
                 $r->print('<option value="'.$i.'"  SELECTED>('.$i.')</option>');
Index: loncom/interface/groupboards.pm
diff -u loncom/interface/groupboards.pm:1.16 loncom/interface/groupboards.pm:1.17
--- loncom/interface/groupboards.pm:1.16	Sun Nov 11 17:33:18 2012
+++ loncom/interface/groupboards.pm	Mon Jul 15 14:32:45 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Group Bulletin Boards Manager
 #
-# $Id: groupboards.pm,v 1.16 2012/11/11 17:33:18 raeburn Exp $
+# $Id: groupboards.pm,v 1.17 2013/07/15 14:32:45 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -152,7 +152,7 @@
         $r->print('<br /><form method="post" name="newbb" action="/adm/groupboards">'.
                   "\n".'<input type="button" name="bbbutton" value="'.
                   &mt('New Discussion Board').
-                  '" onClick="javascript:makebulboard();" />'."\n".
+                  '" onclick="javascript:makebulboard();" />'."\n".
                   '<input type="hidden" name="newbul" />'."\n".
                   '<input type="hidden" name="group" value="'.$group.'" />'.
                   '<input type="hidden" name="ref" value="'.$env{'form.ref'}.'" />'.
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.350 loncom/interface/lonhtmlcommon.pm:1.351
--- loncom/interface/lonhtmlcommon.pm:1.350	Thu Jul 11 18:25:51 2013
+++ loncom/interface/lonhtmlcommon.pm	Mon Jul 15 14:32:45 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common html routines
 #
-# $Id: lonhtmlcommon.pm,v 1.350 2013/07/11 18:25:51 raeburn Exp $
+# $Id: lonhtmlcommon.pm,v 1.351 2013/07/15 14:32:45 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2234,7 +2234,7 @@
             $output .= '<label><input type="radio" name="coursepick" value="category" onclick="coursePick(this.form);alert('."'".&mt('Choose categories, from left to right')."'".')" />'.&mt('Pick courses by category:').'</label><br />';
             $output .= '<table><tr><td>'.$$codetitles[0].'<br />'."\n".
                '<select name="'.$standardnames->[0].
-               '" onChange="setPick(this.form);courseSet('."'$$codetitles[0]'".')">'."\n".
+               '" onchange="setPick(this.form);courseSet('."'$$codetitles[0]'".')">'."\n".
                ' <option value="-1" />Select'."\n";
             my @items = ();
             my @longitems = ();
@@ -2264,7 +2264,7 @@
             for (my $i=1; $i<$numtitles; $i++) {
                 $output .= '<td>'.$$codetitles[$i].'<br />'."\n".
                           '<select name="'.$standardnames->[$i].
-                          '" onChange="courseSet('."'$$codetitles[$i]'".')">'."\n".
+                          '" onchange="courseSet('."'$$codetitles[$i]'".')">'."\n".
                           '<option value="-1"><-Pick '.$$codetitles[$i-1].'</option>'."\n".
                           '</select>'."\n".
                           '</td>';
Index: loncom/interface/lonpickcourse.pm
diff -u loncom/interface/lonpickcourse.pm:1.107 loncom/interface/lonpickcourse.pm:1.108
--- loncom/interface/lonpickcourse.pm:1.107	Mon Mar 25 04:05:30 2013
+++ loncom/interface/lonpickcourse.pm	Mon Jul 15 14:32:45 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Pick a course
 #
-# $Id: lonpickcourse.pm,v 1.107 2013/03/25 04:05:30 raeburn Exp $
+# $Id: lonpickcourse.pm,v 1.108 2013/07/15 14:32:45 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -513,7 +513,7 @@
     if (!%courses) {
         $r->print('<p class="LC_info">'.&mt('None found').'</p>');
     } elsif ($multiple) {
-        $r->print('<input type="button" value="'.&mt('Submit').'" onClick="gochoose('."'','','')".'" />');
+        $r->print('<input type="button" value="'.&mt('Submit').'" onclick="gochoose('."'','','')".'" />');
     }
     $r->print('<input type="hidden" name="form" value="'.$env{'form.form'}.'" />'.
               "\n".'<input type="hidden" name="pickedcourse" value="" />'."\n".
@@ -1008,7 +1008,7 @@
             $output = &mt('No rights to clone')."\n";
         }
     } else {
-        $output = '<input type="button" value="'.&mt('Select').'" onClick="gochoose('.
+        $output = '<input type="button" value="'.&mt('Select').'" onclick="gochoose('.
                   "'".$cnum."','".$cdom."','".$cleandesc."')".'" />'."\n";
     }
     return $output;
Index: loncom/interface/lonmanagekeys.pm
diff -u loncom/interface/lonmanagekeys.pm:1.25 loncom/interface/lonmanagekeys.pm:1.26
--- loncom/interface/lonmanagekeys.pm:1.25	Thu Oct 29 14:23:23 2009
+++ loncom/interface/lonmanagekeys.pm	Mon Jul 15 14:32:45 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to manage course access keys 
 #
-# $Id: lonmanagekeys.pm,v 1.25 2009/10/29 14:23:23 bisitz Exp $
+# $Id: lonmanagekeys.pm,v 1.26 2013/07/15 14:32:45 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -78,7 +78,7 @@
 <th>Comments/Remarks/Notes</th>
 <th>Enter Additional Comments/Remarks/Notes<br />
 <input type="text" size="40" name="copyall" />
-<input type="button" value="Copy to All" onClick="copyallcom(this.form);" />
+<input type="button" value="Copy to All" onclick="copyallcom(this.form);" />
 </th></tr>
 ENDTABLEHEADER
     }
Index: loncom/interface/lonpickstudent.pm
diff -u loncom/interface/lonpickstudent.pm:1.30 loncom/interface/lonpickstudent.pm:1.31
--- loncom/interface/lonpickstudent.pm:1.30	Tue Jun  7 20:18:59 2011
+++ loncom/interface/lonpickstudent.pm	Mon Jul 15 14:32:45 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Pick a student from the classlist
 #
-# $Id: lonpickstudent.pm,v 1.30 2011/06/07 20:18:59 www Exp $
+# $Id: lonpickstudent.pm,v 1.31 2013/07/15 14:32:45 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -121,7 +121,7 @@
 		my ($puname,$pudom)=split(/\:/,$user);
 		$r->print(&Apache::loncommon::start_data_table_row().
 			  '<td>'.
-			  '<input type="button" value="'.&mt('Select').'" onClick="gochoose('.
+			  '<input type="button" value="'.&mt('Select').'" onclick="gochoose('.
 			  "'".$puname."','".$pudom."')".'" /></td><td>'.$role.'</td><td>'.
 			  &Apache::loncommon::aboutmewrapper(&Apache::loncommon::plainname($puname,$pudom),$puname,$pudom).'</td>'.
 			  &Apache::loncommon::end_data_table_row());
@@ -202,7 +202,7 @@
                         }
 		        $result .=&Apache::loncommon::start_data_table_row().
 		    	          '<td>'.
-			          '<input type="button" value="'.&mt('Select').'" onClick="gochoose('.
+			          '<input type="button" value="'.&mt('Select').'" onclick="gochoose('.
 			          "'".$uname."','".$udom."')".'" /></td>'.
 			          '<td><tt>'.$uname.'</tt></td><td> <tt>'.$udom.
 			          '</tt></td><td>'.
@@ -260,7 +260,7 @@
 	    my ($uname,$udom) = split(':',$user);
 	    $r->print(&Apache::loncommon::start_data_table_row().
 		      '<td>'.
-		      '<input type="button" value="'.&mt('Select').'" onClick="gochoose('.
+		      '<input type="button" value="'.&mt('Select').'" onclick="gochoose('.
 		      "'".$uname."','".$udom."')".'" /></td>'.
 		      '<td><tt>'.$uname.'</tt></td>'.
 		      '<td><tt>'.$udom.'</tt></td><td>'.
Index: loncom/interface/loncreatecourse.pm
diff -u loncom/interface/loncreatecourse.pm:1.147 loncom/interface/loncreatecourse.pm:1.148
--- loncom/interface/loncreatecourse.pm:1.147	Fri Mar  1 04:37:39 2013
+++ loncom/interface/loncreatecourse.pm	Mon Jul 15 14:32:45 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Create a course
 #
-# $Id: loncreatecourse.pm,v 1.147 2013/03/01 04:37:39 raeburn Exp $
+# $Id: loncreatecourse.pm,v 1.148 2013/07/15 14:32:45 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -548,7 +548,7 @@
 <p>
 <input type="hidden" name="prevphase" value="courseone" />
 <input type="hidden" name="phase" value="coursetwo" />
-<input type="button" onClick="verify_message(this.form)" value="'.$lt{'opco'}.'" />'
+<input type="button" onclick="verify_message(this.form)" value="'.$lt{'opco'}.'" />'
         );
     } elsif ($crstype eq 'Community') {
         $r->print('
Index: loncom/interface/lonpickresource.pm
diff -u loncom/interface/lonpickresource.pm:1.2 loncom/interface/lonpickresource.pm:1.3
--- loncom/interface/lonpickresource.pm:1.2	Sat May 21 01:02:27 2011
+++ loncom/interface/lonpickresource.pm	Mon Jul 15 14:32:45 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Pick resource or folder in the course
 #
-# $Id: lonpickresource.pm,v 1.2 2011/05/21 01:02:27 www Exp $
+# $Id: lonpickresource.pm,v 1.3 2013/07/15 14:32:45 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -78,7 +78,7 @@
 </script>
 ENDGETVALUE
     $r->print('<input type="button" value="'.&mt('Pick').
-      '" onClick="val=getCheckedValue(this.form.resourcesymb);if (val) { '.
+      '" onclick="val=getCheckedValue(this.form.resourcesymb);if (val) { '.
                     $form.'.resourcesymb.value=val;'.
                     $form.".cmd.value='".$reslink."';".
                     $form.".submit();} window.close();".'" />');
Index: loncom/interface/courseclassifier.pm
diff -u loncom/interface/courseclassifier.pm:1.14 loncom/interface/courseclassifier.pm:1.15
--- loncom/interface/courseclassifier.pm:1.14	Thu Mar  3 00:06:38 2011
+++ loncom/interface/courseclassifier.pm	Mon Jul 15 14:32:45 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Utilities for classifying courses based on institutional code
 #
-# $Id: courseclassifier.pm,v 1.14 2011/03/03 00:06:38 raeburn Exp $
+# $Id: courseclassifier.pm,v 1.15 2013/07/15 14:32:45 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -579,7 +579,7 @@
                 @longitems = @items;
             }
             $output .= '<td align="center">'.$codetitles->[$k].'<br />'."\n".
-                       '<select name="'.$standardnames[$k].'" onChange="courseSet(this)"'.
+                       '<select name="'.$standardnames[$k].'" onchange="courseSet(this)"'.
                        '>'."\n".'<option value="0">'.&mt('All').'</option>'."\n";
             for (my $i=0; $i<@items; $i++) {
                 if ($longitems[$i] eq '') {
Index: loncom/auth/restrictedaccess.pm
diff -u loncom/auth/restrictedaccess.pm:1.9 loncom/auth/restrictedaccess.pm:1.10
--- loncom/auth/restrictedaccess.pm:1.9	Sun Jun  2 02:20:33 2013
+++ loncom/auth/restrictedaccess.pm	Mon Jul 15 14:32:47 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Passphrase Entry and Validation for Portfolio files 
 #
-# $Id: restrictedaccess.pm,v 1.9 2013/06/02 02:20:33 raeburn Exp $
+# $Id: restrictedaccess.pm,v 1.10 2013/07/15 14:32:47 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -106,7 +106,7 @@
     $r->print(&Apache::loncommon::start_data_table_row());
     $r->print('<td align="center" colspan="2"><br />'.
               '<input type="button" name="sendpass" value="'.
-              &mt('Submit passphrase').'" onClick="verify()" /></td>');
+              &mt('Submit passphrase').'" onclick="verify()" /></td>');
     $r->print(&Apache::loncommon::end_data_table_row());
     $r->print(&Apache::loncommon::end_data_table());
     $r->print('<input type="hidden" name="origurl" value="'.
Index: loncom/imspackages/imsimport.pm
diff -u loncom/imspackages/imsimport.pm:1.40 loncom/imspackages/imsimport.pm:1.41
--- loncom/imspackages/imsimport.pm:1.40	Tue Jul  2 19:04:42 2013
+++ loncom/imspackages/imsimport.pm	Mon Jul 15 14:32:51 2013
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 # 
-# $Id: imsimport.pm,v 1.40 2013/07/02 19:04:42 raeburn Exp $
+# $Id: imsimport.pm,v 1.41 2013/07/15 14:32:51 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -100,7 +100,7 @@
   newWindow.document.write("<input type='hidden' name='action' value='newdir' />")
   newWindow.document.write("<input type='hidden' name='callingmode' value='imsimport' />")
   newWindow.document.write("$fullpath<input type='text' name='newfilename' value='' />")
-  newWindow.document.write("<input type='button' value='$lt{'go'}' onClick='document.fileaction.submit();' />")
+  newWindow.document.write("<input type='button' value='$lt{'go'}' onclick='document.fileaction.submit();' />")
   newWindow.document.write("</td></tr>\\n")
   newWindow.document.write("</table>")
   newWindow.document.write('$end_page')
@@ -298,11 +298,11 @@
          <option value="webctvista4">WebCT Vista 4</option>
         </select><br />'."\n".
         &Apache::lonhtmlcommon::topic_bar(2,&mt('Create a directory where you will unpack your IMS package'))."\n".
-         &mt('Create a destination LON-CAPA directory in which to store the contents of the IMS package file.').'  <input type="button" name="createdir" value="Create Directory" onClick="javascript:createWin()" /><input type="hidden" name="newdir" value="" /><br /><br />
+         &mt('Create a destination LON-CAPA directory in which to store the contents of the IMS package file.').'  <input type="button" name="createdir" value="Create Directory" onclick="javascript:createWin()" /><input type="hidden" name="newdir" value="" /><br /><br />
           <input type="hidden" name="filename" value="'.$fn.'" />
           <input type="hidden" name="phase" value="three" />
-          <input type="button" name="nextpage" value="'.&mt('Proceed').'" onClick="javascript:nextPage();" />    
-          <input type="button" name="exitpage" value="'.&mt('Exit now').'" onClick="javascript:location.href='."'$fullpath'".'" />
+          <input type="button" name="nextpage" value="'.&mt('Proceed').'" onclick="javascript:nextPage();" />    
+          <input type="button" name="exitpage" value="'.&mt('Exit now').'" onclick="javascript:location.href='."'$fullpath'".'" />
          </form>');
 }
 
@@ -409,7 +409,7 @@
                     $r->print(&Apache::loncommon::start_data_table_row()."\n".
                               '<td><input name="'.$area.'" type="checkbox" ');
                     if ($area eq 'board' || $area eq 'users') {
-                        $r->print('onClick="javascript:setOptions('."'$area','$counter'".');" ');
+                        $r->print('onclick="javascript:setOptions('."'$area','$counter'".');" ');
                     }
                     $r->print('/></td>'.
                               '<td>  '.$$areaname{$area}.'   - '.
@@ -459,8 +459,8 @@
             if ($count{users} == 0) {
                 $r->print('<input type="hidden" name="users" value="" />'."\n");
             }
-            $r->print('<input type="button" name="nextpage" value="'.$lt{'impa'}.'" onClick="javascript:nextPage('."'$counter.'".')" />   
-           <input type="button" name="exitpage" value="'.$lt{'exit'}.'" onClick="javascript:location.href='."'$fullpath'".'" /></form>');
+            $r->print('<input type="button" name="nextpage" value="'.$lt{'impa'}.'" onclick="javascript:nextPage('."'$counter.'".')" />   
+           <input type="button" name="exitpage" value="'.$lt{'exit'}.'" onclick="javascript:location.href='."'$fullpath'".'" /></form>');
         } else {
             $r->print($lt{'unpa'});
         }
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.513 loncom/homework/structuretags.pm:1.514
--- loncom/homework/structuretags.pm:1.513	Tue Jun  4 22:20:24 2013
+++ loncom/homework/structuretags.pm	Mon Jul 15 14:32:55 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.513 2013/06/04 22:20:24 raeburn Exp $
+# $Id: structuretags.pm,v 1.514 2013/07/15 14:32:55 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -975,7 +975,7 @@
 <p class="LC_warning">$lt{'warning'}</p>
 <form name="checkout" method="post" action="$uri">
 <input type="hidden" name="doescheckout" value="yes" />
-<input type="button" name="checkoutbutton" value="$lt{'checkout'}" onClick="javascript:if (confirm('$lt{'checkout?'}')) { document.checkout.submit(); }" />
+<input type="button" name="checkoutbutton" value="$lt{'checkout'}" onclick="javascript:if (confirm('$lt{'checkout?'}')) { document.checkout.submit(); }" />
 </form>
 ENDCHECKOUT
 }
@@ -1009,7 +1009,7 @@
     $result .= (<<ENDCHECKOUT);
 <form name="markaccess" method="post" action="$uri">
 <input type="hidden" name="markaccess" value="yes" />
-<input type="button" name="accessbutton" value="$buttontext" onClick="javascript:if (confirm('$timertext')) { document.markaccess.submit(); }" />
+<input type="button" name="accessbutton" value="$buttontext" onclick="javascript:if (confirm('$timertext')) { document.markaccess.submit(); }" />
 </form>
 ENDCHECKOUT
     return $result;
Index: loncom/publisher/testbankimport.pm
diff -u loncom/publisher/testbankimport.pm:1.41 loncom/publisher/testbankimport.pm:1.42
--- loncom/publisher/testbankimport.pm:1.41	Tue Jul  2 19:04:49 2013
+++ loncom/publisher/testbankimport.pm	Mon Jul 15 14:32:59 2013
@@ -1,5 +1,5 @@
 # Handler for parsing text upload problem descriptions into .problems
-# $Id: testbankimport.pm,v 1.41 2013/07/02 19:04:49 raeburn Exp $
+# $Id: testbankimport.pm,v 1.42 2013/07/15 14:32:59 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -89,7 +89,7 @@
     newWindow.document.write("<input type='hidden' name='callingmode' value='testbank' />")
     newWindow.document.write("<input type='hidden' name='inhibitmenu' value='yes' />")
     newWindow.document.write("$webpath<input type='text' name='newfilename' value='' />")
-    newWindow.document.write("<input type='button' value='$lt{'go'}' onClick='document.fileaction.submit();' /></form>")
+    newWindow.document.write("<input type='button' value='$lt{'go'}' onclick='document.fileaction.submit();' /></form>")
     newWindow.document.write('$end_page')
     newWindow.document.close()
     newWindow.focus()
@@ -510,7 +510,7 @@
         </ol><form name="info" method="post" action="/adm/testbank">'.
         &Apache::lonhtmlcommon::topic_bar(1,&mt('Optional: create a sub-directory in which the testbank questions will be saved')).
         &mt('By default, LON-CAPA problems generated from the testbank file will be stored in the current directory.').' '.&mt('To store them in a new sub-directory:'). 
-       ' <input type="button" name="createdir" value="'.&mt('Create sub-directory').'" onClick="javascript:createWin()" />'.
+       ' <input type="button" name="createdir" value="'.&mt('Create sub-directory').'" onclick="javascript:createWin()" />'.
        &page_footer($env{'form.newdir'},$fn,$page,$webpath).'
        </form>');
 }
@@ -627,7 +627,7 @@
                  '<td valign="top"> <input type="text" name="start_'.$i.'" value="'.$bl1st.'" size="5" /> </td>'."\n".
                  '<td valign="top"> <input type="text" name="end_'.$i.'" value="'.$bl1end.'" size="5" /> </td>'."\n".
                  '<td valign="top">
-   <select name="qtype_'.$i.'" onChange="colSet('.$i.')">
+   <select name="qtype_'.$i.'" onchange="colSet('.$i.')">
     <option value="-1" selected="selected">'.&mt('Select').'</option>'."\n");
         foreach my $qtype (@types) {
             $r->print('<option value="'.$qtype.'">'.$typenames{$qtype}.'</option>'."\n");
Index: loncom/interface/statistics/lonstathelpers.pm
diff -u loncom/interface/statistics/lonstathelpers.pm:1.70 loncom/interface/statistics/lonstathelpers.pm:1.71
--- loncom/interface/statistics/lonstathelpers.pm:1.70	Thu Jun 21 13:46:10 2012
+++ loncom/interface/statistics/lonstathelpers.pm	Mon Jul 15 14:33:02 2013
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstathelpers.pm,v 1.70 2012/06/21 13:46:10 goltermann Exp $
+# $Id: lonstathelpers.pm,v 1.71 2013/07/15 14:33:02 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -143,7 +143,7 @@
     my $Str;
     my $jsadd='';
     if ($onclick) {
-        $jsadd="onClick='$onclick'";
+        $jsadd="onclick='$onclick'";
     }
     $Str =  &Apache::loncommon::start_scrollbox(($smallbox?'420px':'620px'),
                                                 ($smallbox?'400px':'600px'),
Index: loncom/interface/spreadsheet/lonspreadsheet.pm
diff -u loncom/interface/spreadsheet/lonspreadsheet.pm:1.63 loncom/interface/spreadsheet/lonspreadsheet.pm:1.64
--- loncom/interface/spreadsheet/lonspreadsheet.pm:1.63	Tue Jan  8 16:21:12 2013
+++ loncom/interface/spreadsheet/lonspreadsheet.pm	Mon Jul 15 14:33:06 2013
@@ -1,5 +1,5 @@
 #
-# $Id: lonspreadsheet.pm,v 1.63 2013/01/08 16:21:12 bisitz Exp $
+# $Id: lonspreadsheet.pm,v 1.64 2013/07/15 14:33:06 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -384,7 +384,7 @@
 	edit_text += cellformula+'</textarea>';
         edit_text += '<div id="LC_aftertextarea"><br />';
         edit_text += '<input type="button" name="accept" value="$lt{'ac'}"';
-        edit_text += ' onClick=\\\'javascript:';
+        edit_text += ' onclick=\\\'javascript:';
         edit_text += 'opener.document.sheet.cell.value=';
         edit_text +=     '"'+cellname+'";';
         edit_text += 'opener.document.sheet.newformula.value=';
@@ -394,7 +394,7 @@
         edit_text += '      ';
         edit_text += '<input type="button" name="abort" ';
         edit_text +=     'value="$lt{'dc'}"';
-        edit_text += ' onClick="javascript:self.close()" />';
+        edit_text += ' onclick="javascript:self.close()" />';
         edit_text += '</center></div></form>$cell_edit_end';
 
         if (editwin != null && !(editwin.closed) ) {


More information about the LON-CAPA-cvs mailing list