[LON-CAPA-cvs] cvs: loncom /interface lonsource.pm

raeburn raeburn@source.lon-capa.org
Thu, 13 Aug 2009 11:00:39 -0000


raeburn		Thu Aug 13 11:00:39 2009 EDT

  Modified files:              
    /loncom/interface	lonsource.pm 
  Log:
  - xhtml.
  
  
Index: loncom/interface/lonsource.pm
diff -u loncom/interface/lonsource.pm:1.23 loncom/interface/lonsource.pm:1.24
--- loncom/interface/lonsource.pm:1.23	Tue Jun  9 13:50:03 2009
+++ loncom/interface/lonsource.pm	Thu Aug 13 11:00:38 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Source Code handler
 #
-# $Id: lonsource.pm,v 1.23 2009/06/09 13:50:03 bisitz Exp $
+# $Id: lonsource.pm,v 1.24 2009/08/13 11:00:38 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -135,7 +135,7 @@
                  .&mt('Please use the code view in previous window to use shared code.')
                  .'<br /><br />');
         $r->print('<input type="button" value="Close Window" name="close"'
-                 .' onClick="window.close()" />'
+                 .' onclick="window.close()" />'
                  .'</p>');
     } else {
         if(-e $path_to_new_file) {
@@ -182,7 +182,7 @@
         print $fs $file_output;
     }
     $r->print("<br /><br />");
-    $r->print('<input type="button" value="Close Window" name="close" onClick="window.close()" />');
+    $r->print('<input type="button" value="Close Window" name="close" onclick="window.close()" />');
     #Some 1.3'ish feature is to include the derivative feature, will go here..'
 }
 
@@ -258,7 +258,7 @@
         &delete_copy_file($r, $env{'form.author'}, $env{'form.newpath'}, $env{'form.filename'}, $env{'form.path'}, '0');
     } else {
 	$r->print('<form name="copy" action="/adm/source" target="_parent" method="post">
-                  <input type="button" value="'.&mt('Close Window').'" name="close" onClick="window.close()" />
+                  <input type="button" value="'.&mt('Close Window').'" name="close" onclick="window.close()" />
                   <input type="hidden" name="filename" value="'.$filename.'" />
                   <input type="hidden" name="listname" value="'.$listname.'" />
                   <input type="hidden" name="action" value="stage2" />