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

bisitz bisitz@source.lon-capa.org
Thu, 02 Jul 2009 15:55:08 -0000


bisitz		Thu Jul  2 15:55:08 2009 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  XHTML: Added XML name space to HTML start tag used for standard LON-CAPA pages
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.848 loncom/interface/loncommon.pm:1.849
--- loncom/interface/loncommon.pm:1.848	Wed Jul  1 13:24:29 2009
+++ loncom/interface/loncommon.pm	Thu Jul  2 15:55:08 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.848 2009/07/01 13:24:29 tempelho Exp $
+# $Id: loncommon.pm,v 1.849 2009/07/02 15:55:08 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -6386,7 +6386,8 @@
             .'<html xmlns:math="http://www.w3.org/1998/Math/MathML" ' 
 	    .'xmlns="http://www.w3.org/1999/xhtml">';
     } else {
-	$output='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html>';
+	$output='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'
+           .'<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">';
     }
     return $output;
 }